/* =====================================================================
 * pages/pre-register.css — page-scoped tweaks for /pre-register.
 *
 * The form controls themselves are the shared components/form.css; this
 * sheet only handles page-level layout: a readable, centred form column
 * (a full-bleed form is hard to scan) and the closing reassurance line.
 * Semantic tokens / color-mix only — no hex (hex-audit rule).
 * ===================================================================== */

/* Readable single-column width for the form, centred in the section. */
.preregister-form {
    max-width: 44rem;
    margin-inline: auto;
}

/* Optional intro line above the form (the "* required" cue), centred to
   the same column. */
.preregister-form__note {
    margin-bottom: var(--space-6);
}

/* Closing reassurance line beneath the submit button — calm, muted,
   sits just under the actions row. */
.preregister-reassurance {
    max-width: 44rem;
    margin-inline: auto;
    margin-top: var(--space-5);
    font-size: var(--fs-sm);
    line-height: var(--lh-relaxed);
    color: var(--color-text-muted);
}

/* --- Success state (Post-Redirect-Get) ------------------------------- */
.preregister-success {
    max-width: 40rem;
    margin-inline: auto;
    text-align: center;
}

.preregister-success__icon {
    width: 3.5rem;
    height: 3.5rem;
    color: var(--color-success);
    /* svg is display:block (reset.css), so centre it horizontally with the
       same margin-inline:auto mechanism used by the wrapper + note above. */
    margin-inline: auto;
    margin-bottom: var(--space-4);
}

.preregister-success__note {
    max-width: 50ch;
    margin-inline: auto;
    margin-bottom: var(--space-6);
    line-height: var(--lh-relaxed);
    color: var(--color-text-muted);
}
