@font-face { font-family: "Roboto"; src: url("/static/fonts/Roboto-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("/static/fonts/Roboto-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("/static/fonts/Roboto-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --blauw: #164273;
  --donkerblauw: #0E325A;
  --groen: #00B900;
  --tekst: #282828;
  --rand: #d6dde6;
  --licht: #f4f7fa;
  --fout: #c0392b;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--tekst); background: var(--licht); line-height: 1.5; }
a { color: var(--blauw); }

header.balk { background: var(--donkerblauw); color: #fff; padding: 14px 16px; }
header.balk .binnen { max-width: 760px; margin: 0 auto; font-weight: 700; font-size: 1.15rem; }
header.balk.breed .binnen { max-width: 1200px; }

main { max-width: 760px; margin: 24px auto 48px; padding: 0 16px; }
main.breed { max-width: 1200px; }

h1 { color: var(--donkerblauw); font-size: 1.6rem; margin: 0 0 8px; }
h2 { color: var(--blauw); font-size: 1.15rem; margin: 0 0 12px; }

.kaart { background: #fff; border: 1px solid var(--rand); border-radius: 8px; padding: 20px; margin-bottom: 16px; }

.veld { margin-bottom: 14px; }
.veld label, .veld .label { display: block; font-weight: 500; margin-bottom: 4px; }
.veld .optioneel { font-weight: 400; color: #6b7785; }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=number], select, textarea {
  width: 100%; padding: 10px 12px; font: inherit; color: inherit; border: 1px solid var(--rand); border-radius: 6px; background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--blauw); outline-offset: 0; border-color: var(--blauw); }
textarea { min-height: 90px; }
.rij { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .rij { grid-template-columns: 1fr; } }

.keuzes { display: grid; gap: 8px; }
.keuze { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--rand); border-radius: 6px; cursor: pointer; }
.keuze:has(input:checked) { border-color: var(--blauw); background: #eef3f9; }
.keuze.uit { opacity: .45; cursor: not-allowed; }
.keuze .prijs { margin-left: auto; font-weight: 700; color: var(--donkerblauw); white-space: nowrap; }

.toelichting { color: #56606b; font-size: .92rem; margin: 0 0 12px; }
.foutmelding { color: var(--fout); font-size: .9rem; margin-top: 4px; }
.heeft-fout input, .heeft-fout select, .heeft-fout textarea, .heeft-fout .keuze { border-color: var(--fout); }
.melding { padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; background: #fdecea; color: #7a1f16; border: 1px solid #f5c6c0; }
.melding.ok { background: #e8f8e8; color: #145214; border-color: #b9e6b9; }

.knop { display: inline-block; background: var(--groen); color: #fff; border: 0; border-radius: 6px; padding: 12px 22px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
.knop:hover { filter: brightness(.95); }
.knop.blauw { background: var(--blauw); }
.knop.stil { background: #fff; color: var(--fout); border: 1px solid var(--fout); font-weight: 500; }
.knop:disabled { background: #b8c2cc; cursor: not-allowed; }

.totaal { font-size: 1.05rem; margin-top: 8px; }
.totaal strong { color: var(--donkerblauw); }

ol.stappen { padding-left: 20px; }
ol.stappen li { margin-bottom: 6px; }

/* beheer */
.tabelhouder { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--rand); vertical-align: top; }
th { color: var(--donkerblauw); font-weight: 500; background: #eef3f9; }
td.bedrag { white-space: nowrap; }
.status { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: .85rem; background: #e5ebf2; color: var(--donkerblauw); white-space: nowrap; }
.status.actief, .status.ondertekend { background: #e1f5e1; color: #145214; }
.status.geweigerd, .status.geannuleerd { background: #fdecea; color: #7a1f16; }
.filter { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.filter select { width: auto; }
dl.gegevens { display: grid; grid-template-columns: 220px 1fr; gap: 4px 16px; margin: 0; }
dl.gegevens dt { color: #56606b; }
dl.gegevens dd { margin: 0; }
@media (max-width: 560px) { dl.gegevens { grid-template-columns: 1fr; } dl.gegevens dd { margin-bottom: 8px; } }
.kenmerk { font-size: 2rem; font-weight: 700; color: var(--donkerblauw); letter-spacing: .02em; user-select: all; }
.acties { display: flex; gap: 10px; flex-wrap: wrap; }
.acties form { margin: 0; }
.log { font-size: .92rem; }
.log td:first-child { white-space: nowrap; color: #56606b; }
