:root {
  --bg: #0b1220;
  --panel: rgba(255,255,255,0.06);
  --panel2: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.12);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.65);
  --accent: #60a5fa;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 20% 0%, rgba(96,165,250,0.18), transparent 60%),
              radial-gradient(1200px 600px at 90% 20%, rgba(34,197,94,0.10), transparent 55%),
              var(--bg);
  color: var(--text);
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.page { min-height: 100%; display: flex; flex-direction: column; }
.header {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: rgba(2,6,23,0.55);
  backdrop-filter: blur(10px);
  flex-wrap: wrap;
}

.logo-area { display: flex; align-items: center; gap: .6rem; }
.logo-dot { width: 12px; height: 12px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 0 6px rgba(96,165,250,0.18); }
.logo-text { font-weight: 700; letter-spacing: 0.2px; }

.main-nav { display: flex; gap: .8rem; flex-wrap: wrap; }
.main-nav a { padding: .4rem .6rem; border-radius: .7rem; color: var(--text); opacity: .85; }
.main-nav a:hover { background: rgba(255,255,255,0.06); opacity: 1; }

.main {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 1.25rem;
  flex: 1;
}

.hero { margin: 0 0 1rem; }
.hero h1 { margin: 0 0 .35rem; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.hero p { margin: 0; color: var(--muted); line-height: 1.5; }

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1rem;
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

label { display: block; margin: .6rem 0 .25rem; color: var(--muted); font-size: .95rem; }

input, select, button {
  font: inherit;
}

input, select {
  width: 100%;
  padding: .65rem .75rem;
  border-radius: .9rem;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.25);
  color: var(--text);
  outline: none;
}

input:focus, select:focus {
  border-color: rgba(96,165,250,0.65);
  box-shadow: 0 0 0 4px rgba(96,165,250,0.18);
}

button {
  padding: .65rem .85rem;
  border-radius: .9rem;
  border: 1px solid rgba(96,165,250,0.35);
  background: rgba(96,165,250,0.16);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}

button:hover { background: rgba(96,165,250,0.22); }
button:disabled { opacity: .5; cursor: not-allowed; }

.footer {
  padding: 1.25rem;
  color: var(--muted);
  text-align: center;
}

/* Results / badges */
.result-simple dl {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: .4rem .75rem;
}

@media (max-width: 680px) {
  .result-simple dl { grid-template-columns: 1fr; }
}

dt { font-weight: 700; color: rgba(255,255,255,0.78); }
dd { margin: 0; min-width: 0; }

code {
  display: inline-block;
  padding: .1rem .35rem;
  border-radius: .5rem;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.25);
  overflow-wrap: anywhere;
}

pre {
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 1rem;
  padding: .75rem;
  overflow: auto;
  max-height: 520px;
}

.badge {
  display: inline-block;
  padding: .2rem .55rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,0.14);
}

.badge-ok { background: rgba(34,197,94,0.18); border-color: rgba(34,197,94,0.35); }
.badge-warn { background: rgba(245,158,11,0.18); border-color: rgba(245,158,11,0.35); }
.badge-bad { background: rgba(239,68,68,0.18); border-color: rgba(239,68,68,0.35); }
.badge-muted { background: rgba(148,163,184,0.14); border-color: rgba(148,163,184,0.26); }

.result-error, .result-warn, .result-hint {
  margin-top: .75rem;
  padding: .75rem;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.12);
}

.result-error { background: rgba(239,68,68,0.10); border-color: rgba(239,68,68,0.25); }
.result-warn { background: rgba(245,158,11,0.10); border-color: rgba(245,158,11,0.25); }
.result-hint { background: rgba(34,197,94,0.08); border-color: rgba(34,197,94,0.18); }

details summary { cursor: pointer; color: var(--accent); }



/* Zichtbaarheid records */
.section { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08); }
.section h3 { margin: 0 0 8px; font-size: 14px; opacity: .9; }

.checklist { margin: 8px 0 0; padding-left: 16px; }
.checklist li { margin: 8px 0; }

.checkline { margin: 6px 0 10px; }

.check {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  margin-right: 6px;
}
.check.ok { background: rgba(60, 200, 120, .18); color: rgba(120, 255, 190, 0.95); }
.check.bad { background: rgba(255, 80, 80, .18); color: rgba(255, 150, 150, 0.95); }

.mini-note { font-size: 12px; opacity: .7; margin-bottom: 6px; }
.muted { opacity: .75; }
