/* ==========================================================================
   AUTHENTICATION PAGES STYLESHEET
   NEXUS by Wash Associates

   Visual language follows the NEXUS Auth Flows design (May 2026):
   - Mobile: glassmorphic card centered on radial-gradient + grid background
   - Desktop / tablet (>= 900px wide): split-screen with brand panel left,
     form panel right
   - Brand lockup: Industry display NEXUS @ 0.10em + uppercase
     "BY WASH ASSOCIATES" subline @ 0.18em
   ========================================================================== */


/* ==========================================================================
   1. AUTH PAGE LAYOUT (mobile default — centered card)
   ========================================================================== */

.auth-page {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    overflow: hidden;
    position: relative;
}


/* ==========================================================================
   2. ANIMATED BACKGROUND
   ========================================================================== */

.auth-background {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

#data-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

.auth-gradient-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 18% 12%, rgba(239, 68, 68, 0.10) 0%, transparent 55%),
        radial-gradient(ellipse at 88% 92%, rgba(59, 130, 246, 0.07) 0%, transparent 55%),
        radial-gradient(ellipse at 50% 100%, rgba(6, 182, 212, 0.04) 0%, transparent 45%);
}

.auth-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.55;
}


/* ==========================================================================
   3. AUTH CONTAINER
   ========================================================================== */

.auth-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-lg);
    width: 100%;
    max-width: 480px;
}


/* ==========================================================================
   4. LOGIN CARD — GLASSMORPHISM
   ========================================================================== */

.login-card {
    width: 100%;
    background: rgba(18, 21, 28, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: var(--space-2xl);
    box-shadow:
        var(--shadow-lg),
        0 0 60px rgba(239, 68, 68, 0.08),
        0 0 100px rgba(59, 130, 246, 0.04);
    animation: loginCardFadeIn 0.6s var(--easing-standard) forwards;
    opacity: 0;
}

@keyframes loginCardFadeIn {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.login-card__header { text-align: center; margin-bottom: var(--space-xl); }
.login-card__body   { margin-bottom: var(--space-lg); }


/* ==========================================================================
   5. LOGIN BRAND — animated lockup
   ========================================================================== */

.login-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: var(--space-lg);
}

.login-brand__drop {
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(239, 68, 68, 0.35));
    animation: dropFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.login-brand__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.login-brand__name {
    font-family: var(--font-display);
    font-size: 3.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.10em;
    line-height: 1;
    opacity: 0;
    animation: textSlideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.login-brand__tagline {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-top: 6px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0;
    animation: textSlideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

@keyframes dropFadeIn {
    from { opacity: 0; transform: scale(0.9) translateY(5px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes textSlideIn {
    from { opacity: 0; transform: translateX(-10px); }
    to   { opacity: 1; transform: translateX(0); }
}


/* ==========================================================================
   6. LOGIN CONTENT
   ========================================================================== */

.login-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: var(--space-xs);
    letter-spacing: 0.5px;
}

.login-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: var(--space-xl);
    line-height: 1.4;
}

/* Inline error / success notices */
.login-error,
.login-success {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: 11px 14px;
    border-radius: 8px;
    margin-bottom: var(--space-md);
    font-size: 0.8125rem;
    line-height: 1.45;
}

.login-error {
    background: rgba(239, 68, 68, 0.10);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fecaca;
}

.login-error strong { color: #fee2e2; font-weight: 700; }

.login-error__icon,
.login-success svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}

.login-error__icon { color: #f87171; }

.login-success {
    background: rgba(34, 197, 94, 0.10);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #bbf7d0;
}

.login-success strong { color: #dcfce7; font-weight: 700; }


/* ==========================================================================
   7. MICROSOFT SSO BUTTON
   ========================================================================== */

.microsoft-sso-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-default);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
}

.microsoft-sso-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(239, 68, 68, 0.10) 0%,
        transparent 50%,
        rgba(59, 130, 246, 0.05) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.microsoft-sso-btn:hover {
    border-color: var(--accent-primary);
    box-shadow:
        0 0 20px rgba(239, 68, 68, 0.20),
        0 4px 12px rgba(0, 0, 0, 0.30);
    transform: translateY(-2px);
}

.microsoft-sso-btn:hover::before { opacity: 1; }

.microsoft-sso-btn:active {
    transform: translateY(0);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.15);
}

.microsoft-sso-btn__icon { width: 16px; height: 16px; flex-shrink: 0; }
.microsoft-sso-btn__text { position: relative; }

.microsoft-sso-btn__spinner {
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-default);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}

.microsoft-sso-btn.loading { pointer-events: none; opacity: 0.8; }
.microsoft-sso-btn.loading .microsoft-sso-btn__icon,
.microsoft-sso-btn.loading .microsoft-sso-btn__text { opacity: 0; }
.microsoft-sso-btn.loading .microsoft-sso-btn__spinner { display: block; }

@keyframes spin { to { transform: rotate(360deg); } }


/* ==========================================================================
   8. DIVIDER
   ========================================================================== */

.login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 16px;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.10), transparent);
}

