/* ============================================================================
 * auth-layout.css — AUTH-48A: externalized auth-layout styles (strict-CSP compatible).
 * ----------------------------------------------------------------------------
 * Moved verbatim from the inline <style> previously in Views/layouts/auth.php so
 * the /login page can run under a strict enforced CSP (no 'unsafe-inline').
 * Also provides the .is-hidden utility that replaces the login page's
 * style="display:none" attributes. Visual result is identical. Used only by the
 * auth layout, which is used only by /login. No behaviour change.
 * ==========================================================================*/

/* Utility replacing inline style="display:none" on #error-message and #totp-group */
.is-hidden { display: none; }

/* Language selector (top-right) — verbatim from auth.php inline <style> */
.auth-lang-selector {
    position: fixed;
    top: 16px;
    right: 24px;
    z-index: 100;
    display: flex;
    gap: 8px;
}
.auth-lang-link {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
}
.auth-lang-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.15);
}
.auth-lang-link.active {
    color: #fff;
    background: rgba(255,255,255,0.25);
    font-weight: 700;
}
