/* ============================================================
   DataLimora — AuthWorker.css
   Owns: #auth section — login card, register form
   ============================================================ */

#auth {
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl) var(--space-md);
}

/* ─── Card ───────────────────────────────────────────────── */
.auth-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-xl) var(--space-xl);
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

/* ─── Header ─────────────────────────────────────────────── */
.auth-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.auth-sub {
    font-size: .875rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
}

/* ─── Google button ──────────────────────────────────────── */
.auth-google {
    width: 100%;
    justify-content: center;
    font-size: .9rem;
    padding: 0.6rem 1rem;
    border-color: var(--border-color);
    letter-spacing: 0.01em;
}

/* ─── Divider ────────────────────────────────────────────── */
.auth-divider {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    color: var(--text-secondary);
    font-size: .75rem;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

/* ─── Submit button ──────────────────────────────────────── */
.auth-submit {
    width: 100%;
    justify-content: center;
    padding: 0.65rem 1rem;
    font-size: .9375rem;
    margin-top: var(--space-xs);
}

/* ─── Switch link ────────────────────────────────────────── */
.auth-switch {
    font-size: .8125rem;
    color: var(--text-secondary);
    text-align: center;
}
.auth-switch a {
    color: var(--accent-color);
    font-weight: 600;
}
.auth-switch a:hover { text-decoration: underline; }