/* Prindustry huisstijl: navy #172e4b, teal #3095b4, oranje #f16721, Mulish */
@font-face {
    font-family: "Mulish";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("mulish.woff2") format("woff2");
}

:root {
    --navy: #172e4b;
    --teal: #3095b4;
    --teal-licht: #dce9f1;
    --oranje: #f16721;
    --oranje-donker: #d4561a;
    --tekst: #1f2a37;
    --zacht: #5b6676;
    --lijn: #dbe1e8;
    --achtergrond: #f4f6f8;
    --kaart: #ffffff;
    --fout: #b42318;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--achtergrond);
    color: var(--tekst);
    font: 16px/1.55 "Mulish", system-ui, sans-serif;
}

.kop { background: var(--navy); }
.kop-binnen {
    max-width: 880px; margin: 0 auto; padding: 18px 16px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo { height: 34px; width: auto; display: block; }
.taal { color: #fff; text-decoration: none; font-weight: 700; border: 1px solid rgba(255,255,255,.5); border-radius: 6px; padding: 5px 12px; }
.taal:hover { background: rgba(255,255,255,.12); }

main { max-width: 880px; margin: 0 auto; padding: 24px 16px 48px; }

.kaart {
    background: var(--kaart); border: 1px solid var(--lijn); border-radius: 10px;
    padding: 24px; margin-top: 18px;
}
.kaart-intro { border-top: 4px solid var(--teal); }

h1 { font-size: 26px; line-height: 1.25; margin: 0 0 8px; color: var(--navy); font-weight: 800; }
h2 { font-size: 19px; margin: 0 0 10px; color: var(--navy); font-weight: 800; display: flex; align-items: center; gap: 10px; }
.nr {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 50%; background: var(--teal); color: #fff; font-size: 14px; flex: none;
}
a { color: var(--teal); }
.zacht { color: var(--zacht); font-size: 14px; }

.veld { margin-top: 18px; }
.label, legend { display: block; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
fieldset { border: 0; padding: 0; margin: 0; }
.verplicht { color: var(--oranje-donker); font-weight: 600; font-size: 13px; }
.keuze { display: flex; align-items: center; gap: 8px; padding: 4px 0; cursor: pointer; }
.keuze input { accent-color: var(--teal); width: 17px; height: 17px; }
.hulp { color: var(--zacht); font-size: 14px; margin: 6px 0 0; }
.info { background: var(--teal-licht); border-radius: 8px; padding: 10px 14px; margin: 0; font-size: 14px; }

input[type=text], input[type=email], input[type=tel], input[type=url], input[type=date], textarea, select {
    width: 100%; font: inherit; font-size: 15px; color: var(--tekst);
    background: #fff; border: 1px solid #c5ced8; border-radius: 6px; padding: 9px 11px;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
textarea { resize: vertical; }
.mist input, .mist textarea, .mist fieldset { border-color: var(--fout); }
.mist .label, .mist legend { color: var(--fout); }
.mist fieldset { border-left: 3px solid var(--fout); padding-left: 10px; }

.tabel-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
table.invoer td { padding: 4px; vertical-align: top; }
table.invoer th, table.lees th { text-align: left; font-size: 13px; color: var(--zacht); font-weight: 700; padding: 6px 4px; }
table.invoer td.vast { font-size: 14px; padding-top: 12px; min-width: 160px; }
table.lees td { border-top: 1px solid var(--lijn); padding: 7px 4px; vertical-align: top; }

.knop {
    display: inline-block; font: inherit; font-weight: 800; font-size: 15px;
    padding: 11px 20px; border-radius: 6px; cursor: pointer; text-decoration: none;
    border: 2px solid var(--teal); background: #fff; color: var(--teal);
}
.knop:hover { background: var(--teal-licht); }
.knop.primair { background: var(--oranje); border-color: var(--oranje); color: #fff; }
.knop.primair:hover { background: var(--oranje-donker); border-color: var(--oranje-donker); }
.knop.gevaar { border-color: var(--fout); color: var(--fout); }
.knoppen-balk { display: flex; justify-content: flex-end; gap: 12px; flex-wrap: wrap; position: sticky; bottom: 0; box-shadow: 0 -4px 14px rgba(23,46,75,.08); }
.knoppen-rij { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.knoppen-rij form { margin: 0; }

.melding { background: var(--teal-licht); border-left: 4px solid var(--teal); border-radius: 6px; padding: 12px 16px; margin-top: 18px; }
.melding.fout { background: #fdecea; border-left-color: var(--fout); }

form.rij { display: grid; grid-template-columns: 2fr 2fr 1fr auto; gap: 12px; align-items: end; margin-top: 14px; }
form.rij label { font-weight: 700; font-size: 14px; color: var(--navy); }

.status { font-size: 13px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--achtergrond); white-space: nowrap; }
.status-ingediend { background: #e3f4ea; color: #146c43; }
.status-concept { background: #fff1e6; color: var(--oranje-donker); }
.status-uitgenodigd { background: var(--teal-licht); color: var(--navy); }

code, pre { font-family: ui-monospace, Consolas, monospace; font-size: 13px; }
code.link { word-break: break-all; background: var(--achtergrond); padding: 2px 6px; border-radius: 4px; }
pre { white-space: pre-wrap; word-break: break-all; background: var(--achtergrond); border: 1px solid var(--lijn); border-radius: 6px; padding: 12px; max-height: 420px; overflow: auto; }
.antwoord { padding: 2px 0; }

.voet { text-align: center; color: var(--zacht); font-size: 13px; padding: 0 16px 32px; }

[hidden] { display: none !important; }

@media (max-width: 680px) {
    .kaart { padding: 18px; }
    h1 { font-size: 22px; }
    form.rij { grid-template-columns: 1fr; }
    .knoppen-balk { justify-content: stretch; }
    .knoppen-balk .knop { flex: 1; }
}
