html {
    font-size: 14px;
}

html, body {
    overflow-y: auto !important;
}

@media (min-width: 768px) {
    html {
        font-size: 12px;
    }
}



html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    overflow-x: hidden;
}


.navbar-light .navbar-nav .nav-link {
    color: white !important;
}

/* sidebar container */

.content {
    /*align-content:center;
    text-align:center;*/
   
    margin-top: 0;
}





.border-vkb {
    border-color: #aac02c !important;
    border-radius: 1px !important;
}

.bg-vkb {
    background-color: #aac02c !important;
    color: #FFF !important;
}

.text-vkb {
    color: #aac02c !important;
}

.text-gwk {
    color: #21a0d8 !important;
}


.border-gwk {
    border-color: #21a0d8 !important;
    border-radius: 1px !important;
}

.bg-gwk {
    background-color: #21a0d8 !important;
    color: #FFF !important;
}

.border-gwk-green {
    border-color: #0c8960 !important;
    border-radius: 1px !important;
}

.bg-gwk-green {
    background-color: #0c8960 !important;
    color: #FFF !important;
}

.bg-gwk-grey {
    background-color: #646263 !important;
    color: #FFF !important;
}

.border-gwk-grey {
    border-color: #646263 !important;
    border-radius: 1px !important;
}

.form-control:disabled, .form-control[readonly] {
    background-color:white; 
}


/* Brand button: white -> green on hover */
.btn-vkb {
    background-color: #fff;
    color: #000;
    border: 1px solid #b6c939;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

    .btn-vkb:hover,
    .btn-vkb:focus {
        background-color: #b6c939; /* green on hover */
        color: white; /* keep text readable */
        border-color: #474600; /* subtle darker border */
    }

    .btn-vkb:active,
    .btn-vkb.active,
    .show > .btn-vkb.dropdown-toggle {
        background-color: #a8b93d; /* pressed state */
        border-color: #3a3a00;
        color: #000;
    }

    .btn-vkb:focus-visible {
        outline: 0;
        box-shadow: 0 0 0 .25rem rgba(182, 201, 57, .35); /* accessible focus ring */
    }

    .btn-vkb:disabled,
    .btn-vkb.disabled {
        opacity: .65;
        pointer-events: none;
    }

/* logo link */
#sidebar > a {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 0px;
    padding-left: 6px;
    padding-right: 6px;
    box-sizing: border-box;
}

    #sidebar > a img {
        width: 80px;
        height: auto;
        display: inline-block;
    }

/* toggler row (the ?) */
.sidebar-toggler {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px 0;
    color: var(--vkb-green)!important;
    cursor: pointer;
    user-select: none;
}

/* menu row */
#sidebar .menu-link {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
   
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: background var(--transition-speed) ease, color var(--transition-speed) ease;
    color: var(--icon-green);
    justify-content: flex-start;
    position: relative;
    overflow: visible;
}

/* when collapsed: center icon only */
#sidebar:not(.expanded) .menu-link {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
    gap: 0;
}

/* icon */
#sidebar .menu-link i {
    font-size: 20px;
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--icon-green);
    transition: transform .12s ease, color .12s ease, background .12s ease;
    opacity: 0.95;
    flex: 0 0 auto;
}

/* label hidden when collapsed */
#sidebar .menu-link span {
    display: none;
    white-space: nowrap;
    color: #b6c939;
    font-size: 0.95rem;
    opacity: 0;
    transition: opacity var(--transition-speed) ease, transform var(--transition-speed) ease;
}

/* show label when expanded */
#sidebar.expanded .menu-link span {
    display: inline-block;
    opacity: 1;
}

/* active pill */
#sidebar .menu-link.active i,
#sidebar a.menu-link.active i {
    background: var(--active-bg);
    color: var(--active-icon);
    width: 56px;
    height: 42px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(178,196,23,0.14);
    padding: 6px;
    font-size: 20px;
}
/* hover micro interaction */
#sidebar .menu-link:hover i, #sidebar .menu-link:focus i {
    transform: scale(1.05);
}

/* reduced vertical gaps so items fit without scrolling */
#sidebar .menu-link + .menu-link {
   /* margin-top: 6px;*/
}

/* tooltip used only when collapsed */
#sidebar .menu-link .tooltip-span {
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(-6px);
    background: #fff;
    color: #000;
    padding: 8px 10px;
    border-radius: 6px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.18);
    font-size: 0.95rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .14s ease, transform .14s ease, visibility .14s;
    border: 1px solid rgba(0,0,0,0.06);
    z-index: 2000;

}

#sidebar:not(.expanded) .menu-link:hover .tooltip-span,
#sidebar:not(.expanded) .menu-link:focus-within .tooltip-span {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(-50%) translateX(0);
}
/* hide tooltip while expanded */
#sidebar.expanded .menu-link .tooltip-span {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* ---------- Lid drawer (off-canvas) ---------- */
#toggleSidebarlid {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 420px;
    max-width: 92%;
    background: #fff;
    border-right: 1px solid var(--vkb-green);
    box-shadow: 0 8px 32px rgba(0,0,0,.18);
    z-index: 1200;
    /* hidden by default */
    transform: translateX(-120%);
    visibility: hidden;
    transition: transform .28s cubic-bezier(.2,.9,.2,1), visibility .28s;
   /* overflow: auto;*/
    -webkit-overflow-scrolling: touch;
}

    #toggleSidebarlid.expanded {
        transform: translateX(0);
        visibility: visible;
    }

    #toggleSidebarlid .drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: .75rem 1rem;
        border-bottom: 1px solid var(--vkb-green);
        background: var(--vkb-green);
        color: #000;
    }

    #toggleSidebarlid .drawer-body {
        padding: 1rem;
    }

