/* NAPEX — gedeelde stijl (tokens uit NAPEX Brand v1.0) */
/* Lettertypes: zelf gehost (geen verzoeken naar Google, beter voor de AVG) */
@font-face { font-family: "Montserrat"; src: url("/fonts/montserrat-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("/fonts/caveat-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
:root {
  --green: #39FF14;
  --green-hover: #2EE60F;
  --green-deep: #137A09;
  --green-soft: rgba(57, 255, 20, 0.12);
  --dark: #0B0F14;
  --surface: #121821;
  --surface-2: #1A222D;
  --border: #1F2933;
  --graphite: #6B7280;
  --text: #FFFFFF;
  --muted: #9CA3AF;
  --warning: #FFB020;
  --danger: #FF4D4F;
  --info: #3BA7FF;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 8px; --r: 14px; --r-lg: 22px; --r-btn: 12px;
  --glow: 0 0 24px rgba(57, 255, 20, 0.35);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--dark); color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Knoppen */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-btn);
  font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.btn-primary { background: var(--green); color: var(--dark); }
.btn-primary:hover { background: var(--green-hover); box-shadow: var(--glow); }
.btn-ghost { background: transparent; color: var(--text); border-color: #2C3744; }
.btn-ghost:hover { border-color: var(--green); }
.btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.btn-block { width: 100%; }

/* Formulieren */
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field .hint { font-size: 13px; color: var(--muted); }
.input {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r-btn);
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.input::placeholder { color: #5D6773; }
textarea.input { min-height: 110px; resize: vertical; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239CA3AF' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }

.msg { padding: 12px 14px; border-radius: var(--r-sm); font-size: 14px; line-height: 1.45; }
.msg-error { background: rgba(255, 77, 79, .1); border: 1px solid rgba(255, 77, 79, .4); color: #FFB3B4; }
.msg-ok { background: var(--green-soft); border: 1px solid rgba(57, 255, 20, .35); color: #C9FFBC; }
.msg-info { background: rgba(59, 167, 255, .08); border: 1px solid rgba(59, 167, 255, .35); color: #BFE0FF; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
