/* Huisstijl ORTHOCA algemeen — tokens uit Huisstijlhandboek/assets/tokens.css. Geen andere hex-waarden. */
:root {
  --navy-900: #0A1F2D;
  --navy-800: #0E2841;
  --gold: #B4973E;
  --gold-ink: #705C22;
  --teal: #007278;
  --tint: #E8F0F1;
  --ink: #16232C;
  --muted: #5C6B75;
  --line: #D8E2E5;
  --steel: #93A7B2;
  --hero-body: #B9C8D1;
  --surface: #FAFCFC;
  --font-head: 'Manrope', system-ui, sans-serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.45;
  color: var(--ink);
  background: #fff;
}

h1, h2, h3, .btn, .eyebrow, .label { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: 1.75rem; color: var(--navy-900); margin: 0 0 .5rem; }
h2 { font-size: 1.25rem; color: var(--navy-900); margin: 0 0 .5rem; }
h3 { font-size: 1rem; color: var(--teal); margin: 0 0 .25rem; }
p { margin: 0 0 .75rem; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

.eyebrow {
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: .35rem;
}
.eyebrow.on-navy { color: var(--gold); }
.gold-bar { width: 56px; height: 3px; background: var(--gold); margin: .75rem 0 1rem; }

/* Layout */
.page { min-height: 100dvh; display: flex; flex-direction: column; }
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid var(--line); background: #fff;
}
.topbar img.logo { height: 32px; display: block; }
.topbar img.partner { height: 26px; display: block; }
main { flex: 1; width: 100%; max-width: 560px; margin: 0 auto; padding: 20px 16px 32px; }
main.wide { max-width: 1200px; }
footer.site {
  border-top: 1px solid var(--line); padding: 14px 16px; color: var(--muted); font-size: .85rem;
  display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between; align-items: center;
}

/* Cards and boxes */
.card { background: #fff; border: 1px solid var(--line); border-radius: 2px; padding: 16px; }
.note { background: var(--tint); border: 1px solid var(--line); border-left: 3px solid var(--teal); border-radius: 2px; padding: 12px 14px; }
.stack > * + * { margin-top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 18px; border-radius: 2px; border: 1px solid transparent;
  font-size: 1rem; letter-spacing: 0; cursor: pointer; text-decoration: none; width: 100%;
  transition: background-color .15s ease;
}
.btn-primary { background: var(--navy-800); color: #fff; }
.btn-primary:hover { background: var(--teal); }
.btn-secondary { background: var(--gold-ink); color: #fff; }
.btn-tertiary { background: #fff; color: var(--navy-800); border-color: var(--line); }
.btn-tertiary:hover { background: var(--tint); }
.btn-sm { min-height: 36px; padding: 6px 12px; font-size: .9rem; width: auto; }
.btn[disabled] { opacity: .5; cursor: default; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-row .btn { width: auto; flex: 1; }

/* Forms */
label.field { display: block; margin-bottom: 14px; }
.field .label { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
input[type=text], input[type=time], input[type=date], select {
  width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; font-size: 1.05rem;
  border: 1px solid var(--line); border-radius: 2px; background: #fff; color: var(--ink);
}
input:focus, select:focus, .btn:focus-visible, .choice:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.error { color: var(--gold-ink); font-size: .9rem; margin-top: 4px; display: none; }
.field.invalid input { border-color: var(--gold-ink); }
.field.invalid .error { display: block; }

/* Choice cards (language, doctor) */
.choices { display: grid; gap: 12px; }
.choice {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: 2px; padding: 14px; cursor: pointer; font: inherit; color: var(--ink);
}
.choice:hover { background: var(--tint); }
.choice img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.choice .title { font-family: var(--font-head); font-weight: 700; color: var(--navy-900); }
.choice .sub { color: var(--muted); font-size: .9rem; }
.choice.lang { justify-content: center; min-height: 64px; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--navy-900); }

/* Steps */
.steps { display: flex; gap: 6px; margin-bottom: 18px; }
.steps span { flex: 1; height: 3px; background: var(--line); }
.steps span.done { background: var(--teal); }

.doctor-pair { display: flex; gap: 12px; align-items: center; }
.doctor-pair img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }

/* Status banner on patient page */
.banner { padding: 18px; border-radius: 2px; border: 1px solid var(--line); }
.banner.waiting { background: var(--tint); border-left: 3px solid var(--teal); }
.banner.in_consult { background: var(--navy-800); color: #fff; }
.banner.in_consult h2 { color: #fff; }
.banner.done { background: var(--surface); }

.hidden { display: none !important; }

/* Geselecteerde keuzekaart (arts) */
.choice.selected { border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); background: var(--tint); }
.choice.selected .title::after { content: ' ✓'; color: var(--teal); }
.field.invalid .choices .choice { border-color: var(--gold-ink); }
.topbar img.logo { height: 36px; }
.topbar img.partner { height: 30px; }

/* Titel SELF CHECK-IN onder de naam op de intropagina */
.selfcheckin { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }

/* Geboortedatum: drie keuzelijsten naast elkaar + tekstknop */
.birth-selects { display: grid; grid-template-columns: 1fr 1.6fr 1.2fr; gap: 8px; }
.linklike { background: none; border: 0; padding: 6px 0; font: inherit; font-size: .9rem; color: var(--teal); text-decoration: underline; cursor: pointer; }