/* spinner */
.inline-spinner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .inline-spinner .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--vkb-green);
        animation: blink 1s infinite alternate;
    }

        .inline-spinner .dot:nth-child(2) {
            animation-delay: .2s
        }

        .inline-spinner .dot:nth-child(3) {
            animation-delay: .4s
        }

@keyframes blink {
    from {
        opacity: .35;
        transform: translateY(0);
    }

    to {
        opacity: 1;
        transform: translateY(-4px);
    }
}

/* responsive tweaks */
@media (max-width: 420px) {
    : root {
        --sb-collapsed: 64px;
        --sb-expanded: 200px;
    }

    #toggleSidebarlid {
        width: 92%;
        left: 4%;
        transform: translateX(-120%);
    }

        #toggleSidebarlid.expanded {
            transform: translateX(0);
        }
}
#sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    /*  width: var(--sb-collapsed); */
    min-width: var(--sb-collapsed);
    background: var(--sb-bg);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 2px 2px;
    /* gap: 6px; */
    box-sizing: border-box;
    z-index: 1100;
    /* Important: do NOT show internal scrollbar on sidebar */
    /*overflow-y: hidden;  prevents sidebar scrollbars */
    /*overflow-x: visible;  allow tooltips to escape horizontally */
}

    #sidebar .logout-link {
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: 0;
        color: var(--icon-green);
        padding: 8px 10px;
        width: 100%;
    }

        #sidebar .logout-link i {
            color: inherit;
            font-size: 1.25rem;
        }

        #sidebar .logout-link:hover {
            background: rgba(178,196,23,.12);
        }
/* Keep label hidden when collapsed; show when expanded (matches other items) */
body:not(.sidebar-expanded) #sidebar .logout-link span {
    display: none;
}

.linkReport {
    color: #272425;
    text-decoration: none;
    font-weight: bold;
}
a {
    color: #428bca;
    text-decoration: none;
}

/* Optional: keep the icon aligned and inheriting color */
.linkReport .bi { margin-right: .25rem; line-height: 1; }

/* Optional: add a clear hover/focus affordance */
.linkReport:hover,
.linkReport:focus { text-decoration: underline; }


.lang-switch {
    display: flex;
    gap: 0;
    border-radius: 999px;
    background: #151515;
    padding: 4px;
    margin: 0 .25rem .75rem .25rem;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}

.lang-btn {
    flex: 1 1 0;
    border: 0;
    background: transparent;
    color: #cfd3cf;
    padding: .4rem .6rem;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: .04em;
    cursor: pointer;
    transition: transform .12s ease, background .12s ease, color .12s ease;
}

    .lang-btn:hover,
    .lang-btn:focus {
        outline: none;
        transform: translateY(-1px);
    }

    .lang-btn.active {
        background: var(--active-bg); /* #B2C417 */
        color: #000; /* readable on the green */
        box-shadow: 0 2px 6px rgba(0,0,0,.25);
    }

/* VKB green checkboxes in the Lid drawer */
#toggleSidebarlid .form-check-input {
    /* modern browsers */
    accent-color: var(--vkb-green);
    /* nice borders even when not checked */
    border: 2px solid var(--vkb-green);
    width: 1.05rem;
    height: 1.05rem;
}

    #toggleSidebarlid .form-check-input:checked,
    #toggleSidebarlid .form-check-input:indeterminate {
        background-color: var(--vkb-green);
        border-color: var(--vkb-green);
    }

    #toggleSidebarlid .form-check-input:focus {
        outline: 0;
        box-shadow: 0 0 0 .2rem rgba(182,201,57,.25); /* glow in VKB green */
        border-color: var(--vkb-green);
    }

    #toggleSidebarlid .form-check-input:disabled {
        border-color: rgba(182,201,57,.5);
        background-color: rgba(182,201,57,.2);
    }


#sidebar .menu-bottom {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: .5rem; /* keeps spacing consistent with other menu items */
}

/* Cancel the old rule so logout doesn't float away from Change Password */
#sidebar #logoutForm {
    margin-top: 0 !important;
}



.linkLike {
    all: unset; /* reset native button look */
    color: #0c8960;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
}

    .linkLike:hover {
        text-decoration: underline;
        color: #0c8960;
    }

    .linkLike:focus-visible {
        outline: 2px solid #0c8960;
        outline-offset: 2px;
    }

    .linkLike:disabled {
        color: #999;
        cursor: not-allowed;
        text-decoration: none;
    }

.headingLabel{
    color:red
}

#promoCarousel .promo-nav {
    width: 4rem; /* bigger click area */
    opacity: 1; /* don't fade */
}

#promoCarousel .promo-nav-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.25);
}

    #promoCarousel .promo-nav-pill i {
        font-size: 1.6rem;
        line-height: 1;
    }

#promoCarousel .promo-nav:hover .promo-nav-pill,
#promoCarousel .promo-nav:focus .promo-nav-pill {
    background: rgba(0, 0, 0, 0.85);
}

.menu-badge {
    font-size: 16px;
    white-space: nowrap;
}