@charset "UTF-8";
/* Moved from inline <style> in _LanguagePartial.cshtml -> W3C-valid + CSP-clean. Behaviour preserved. */
    .language-toggle {
        display: inline-flex;
        align-items: center;
        /* GIGW 1.4.3 + theme-aware: white EN/म text on the old #007bff was only
           3.97:1. Use the theme's nav background (--nav-bg) — it is always dark
           enough for white text (the nav itself runs white-on-nav-bg) and changes
           with the selected theme, so the toggle matches the nav bar in every theme.
           Fallback #095a6f = the default (ocean) nav colour, ~7.8:1 with white. */
        background: var(--nav-bg, #095a6f);
        border-radius: 20px;
        padding: 2px;
        position: relative;
        font-size: 14px; /* increased for accessibility */
        height: 34px;
            margin-bottom: -3px;
    }

        /* GIGW: Hide radio inputs while keeping them focusable for scanners */
        .language-toggle input[type="radio"] {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        .language-toggle label {
            cursor: pointer;
            padding: 2px 8px; /* reduced padding */
            border-radius: 20px;
            font-weight: 500;
            color: #fff !important; /* white text for both */
             
            transition: all 0.3s ease;
            user-select: none;
            opacity: 1; /* unselected are lighter */
        }

.language-toggle input[type="radio"]:checked + label {
    background-color: #fff;
    /* Checked pill: theme nav colour on white — always dark enough to pass, and
       matches the toggle background above. */
    color: var(--nav-bg, #095a6f) !important;
}

/* GIGW 5.2.33 - focus indicator for the EN / MR toggle.
   The radios are hidden with clip: rect(0,0,0,0) so they stay focusable, which means the
   radio itself shows nothing when focused; the indicator has to go on something visible.

   History: first a white ring on the label - it vanished where the EN pill meets the
   near-white top bar (STQC round 1 re-raised 5.2.33). Then a ring inside the pill - visible,
   but it did not look like the other top-bar controls. Department, 23-Oct-2026: show it
   OUTSIDE the whole toggle, the same as Screen Reader / Theme / Sign In.

   So the ring is on .language-toggle itself, with exactly the values aaa-contrast.css uses
   for every other control (3px var(--nav-bg) ring, 2px offset, white band under it), and
   only for keyboard focus (:focus-visible) - a mouse click leaves no ring, like the others.
   The labels get no ring of their own. */
.language-toggle input[type="radio"]:focus + label,
.language-toggle input[type="radio"]:focus-visible + label {
    outline: none;
}

.language-toggle:has(input[type="radio"]:focus-visible) {
    outline: 3px solid var(--nav-bg, #095a6f) !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 5px #fff !important;
}


        .language-toggle .slider {
            display: none; /* not needed for this compact design */
        }
        .language-toggle input[type="radio"] + label {
    font-size: 14px !important;
    /* color: #fff !important;      
    opacity: 1 !important;         */
    font-weight: 600;  
}

    .language-toggle input[type="radio"] + label {
    font-size: 14px !important;
     /* color: #fff !important;      
    opacity: 1 !important;         */
    font-weight: 600;             
}

