/* Auth — login/register page */

/* ----- Auth page ------------------------------------------------------ */
/* Standalone view — no navbar, no chrome. Card centered on a soft surface. */
body.auth-only { background: var(--bg-surface); }

.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
    gap: 22px;
}

.auth-brand {
    color: var(--text);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.3px;
    text-decoration: none;
    user-select: none;
}
.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 32px 28px;
    width: 100%;
    max-width: 380px;
}
.auth-title { font-size: 22px; font-weight: 700; }
.auth-sub { margin-top: 6px; color: var(--text-dim); font-size: 13px; }
.auth-error {
    margin-top: 16px;
    padding: 10px 12px;
    background: var(--error-bg);
    color: var(--error);
    border: 1px solid var(--error);
    border-radius: var(--radius);
    font-size: 13px;
}
.auth-form { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.auth-field { display: flex; flex-direction: column; gap: 4px; }
.auth-field span {
    font-size: 12px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.auth-field input {
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-surface);
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
}
.auth-field input:focus { outline: none; border-color: var(--primary); background: var(--bg); }
.auth-submit { margin-top: 4px; }
.auth-switch {
    margin-top: 16px;
    text-align: center;
    color: var(--text-dim);
    font-size: 13px;
}
.auth-switch a { color: var(--primary); text-decoration: none; font-weight: 600; }
.auth-switch a:hover { text-decoration: underline; }

