/* =========================================================
   lang-switch.css
   Compact segmented EN / Sinhala switch, replacing the
   plain "සිංහල / EN" text link. Purely presentational —
   labels are the same words already used on the site.
   ========================================================= */

.lang-switch {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 3px;
    gap: 2px;
}

.lang-switch .lang-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: .2px;
    padding: 7px 14px;
    border-radius: 999px;
    transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .2s ease;
    white-space: nowrap;
}

.lang-switch .lang-option:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.lang-switch .lang-option.is-active {
    color: #071a2d;
    background: var(--blue-color, #00b4ff);
    box-shadow: 0 2px 10px rgba(0, 180, 255, 0.45);
    cursor: default;
}

.lang-switch .lang-option.is-active:hover {
    background: var(--blue-color, #00b4ff);
    transform: none;
}

/* Slightly tighter on small screens */
@media (max-width: 480px) {
    .lang-switch .lang-option {
        padding: 6px 10px;
        font-size: 0.78rem;
    }
}