.login-divider span {
    font-size: 0.625rem;
    color: var(--text-muted);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
}


/* ==========================================================================
   9. FORM FIELDS — match design "Field" component
   ========================================================================== */

.login-local-form { margin-top: var(--space-md); }

.auth-form-group {
    margin-bottom: 14px;
}

.auth-form-group label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    margin-bottom: 7px;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Wrapper that draws the bordered "field" chrome around an icon + input */
.auth-field {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-default);
    border-radius: 8px;
    padding: 0 14px;
    gap: 10px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-field:focus-within {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.auth-field--error    { border-color: rgba(239, 68, 68, 0.55); }
.auth-field--success  { border-color: rgba(34, 197, 94, 0.45); }

.auth-field__icon {
    display: flex;
    color: var(--text-muted);
    flex-shrink: 0;
}

.auth-field__icon svg { width: 14px; height: 14px; display: block; }

.auth-field__trailing {
    color: var(--text-secondary);
    font-size: 0.75rem;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    user-select: none;
}

.auth-field__trailing:hover { color: var(--text-primary); }

/* The actual <input> sits inside .auth-field with no border of its own */
.auth-input {
    flex: 1;
    min-width: 0;
    width: 100%;
    padding: 11px 0;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.875rem;
    outline: none;
}

.auth-input::placeholder { color: var(--text-muted); }
.auth-input[readonly]    { opacity: 0.7; cursor: not-allowed; }

/* Legacy non-wrapped inputs (some pages still use bare .auth-input) */
input.auth-input:not(.auth-field .auth-input) {
    padding: 12px 16px;
    border: 1px solid var(--border-default);
    border-radius: 8px;
    background: var(--bg-tertiary);
    transition: border-color 0.2s;
    box-sizing: border-box;
}

input.auth-input:not(.auth-field .auth-input):focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}


/* ==========================================================================
   10. PRIMARY SUBMIT BUTTON
   ========================================================================== */

.auth-submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--accent-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: var(--space-sm);
    box-shadow:
        0 6px 18px rgba(239, 68, 68, 0.35),
        0 0 0 1px rgba(239, 68, 68, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-submit-btn:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

.auth-submit-btn:disabled,
.auth-submit-btn[disabled] {
    background: #3a1a1a;
    box-shadow: none;
    cursor: default;
    transform: none;
}

/* Ghost / secondary variant — outlined */
.auth-ghost-btn {
    width: 100%;
    padding: 13px;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-default);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.auth-ghost-btn:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-1px);
}


/* ==========================================================================
   11. AUX LINKS (forgot, create account)
   ========================================================================== */

.auth-links {
    text-align: center;
    margin-top: 18px;
    font-size: 0.75rem;
    line-height: 1.6;
}

.auth-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-links a:hover     { color: var(--accent-primary); }
.auth-links a.is-active { color: var(--accent-primary); font-weight: 600; }

.auth-links__sep {
    color: var(--text-muted);
    margin: 0 var(--space-sm);
}


/* ==========================================================================
   12. STATUS PANEL (lock countdown, last connected, retry timer, etc.)
   ========================================================================== */

.auth-status-panel {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 14px;
    text-align: center;
}

.auth-status-panel__label {
    font-size: 0.625rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    margin-bottom: 6px;
}

