/* =========================================================
   FORM / REGISTRATION-PAGE STYLES
   Extends styles.css — uses the same design tokens
   (--black, --paper, --accent, --gold, --serif, --sans, --line, --muted)
   Load this AFTER styles.css.
   ========================================================= */


/* ---------------------------------------------------------
   FORM MESSAGE (status banner for forms)
--------------------------------------------------------- */

.form-message {
    display: none;

    padding: 13px 15px;
    margin-bottom: 20px;

    font-size: 13px;
    font-weight: 500;
}

.form-message.success {
    display: block;

    background: #e4f1e6;
    color: #245b31;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;

    background: #f3dde1;
    color: var(--accent);
    border: 1px solid #e3b8c1;
}


/* ---------------------------------------------------------
   SUBMIT BUTTON LOADING STATE
--------------------------------------------------------- */

.submit-btn:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none !important;
}


/* ---------------------------------------------------------
   REGISTRATION PAGE — HERO / HEADING BLOCK
--------------------------------------------------------- */

.register-hero {
    padding-top: 170px;
    border-bottom: 1px solid var(--line);
}

.register-hero-container {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 60px;
    align-items: center;
}

.register-hero-copy {
    max-width: 700px;
}

.register-hero-copy .section-side-note {
    max-width: 620px;
    margin-top: 22px;
}

/* Graph + anagram, pinned to the right-hand edge of the container */
.register-hero-visual {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    width: 100%;
}

/* Static placement here — no rotation animation on this page */
.register-hero-visual .hero-graph img {
    animation: none;
}


/* ---------------------------------------------------------
   INFO POINTS
   (registration-points, restyled for light backgrounds)
--------------------------------------------------------- */

.info-points {
    display: grid;
    gap: 0;

    margin-top: 10px;

    border-top: 1px solid var(--line);
}

.info-points > div {
    display: grid;
    grid-template-columns: 45px 1fr;
    gap: 20px;

    padding: 18px 0;

    border-bottom: 1px solid var(--line);
}

.info-points span {
    color: var(--accent);

    font-size: 11px;
    font-weight: 700;
}

.info-points p {
    margin: 0;
    color: var(--black);
}

.info-points p em {
    color: var(--muted);
    font-style: normal;
}


/* ---------------------------------------------------------
   STEP-BY-STEP GUIDE
   Plain, on-paper list — no card/box treatment.
--------------------------------------------------------- */

.guide-section .section-side-note {
    max-width: 640px;
    margin-top: 18px;
}

.guide-list {
    list-style: none;
    margin: 48px 0 0;
    padding: 0;
}

.guide-list li {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 24px;

    padding: 28px 0;

    border-top: 1px solid var(--line);
}

.guide-list li:last-child {
    border-bottom: 1px solid var(--line);
}

.guide-number {
    font-family: var(--serif);
    font-size: 30px;
    line-height: 1;
    color: var(--gold);
}

.guide-copy h3 {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 400;
    margin: 0 0 8px;
    color: var(--black);
}

.guide-copy p {
    margin: 0;
    max-width: 640px;

    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.guide-copy p em {
    color: var(--accent);
    font-style: normal;
    font-weight: 600;
}


/* ---------------------------------------------------------
   SIMPLE TEXT LIST (payment methods, ordered guide)
--------------------------------------------------------- */

.plain-list {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.plain-list li::marker {
    color: var(--accent);
}


/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 1050px) {
    .register-hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .register-hero-visual {
        justify-content: flex-start;
    }
}

@media (max-width: 760px) {
    .register-hero {
        padding-top: 130px;
    }

    .guide-list li {
        grid-template-columns: 1fr;
        gap: 8px;

        padding: 22px 0;
    }

    .guide-number {
        font-size: 22px;
    }

    .register-hero-visual .hero-symmetry {
        width: min(72vw, 19rem);
    }

    .register-hero-visual .hero-graph {
        width: 4rem;
        height: 4rem;
    }
}
