/* ==========================================================================
   Auth-specific styles — thin layer over main.css
   ========================================================================== */

.auth-page {
    min-height: calc(100vh - 140px);
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f0fe 100%);
}

.auth-card {
    animation: authCardIn 0.3s ease;
}

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

/* Password strength meter (progressive enhancement) */
.password-strength {
    height: 4px;
    background: var(--color-border-light);
    border-radius: 2px;
    margin-top: var(--spacing-xs);
    overflow: hidden;
}
.password-strength__bar {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s ease, background 0.3s ease;
}
.password-strength__bar--weak   { width: 25%; background: var(--color-danger); }
.password-strength__bar--fair   { width: 50%; background: var(--color-warning); }
.password-strength__bar--good   { width: 75%; background: #2196f3; }
.password-strength__bar--strong { width: 100%;background: var(--color-success); }

/* ── Check Email Interstitial ─────────────────────────── */
.check-email-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
    padding: var(--spacing-xl) 0;
}

.check-email-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-2xl);
    width: 100%;
    max-width: 480px;
    box-shadow: var(--shadow-md);
    text-align: center;
    animation: authCardIn 0.3s ease;
}

.check-email__icon {
    color: var(--color-primary);
    margin-bottom: var(--spacing-lg);
    display: flex;
    justify-content: center;
}

.check-email__title {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-md);
}

.check-email__message {
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
    line-height: var(--line-height-relaxed);
}

.check-email__instruction {
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-xl);
}

.check-email__form {
    margin-bottom: var(--spacing-md);
}

.check-email__divider {
    border: none;
    border-top: 1px solid var(--color-border-light);
    margin: var(--spacing-lg) 0;
}

.check-email__tips {
    text-align: left;
    margin-bottom: var(--spacing-lg);
}

.check-email__footer {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--color-border-light);
}