.auth-status-panel__value {
    font-family: var(--font-display);
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.1em;
    font-variant-numeric: tabular-nums;
}

/* Big circular icon halo (used on success / lock / etc. screens) */
.auth-icon-halo {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-icon-halo--danger {
    background: radial-gradient(circle, rgba(239, 68, 68, 0.25), rgba(239, 68, 68, 0.05));
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #f87171;
}

.auth-icon-halo--success {
    background: radial-gradient(circle, rgba(34, 197, 94, 0.25), rgba(34, 197, 94, 0.05));
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: #4ade80;
}

.auth-icon-halo--info {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.22), rgba(59, 130, 246, 0.04));
    border: 1px solid rgba(59, 130, 246, 0.45);
    color: #60a5fa;
}

.auth-icon-halo--warn {
    background: radial-gradient(circle, rgba(245, 158, 11, 0.22), rgba(245, 158, 11, 0.04));
    border: 1px solid rgba(245, 158, 11, 0.5);
    color: #fbbf24;
}

.auth-icon-halo svg { width: 28px; height: 28px; display: block; }


/* ==========================================================================
   13. FOOTER
   ========================================================================== */

.login-footer-info {
    margin-top: var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.4px;
    opacity: 0;
    animation: fadeInUp 0.4s var(--easing-standard) 0.3s forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.login-footer-separator { opacity: 0.5; }

/* Deliberately as quiet as the version button beside it — useful to a
   partner's engineer, invisible to everyone signing in. */
.login-footer-link {
    color: inherit;
    text-decoration: none;
    letter-spacing: inherit;
    transition: color 0.2s var(--easing-standard);
}
.login-footer-link:hover { color: var(--text-secondary); }

.login-card__footer {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}

.login-security-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.6875rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.login-security-badge__icon { width: 12px; height: 12px; flex-shrink: 0; }


/* ==========================================================================
   14. PAGE EXIT ANIMATION
   ========================================================================== */

@keyframes pageExit {
    from { opacity: 1; transform: scale(1); }
    to   { opacity: 0; transform: scale(0.96); }
}

.page-exiting {
    animation: pageExit 150ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
    pointer-events: none;
}

.auth-page.page-exiting .auth-background {
    animation: pageExit 150ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}


/* ==========================================================================
   15. SSO DOMAIN NOTICE (info-blue panel that appears under email)
   ========================================================================== */

.login-sso-notice {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: 11px 14px;
    margin-bottom: 14px;
    background: rgba(59, 130, 246, 0.10);
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 8px;
    color: #bfdbfe;
    font-size: 0.75rem;
    line-height: 1.45;
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    transition: opacity 240ms var(--easing-standard),
                transform 240ms var(--easing-standard);
    overflow: hidden;
}

.login-sso-notice[hidden] { display: none; }

.login-sso-notice.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: ssoNoticeGlow 2400ms ease-in-out infinite;
}

.login-sso-notice__icon {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    margin-top: 2px;
    color: #60a5fa;
    animation: ssoIconSpin 600ms var(--easing-standard);
}

.login-sso-notice__icon svg { width: 100%; height: 100%; display: block; }
.login-sso-notice__body  { flex: 1; min-width: 0; }
.login-sso-notice__title { display: block; color: #dbeafe; font-weight: 700; margin-bottom: 2px; }

.login-sso-notice__message em {
    font-style: normal;
    font-weight: 600;
    color: #fff;
}

/* Form locked state */
.login-local-form.sso-locked .auth-form-group:has(#password),
.login-local-form.sso-locked .auth-submit-btn {
    opacity: 0.4;
    pointer-events: none;
    transition: opacity 240ms var(--easing-standard);
}

.microsoft-sso-btn.sso-highlight {
    box-shadow:
        0 0 0 2px rgba(59, 130, 246, 0.5),
        0 0 24px rgba(59, 130, 246, 0.35);
    animation: ssoBtnGlow 2000ms ease-in-out infinite;
}

.microsoft-sso-btn.pulse-once {
    animation: ssoBtnShake 420ms var(--easing-standard);
}

@keyframes ssoNoticeGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
    50%      { box-shadow: 0 0 14px rgba(59, 130, 246, 0.25); }
}

@keyframes ssoIconSpin {
    from { transform: rotate(-90deg) scale(0.6); opacity: 0; }
    to   { transform: rotate(0) scale(1); opacity: 1; }
}

@keyframes ssoBtnGlow {
    0%, 100% {
        box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5),
                    0 0 20px rgba(59, 130, 246, 0.30);
    }
    50% {
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.7),
                    0 0 32px rgba(59, 130, 246, 0.55);
    }
}

