/* Auth shell — HealthyAssets brand: Mint → Sand → Spring wash. */

.auth-shell {
    min-height: 100vh;
    margin: 0;
    background: linear-gradient(135deg, hsl(152 46% 94%), hsl(40 40% 97%) 45%, hsl(155 68% 90%));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 16px;
}

.auth-card-wrap { width: 100%; max-width: 440px; }

.auth-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--card-border));
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px hsl(215 25% 20% / 0.10), 0 8px 10px -6px hsl(215 25% 20% / 0.06);
    padding: 32px 28px;
    overflow: hidden;
}

.auth-brand {
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
}
.auth-lockup { width: 180px; height: auto; display: block; }

.auth-title { font-size: 22px; font-weight: 600; color: hsl(var(--foreground)); margin-bottom: 6px; }
.auth-subtitle { font-size: 14px; color: hsl(var(--muted-foreground)); margin-bottom: 24px; }

.auth-form { display: flex; flex-direction: column; gap: 16px; }

.auth-checkbox {
    display: flex; align-items: center; gap: 8px;
    font-size: 14px; color: hsl(var(--foreground));
    user-select: none;
}
.auth-checkbox input { width: 16px; height: 16px; accent-color: hsl(var(--primary)); }

.auth-submit { width: 100%; padding: 10px 14px; font-size: 14px; justify-content: center; }

.auth-aside {
    margin-top: 16px;
    font-size: 13px;
    text-align: center;
    color: hsl(var(--muted-foreground));
}
.auth-aside a { color: hsl(var(--primary)); font-weight: 500; }

.auth-foot {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: hsl(var(--muted-foreground));
}

/* MFA code input */
.code-input {
    width: 100%;
    padding: 16px;
    font-family: 'JetBrains Mono', Menlo, monospace;
    font-size: 28px;
    letter-spacing: 0.5em;
    text-align: center;
    border: 1px solid hsl(var(--input));
    border-radius: 8px;
    background: hsl(var(--card));
    color: hsl(var(--foreground));
}
.code-input:focus { outline: 2px solid hsl(var(--ring) / 0.3); border-color: hsl(var(--ring)); }

.password-hint {
    font-size: 12px;
    color: hsl(var(--muted-foreground));
    margin-top: 4px;
}
.password-strength {
    margin-top: 6px;
    height: 4px;
    background: hsl(var(--muted));
    border-radius: 2px;
    overflow: hidden;
}
.password-strength__bar { height: 100%; transition: width 0.2s ease, background 0.2s ease; }
