html, body {
    height: 100%;
    font-size: 14px;
    margin: 0;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    background-color: rgb(244,247,250);
}

.nav-item:not(:last-child) .nav-link::after {
    content: "\00B7"; /* HTML entity for bullet point */
    margin-left: 14px; /* Adjust space between link and dot */
}

.divider {
    border: 0;
    border-top: 2px solid #ccc; /* You can adjust the color and thickness */
    margin-top: 20px;
    margin-bottom: 20px;
}

.form-label {
    margin-bottom: unset;
    font-size: 13px;
    color: gray;
    margin-top: 10px;
}

.required:after {
    content: " *";
    color: red;
}

#loader {
    width: 100%;
    height: 100%;
    z-index: 1060;
    top: 0px;
    left: 0px;
    position: fixed;
    background-color: lightslategray;
    opacity: 0.7;
    background-image: url('../Images/NRG_Loader.gif');
    background-repeat: no-repeat;
    background-size: 120px;
    background-position-x: center;
    background-position-y: center;
}

/* Dropdowns for table selectors */
.dropdown-container {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    border: 1px solid lightgray;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    z-index: 1;
    font-weight: normal;
}

.dropdown-container:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: black;
    padding: 8px 12px;
    text-decoration: none;
    display: block;
}

    .dropdown-content a:hover {
        background-color: #ddd;
    }

/* Table row animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* Tooltip animation */
.tooltip-btn {
    position: relative;
    cursor: pointer;
}

    .tooltip-btn::after {
        content: attr(data-tooltip);
        position: absolute;
        top: -30px;
        left: 50%;
        transform: translateX(-50%);
        background-color: #000;
        color: #fff;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 0.75rem;
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
        z-index: 10;
    }

    .tooltip-btn:hover::after {
        opacity: 1;
    }

/* Table row hover effect */
#tableContents.table-hover tbody tr:hover {
    background-color: #d9eaff !important; /* azul muy claro, casi blanco */
}

/* Table badges */
.table-badge {
    background-color: whitesmoke;
    padding: 4px;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

    .table-badge:hover {
        background-color: dimgray; /* o cualquier otro gris claro */
        color:white;
    }