/* Inschrijfformulier — stadion-achtergrond + twee kolommen */

/* ---- Pagina-achtergrond ---- */

.form-page {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 2rem;
    background:
        linear-gradient(rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.75)),
        url("/assets/img/hero.jpg") center / cover no-repeat,
        #1a1a1a;
}

/* ---- Twee-kolom wrapper ---- */

.form-layout {
    display: flex;
    gap: 3rem;
    width: 100%;
    max-width: 1050px;
    align-items: center;
}

/* ---- Promo-tekst (links) ---- */

.form-promo {
    flex: 1;
    color: var(--paper);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-promo h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
}

.promo-spots {
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--amber);
    font-weight: 600;
}

.promo-spots strong {
    font-size: 1.4rem;
    color: var(--paper);
}

.promo-meta {
    font-size: 0.9rem;
    line-height: 1.7;
    opacity: 0.7;
}

/* ---- Formulier-kaart (rechts) ---- */

.form-card {
    flex: 0 0 510px;
    background: var(--color-surface);
    border-radius: 14px;
    padding: 1.75rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    color: var(--color-text);
}

.form-card h1 {
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.form-card form {
    display: flex;
    flex-direction: column;
}

/* ---- 2-kolom velden-grid ---- */

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1.25rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    margin-top: 0.8rem;
}

.form-field.full {
    grid-column: 1 / -1;
}

.form-field label {
    font-weight: 600;
    font-size: 0.87rem;
    margin-bottom: 0.28rem;
    color: var(--color-text);
}

.form-field input,
.form-field select {
    font: inherit;
    font-size: 0.93rem;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-surface);
    color: var(--color-text);
    transition: border-color 0.15s, outline 0.15s;
}

.form-field input:focus,
.form-field select:focus {
    outline: 2px solid var(--amber);
    border-color: var(--amber);
}

html[data-theme="dark"] .form-field input,
html[data-theme="dark"] .form-field select {
    background: #252525;
    color-scheme: dark;
}

/* ---- Hints & fouten ---- */

.veld-hint {
    color: var(--color-muted);
    font-size: 0.78rem;
    margin-top: 0.25rem;
}

.veld-fout {
    color: var(--nl-red);
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* ---- Checkboxes ---- */

.check-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.check-label {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    line-height: 1.4;
}

.check-label a {
    color: var(--amber-dark);
    font-weight: 700;
}

.check-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: var(--amber);
    cursor: pointer;
}

.veld-hint--warn { color: var(--nl-red); }

/* ---- Submit knop ---- */

.form-field .btn {
    margin-top: 0.25rem;
    text-align: center;
    cursor: pointer;
    border: none;
    width: 100%;
    font-size: 1rem;
    padding: 0.85rem;
}

/* ---- Voet ---- */

.form-foot {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.88rem;
    color: var(--color-muted);
}

.form-foot a {
    color: var(--amber-dark);
    font-weight: 600;
    text-decoration: none;
}

.form-foot a:hover { text-decoration: underline; }

/* ---- Alerts ---- */

.alert {
    padding: 0.8rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.92rem;
}

.alert-ok      { background: #e7f6ec; color: #1c6b3a; }
.alert-ok a    { color: #1c6b3a; font-weight: 700; }
.alert-error   { background: #fdecec; color: #a02020; }
.alert-warning { background: #fff8e1; color: #7a5c00; }

/* ---- Edit-pagina varianten ---- */

.edit-standalone { width: 100%; max-width: 480px; }

.edit-divider {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 1.4rem 0 0.2rem;
}

.edit-section-label {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-text);
    margin-bottom: 0.2rem;
}

.edit-section-label span {
    font-weight: 400;
    color: var(--color-muted);
    font-size: 0.82rem;
}

/* ---- Mobiel ---- */

@media (max-width: 800px) {
    .form-layout {
        flex-direction: column;
        gap: 1.5rem;
    }
    .form-card {
        flex: none;
        width: 100%;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-field.full {
        grid-column: 1;
    }
}
