/* ──────────────────────────────────────────────────────────────────
 * Authentication & lightweight form pages.
 *
 * Used by /login, /password/forgot, /password/reset and any other
 * small "single field stack inside a peach card" form. Mirrors the
 * field styling on `/contact` (`.contact__field`) but wraps the form
 * in a centered card that sits inside `.section section--peach`.
 * ────────────────────────────────────────────────────────────────── */

.redesign .auth-section {
    padding-block: 64px;
}

.redesign .auth-card {
    max-width: 480px;
    margin: 0 auto;
    background: var(--neutral-white);
    border: 1px solid var(--brand-border-peach);
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: 0 8px 24px rgba(85, 75, 75, 0.06);
}

.redesign .auth-card__heading {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: 32px;
    line-height: 1.15;
    color: var(--text-heading);
    margin: 0 0 8px;
    text-align: center;
}

.redesign .auth-card__sub {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-paragraph);
    margin: 0 0 28px;
    text-align: center;
}

/* Field stack — same vocabulary as `.contact__field` */
.redesign .auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.redesign .auth-form__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.redesign .auth-form__field label {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    color: var(--text-heading);
}

.redesign .auth-form__field label .req { color: var(--brand-sea-green); }

.redesign .auth-form__field input {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-heading);
    background: var(--brand-offwhite-peach);
    border: 1px solid var(--brand-border-peach);
    border-radius: 10px;
    padding: 12px 14px;
    transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.redesign .auth-form__field input::placeholder {
    color: var(--text-paragraph);
    opacity: 0.7;
}

.redesign .auth-form__field input:focus {
    outline: none;
    background: var(--neutral-white);
    border-color: var(--brand-sea-green);
    box-shadow: 0 0 0 3px rgba(40, 65, 75, 0.12);
}

/* Inline alert chip — replaces legacy `.alert_box.error/.success` */
.redesign .auth-alert {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.4;
    border-radius: 10px;
    padding: 12px 14px;
    margin: 0;
    border: 1px solid transparent;
}

.redesign .auth-alert--error {
    background: #fff3f3;
    border-color: #f4c4c4;
    color: #8a2a2a;
}

.redesign .auth-alert--success {
    background: rgba(40, 65, 75, 0.08);
    border-color: rgba(40, 65, 75, 0.24);
    color: var(--brand-sea-green-darker);
}

.redesign .auth-form__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.redesign .auth-form__actions .btn {
    width: 100%;
    justify-content: center;
}

.redesign .auth-card__footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--brand-border-peach);
    text-align: center;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-paragraph);
}

.redesign .auth-card__footer a {
    color: var(--brand-sea-green);
    font-weight: 600;
    text-decoration: none;
}

.redesign .auth-card__footer a:hover {
    color: var(--brand-sea-green-darker);
    text-decoration: underline;
}

@media (max-width: 600px) {
    .redesign .auth-section { padding-block: 48px; }
    .redesign .auth-card { padding: 32px 22px; border-radius: 14px; }
    .redesign .auth-card__heading { font-size: 26px; }
}
