/* Language toggle (English / Spanish) - shared by every layout. Markup: see _LoginLayout / _Layout / _AdminLayoutPage. */
.lang-toggle {
    position: fixed;
    top: 14px;
    right: 16px;
    z-index: 1040; /* above the page, below Bootstrap modals (1055) */
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.95rem;
    border: 2px solid #002664;
    border-radius: 999px;
    background: #ffffff;
    color: #002664;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

    .lang-toggle:hover {
        background: #daa520;
        border-color: #daa520;
        color: #ffffff;
        box-shadow: 0 0 10px #daa520;
    }

    .lang-toggle:focus-visible {
        outline: 3px solid #daa520;
        outline-offset: 2px;
    }

    /* Inline variant: sits in the page's own header bar instead of floating. */
    .lang-toggle.lang-toggle-inline {
        position: static;
        margin-right: 1rem;
        box-shadow: none;
    }
