/* =========================================================
   HonigParkeren — Mollie testsite stijl
   Kleurpalet: honing (#f5a623), donkerbruin (#3b2a1a), wit
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --honing:    #f5a623;
    --honing-dk: #d4881a;
    --bruin:     #3b2a1a;
    --licht:     #fef9f0;
    --grijs:     #6b7280;
    --fout:      #dc2626;
    --fout-bg:   #fef2f2;
    --groen:     #16a34a;
    --groen-bg:  #f0fdf4;
    --rand:      #e5d8c4;
    --radius:    10px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--licht);
    color: var(--bruin);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── Header ─────────────────────────────────────────────── */
.site-header {
    background: var(--bruin);
    color: #fff;
    padding: 0.9rem 1.5rem;
}
.header-inner { max-width: 680px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 0.8rem; }
.logo-icon { font-size: 2rem; }
.logo-title { font-size: 1.2rem; font-weight: 700; letter-spacing: 0.02em; }
.logo-sub { font-size: 0.78rem; color: #c9b99a; margin-top: 0.1rem; }

/* ── Main / Card ─────────────────────────────────────────── */
.main {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 2rem 1rem 3rem;
}

.card {
    background: #fff;
    border: 1px solid var(--rand);
    border-radius: var(--radius);
    padding: 2rem 2.2rem;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

h1 {
    font-size: 1.45rem;
    color: var(--bruin);
    margin-bottom: 0.7rem;
}

.intro {
    color: var(--grijs);
    font-size: 0.93rem;
    line-height: 1.6;
    margin-bottom: 1.4rem;
}

/* ── Prijsbadge ──────────────────────────────────────────── */
.prijs-badge {
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
    background: var(--honing);
    border-radius: 6px;
    padding: 0.45rem 1rem;
    margin-bottom: 1.6rem;
}
.prijs-bedrag { font-size: 1.5rem; font-weight: 800; color: var(--bruin); }
.prijs-periode { font-size: 0.85rem; color: var(--bruin); opacity: 0.8; }
.prijs-vervolg { font-size: 0.83rem; color: var(--grijs); margin-top: 0.4rem; margin-bottom: 1.2rem; }

/* ── Foutmelding ─────────────────────────────────────────── */
.foutmelding {
    background: var(--fout-bg);
    border-left: 4px solid var(--fout);
    color: var(--fout);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    margin-bottom: 1.3rem;
}

/* ── Succes / Status berichten ───────────────────────────── */
.status-box {
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}
.status-box.succes  { background: var(--groen-bg); border: 1px solid #bbf7d0; }
.status-box.wachten { background: #fef9c3; border: 1px solid #fde047; }
.status-box.mislukt { background: var(--fout-bg); border: 1px solid #fecaca; }
.status-icon { font-size: 3rem; display: block; margin-bottom: 0.6rem; }
.status-box h2 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.status-box p  { font-size: 0.9rem; color: var(--grijs); }

/* ── Formulier ───────────────────────────────────────────── */
fieldset {
    border: 1px solid var(--rand);
    border-radius: var(--radius);
    padding: 1.2rem 1.3rem;
    margin-bottom: 1.3rem;
}

legend {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--grijs);
    padding: 0 0.4rem;
}

.form-row {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--bruin);
}
.req { color: var(--fout); }

input[type="text"],
input[type="email"] {
    border: 1px solid var(--rand);
    border-radius: 6px;
    padding: 0.6rem 0.8rem;
    font-size: 0.97rem;
    color: var(--bruin);
    background: #fff;
    transition: border-color 0.15s;
    width: 100%;
}
input[type="text"]:focus,
input[type="email"]:focus {
    outline: none;
    border-color: var(--honing);
    box-shadow: 0 0 0 3px rgba(245,166,35,0.18);
}
input[type="text"]::placeholder,
input[type="email"]::placeholder {
    color: #b0a090;
}

.veld-uitleg {
    font-size: 0.83rem;
    color: var(--grijs);
    margin-top: 0.6rem;
    line-height: 1.5;
}

.veld-hint {
    font-size: 0.78rem;
    color: var(--grijs);
}

/* ── Akkoord checkbox ────────────────────────────────────── */
.akkoord-rij {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}
.akkoord-rij input[type="checkbox"] {
    margin-top: 0.2rem;
    width: 1.1rem;
    height: 1.1rem;
    accent-color: var(--honing-dk);
    flex-shrink: 0;
}
.akkoord-rij label {
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--bruin);
    cursor: pointer;
    line-height: 1.5;
}

/* ── Betaalknop ──────────────────────────────────────────── */
.betaal-knop {
    display: block;
    width: 100%;
    background: var(--honing);
    color: var(--bruin);
    border: none;
    border-radius: 8px;
    padding: 0.85rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.01em;
    transition: background 0.15s, transform 0.1s;
}
.betaal-knop:hover  { background: var(--honing-dk); }
.betaal-knop:active { transform: scale(0.98); }

.terug-link {
    display: inline-block;
    margin-top: 1.2rem;
    color: var(--honing-dk);
    font-size: 0.9rem;
    text-decoration: none;
    font-weight: 600;
}
.terug-link:hover { text-decoration: underline; }

/* ── Mollie noot ─────────────────────────────────────────── */
.mollie-note {
    font-size: 0.78rem;
    color: var(--grijs);
    text-align: center;
    margin-top: 0.9rem;
}

/* ── Detailrijen (terugkeerpagina) ───────────────────────── */
.detail-lijst {
    list-style: none;
    border: 1px solid var(--rand);
    border-radius: var(--radius);
    overflow: hidden;
    font-size: 0.9rem;
    margin-bottom: 1.4rem;
}
.detail-lijst li {
    display: flex;
    justify-content: space-between;
    padding: 0.65rem 1rem;
    border-bottom: 1px solid var(--rand);
}
.detail-lijst li:last-child { border-bottom: none; }
.detail-lijst .label { color: var(--grijs); }
.detail-lijst .waarde { font-weight: 600; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
    background: var(--bruin);
    color: #c9b99a;
    text-align: center;
    padding: 0.9rem 1rem;
    font-size: 0.8rem;
}

/* ── Adres rijen (straat/nr/toev + postcode/woonplaats) ─── */
.adres-straat-rij,
.adres-pc-rij {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: flex-start;
    margin-top: 1rem;
    width: 100%;
}

.adres-straat     { flex: 0 0 80%; width: 80%; }
.adres-huisnr     { flex: 0 0 calc(10% - 0.25rem); width: calc(10% - 0.25rem); }
.adres-toev       { flex: 0 0 calc(10% - 0.25rem); width: calc(10% - 0.25rem); }
.adres-postcode   { flex: 0 0 calc(30% - 0.25rem); width: calc(30% - 0.25rem); }
.adres-woonplaats { flex: 0 0 70%; width: 70%; }

.adres-straat-rij label,
.adres-pc-rij label {
    display: block;
    margin-bottom: 0.3rem;
}

.adres-straat-rij input,
.adres-pc-rij input {
    width: 100%;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 480px) {
    .card { padding: 1.3rem 1.1rem; }
    h1 { font-size: 1.2rem; }
    .adres-straat-rij { flex-wrap: wrap; }
    .adres-straat     { flex: 1 1 100%; width: 100%; }
    .adres-huisnr     { flex: 1; width: auto; }
    .adres-toev       { flex: 1; width: auto; }
}
