/* ViewVision huisstijl: Full Spectrum Blue #1354F6 is de enige actiekleur. */
:root {
  --blue: #1354F6;
  --blue-dark: #0d3fc4;
  --onyx: #0E0E0E;
  --snow: #F8F8F8;
  --alice: #E8EFFE;
  --gold: #FFC31F;
  --grey-1: #6b7280;
  --grey-2: #d5d8de;
  --red: #c0341d;
  --green: #17794b;
  --radius: 10px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--snow);
  color: var(--onyx);
  line-height: 1.55;
  font-size: 16px;
}

h1, h2, h3 { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; line-height: 1.2; }
h1 { font-size: 2.1rem; margin: 0 0 .4rem; }
h2 { font-size: 1.45rem; margin: 2.2rem 0 .8rem; }
h3 { font-size: 1.1rem; margin: 1.6rem 0 .5rem; font-family: "DM Sans", sans-serif; font-weight: 600; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

header.top {
  background: var(--onyx);
  color: var(--snow);
  padding: .9rem 1.5rem;
}
header.top .inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: 1.2rem;
}
header.top .brand { font-weight: 700; font-size: 1.1rem; color: var(--snow); }
header.top nav { margin-left: auto; display: flex; gap: 1.2rem; align-items: center; }
header.top nav a, header.top nav button { color: var(--snow); font-size: .92rem; }
header.top form { margin: 0; }

main { max-width: var(--maxw); margin: 0 auto; padding: 2rem 1.5rem 4rem; }
.lede { color: var(--grey-1); margin: 0 0 1.8rem; }

.card {
  background: #fff; border: 1px solid var(--grey-2);
  border-radius: var(--radius); padding: 1.4rem; margin-bottom: 1.2rem;
}
.card.tight { padding: 1rem 1.2rem; }
.narrow { max-width: 440px; margin: 0 auto; }

label { display: block; font-weight: 500; margin: 1rem 0 .3rem; font-size: .93rem; }
.hint { color: var(--grey-1); font-size: .85rem; font-weight: 400; }

input[type=text], input[type=email], input[type=password], input[type=number], input[type=file] {
  width: 100%; padding: .6rem .7rem; font: inherit; font-size: .95rem;
  border: 1px solid var(--grey-2); border-radius: 8px; background: #fff;
}
input:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }

button, .btn {
  display: inline-block; font: inherit; font-weight: 500; cursor: pointer;
  background: var(--blue); color: #fff; border: 0;
  padding: .62rem 1.15rem; border-radius: 8px; text-decoration: none;
}
button:hover, .btn:hover { background: var(--blue-dark); text-decoration: none; }
button.ghost, .btn.ghost {
  background: transparent; color: var(--blue); border: 1px solid var(--grey-2);
}
button.ghost:hover, .btn.ghost:hover { background: var(--alice); }
button.danger { background: transparent; color: var(--red); border: 1px solid var(--grey-2); }
button.link { background: none; color: var(--blue); padding: 0; }

table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: .5rem .6rem; border-bottom: 1px solid var(--grey-2); }
th { font-weight: 600; color: var(--grey-1); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.scroll { overflow-x: auto; }

.stat-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.2rem; }
.stat {
  flex: 1 1 160px; background: #fff; border: 1px solid var(--grey-2);
  border-radius: var(--radius); padding: 1rem 1.1rem;
}
.stat .k { font-size: .78rem; color: var(--grey-1); text-transform: uppercase; letter-spacing: .04em; }
.stat .v { font-size: 1.7rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.stat.accent { background: var(--alice); border-color: #c9d9fb; }
.stat.warn { border-left: 4px solid var(--gold); }

.pill { display: inline-block; padding: .1rem .5rem; border-radius: 99px; font-size: .78rem; font-weight: 500; }
.pill.ok { background: #e3f2ea; color: var(--green); }
.pill.no { background: #fbe6e2; color: var(--red); }
.pill.grey { background: #eceef1; color: var(--grey-1); }

.bar { height: 8px; background: var(--grey-2); border-radius: 99px; overflow: hidden; margin-top: .5rem; }
.bar > span { display: block; height: 100%; background: var(--blue); }

.notice { border-left: 4px solid var(--blue); background: var(--alice); padding: .85rem 1rem; border-radius: 0 8px 8px 0; margin-bottom: 1.2rem; font-size: .93rem; }
.notice.warn { border-color: var(--gold); background: #fff8e4; }
.notice.error { border-color: var(--red); background: #fbe6e2; }

.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 2.2rem; margin-bottom: .8rem; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: .05rem;
  width: 1.5rem; height: 1.5rem; border-radius: 99px; background: var(--blue);
  color: #fff; font-size: .82rem; font-weight: 600;
  display: grid; place-items: center;
}

.muted { color: var(--grey-1); font-size: .88rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
footer { border-top: 1px solid var(--grey-2); margin-top: 3rem; padding: 1.2rem 1.5rem; }
footer .inner { max-width: var(--maxw); margin: 0 auto; color: var(--grey-1); font-size: .85rem; }

@media (max-width: 640px) {
  .grid-2 { grid-template-columns: 1fr; }
  h1 { font-size: 1.6rem; }
}