@keyframes ssoBtnShake {
    0%, 100% { transform: translateX(0); }
    20%      { transform: translateX(-6px); }
    40%      { transform: translateX(6px); }
    60%      { transform: translateX(-4px); }
    80%      { transform: translateX(4px); }
}


/* ==========================================================================
   16. DESKTOP / TABLET SPLIT-SCREEN LAYOUT
   ========================================================================== */

/* Brand panel on the left (only rendered above 900px) */
.auth-brand-panel { display: none; }

@media (min-width: 900px) {
    .auth-page {
        align-items: stretch;
        justify-content: stretch;
    }

    .auth-brand-panel {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0;
        flex: 1.1;
        position: relative;
        padding: 64px 72px;
        border-right: 1px solid var(--border-subtle);
        background: linear-gradient(135deg, rgba(239, 68, 68, 0.04), transparent 60%);
        z-index: 1;
        overflow: hidden;
    }

    .auth-container {
        flex: 1;
        max-width: none;
        align-items: center;
        justify-content: center;
        padding: 64px;
        z-index: 1;
    }

    .auth-container .login-card {
        max-width: 460px;
        background: rgba(18, 21, 28, 0.65);
    }

    /* Hide the centered logo lockup inside the card on desktop —
       the brand panel handles branding. Card-level lockup stays visible
       on mobile via .login-card__header. */
    .auth-page .login-card__header.login-card__header--mobile-only { display: none; }
}

@media (min-width: 1280px) {
    .auth-brand-panel { padding: 72px 96px; }
    .auth-container   { padding: 96px; }
}

.brand-panel__lockup {
    position: absolute;
    top: 64px;
    left: 72px;
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (min-width: 1280px) {
    .brand-panel__lockup { top: 72px; left: 96px; }
}

.brand-panel__lockup img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 14px rgba(239, 68, 68, 0.4));
}

.brand-panel__lockup-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-panel__lockup-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.10em;
    color: var(--text-primary);
}

.brand-panel__lockup-tag {
    font-size: 0.625rem;
    color: var(--text-secondary);
    margin-top: 4px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
}

.brand-panel__eyebrow {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--accent-primary);
    text-transform: uppercase;
    margin-bottom: 14px;
}

.brand-panel__headline {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.6px;
    line-height: 1.05;
    margin: 0;
    color: var(--text-primary);
}

.brand-panel__headline .accent { color: var(--accent-primary); }

.brand-panel__sub {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 460px;
    margin: 20px 0 0;
    line-height: 1.55;
}

.brand-panel__kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--border-subtle);
}

.brand-panel__kpi-value {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    font-variant-numeric: tabular-nums;
}

.brand-panel__kpi-label {
    font-size: 0.6875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-top: 4px;
}


/* ==========================================================================
   17. RESPONSIVE TWEAKS (small phones)
   ========================================================================== */

@media (max-width: 480px) {
    .auth-container { padding: var(--space-md); }
    .login-card     { padding: var(--space-lg); }
    .login-brand__drop  { height: 60px; }
    .login-brand__name  { font-size: 2.25rem; }
    .login-brand__tagline { font-size: 0.625rem; }
    .login-title    { font-size: 1.375rem; }
    .microsoft-sso-btn { padding: 12px; }
}


/* ==========================================================================
   18. REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .login-card,
    .login-footer-info,
    .login-brand__drop,
    .login-brand__name,
    .login-brand__tagline {
        animation: none;
        opacity: 1;
    }

    .microsoft-sso-btn__spinner,
    .page-exiting,
    .auth-page.page-exiting .auth-background,
    .login-sso-notice,
    .login-sso-notice__icon,
    .microsoft-sso-btn.sso-highlight,
    .microsoft-sso-btn.pulse-once {
        animation: none;
        transition: none;
    }
}
