.auth-page {
    display: grid;
    min-height: calc(100vh - 15rem);
    place-items: center;
    padding: clamp(2rem, 6vw, 5rem) 1rem;
    background: radial-gradient(circle at 50% 0, rgba(251, 191, 36, 0.12), transparent 42%);
}

.auth-card {
    width: min(100%, 34rem);
    padding: clamp(1.5rem, 5vw, 2.5rem);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-xl);
    background: var(--card-bg);
    box-shadow: var(--shadow-xl);
}

.auth-card-compact { width: min(100%, 30rem); }
.auth-header { margin-bottom: 1.75rem; }
.auth-header h1 { margin-bottom: 0.5rem; }
.auth-header p { margin-bottom: 0; }

.auth-kicker {
    color: var(--color-accent-600) !important;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.auth-form { display: grid; gap: 1.15rem; }
.auth-field { display: grid; gap: 0.4rem; }
.auth-field label { color: var(--text-primary); font-weight: 700; }
.auth-field small { color: var(--text-secondary); }

.auth-field input {
    width: 100%;
    min-height: 3rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--border-secondary);
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.auth-label-row,
.auth-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.auth-label-row a { font-size: 0.9rem; }
.password-field { position: relative; }
.password-field input { padding-right: 3rem; }

.password-toggle {
    position: absolute;
    top: 50%;
    right: 0.35rem;
    display: grid;
    width: 2.4rem;
    height: 2.4rem;
    place-items: center;
    border: 0;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--text-secondary);
    transform: translateY(-50%);
}

.password-toggle:hover { background: var(--bg-tertiary); color: var(--text-primary); }

.auth-check {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--text-secondary);
}

.auth-check input { margin-top: 0.25rem; }

.auth-submit,
.auth-secondary {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 700;
}

.auth-submit {
    border: 1px solid #fbbf24;
    background: #fbbf24;
    color: #111827;
}

.auth-submit:hover { background: #fcd34d; }
.auth-secondary { border: 1px solid var(--border-secondary); color: var(--text-primary); }
.auth-switch { margin: 1.5rem 0 0; text-align: center; }
.auth-actions form { margin: 0; }

@media (max-width: 420px) {
    .auth-label-row { align-items: flex-start; flex-direction: column; gap: 0.25rem; }
}
