/* Booking module pages (server/boeken.ts), on top of huisstijl.css */
.boeken { max-width: 52rem; padding-top: 1.5rem; }
.stap { margin-bottom: 1.5rem; }
.stap h2 { display: flex; align-items: center; gap: .6rem; margin-top: .5rem; }
.nr { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--rood); color: var(--wit); font-size: 1.1rem; flex: none; }

.keuze { list-style: none; padding: .6rem 1rem; margin: 0 0 1rem; background: var(--licht); border-radius: 6px; }
/* label | value (may take two lines) | wijzig, always side by side (feedback Hidde) */
/* "wijzig" close to the value instead of at the far right (Hidde 30-10) */
.keuze li { display: grid; grid-template-columns: 6.5rem minmax(0, 18rem) auto; justify-content: start; gap: .2rem 1.2rem; align-items: baseline; padding: .3rem 0; }
.keuze span { color: var(--tekst-zacht); }
.keuze a { font-size: .95rem; }

.behandelingen { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
fieldset { border: 1px solid #ddd; border-radius: 6px; padding: .5rem .9rem .7rem; margin: 0 0 .8rem; }
legend { font: 1.1rem var(--kop); color: var(--rood); padding: 0 .3rem; }
.optie { display: flex; align-items: center; gap: .5rem; padding: .35rem 0; cursor: pointer; }
.optie input { width: 1.2rem; height: 1.2rem; accent-color: var(--rood); }
.prijs { margin-left: auto; font-variant-numeric: tabular-nums; }
.mas { display: flex; flex-wrap: wrap; gap: 0 1.4rem; }
.mas legend { width: 100%; }
.label { font: 700 .75rem/1 var(--romp); background: var(--goud); color: var(--rood-donker); padding: .25em .5em; border-radius: 3px; vertical-align: middle; }

.weeknav { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: .8rem; flex-wrap: wrap; }
.week { list-style: none; padding: 0; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 9rem), 1fr)); }
.dag { background: var(--licht); border-radius: 6px; padding: .5rem .7rem .7rem; }
.dag h3 { margin: 0 0 .4rem; font-size: 1rem; }
.dag h3 span { text-transform: capitalize; }
.dag.vol { opacity: .65; }
.tijden { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.tijd { display: inline-block; min-width: 4rem; text-align: center; padding: .45em .6em; border-radius: 4px; background: var(--wit); border: 2px solid var(--rood); color: var(--rood); text-decoration: none; font-weight: 700; font-variant-numeric: tabular-nums; }
.tijd:hover, .tijd:focus-visible { background: var(--rood); color: var(--wit); }
.geen { margin: 0; color: var(--tekst-zacht); font-size: .95rem; }

.veld label { display: block; font-weight: 700; margin-bottom: .2rem; }
.veld input, .veld textarea { width: 100%; max-width: 28rem; font: inherit; padding: .5rem .6rem; border: 1px solid #999; border-radius: 4px; }
.veld input:focus, .veld textarea:focus { outline: 3px solid var(--goud); border-color: var(--rood); }
.hulp, .klein { display: block; font-size: .9rem; color: var(--tekst-zacht); }
.vink label { display: flex; gap: .5rem; align-items: flex-start; }
.vink input { width: 1.2rem; height: 1.2rem; margin-top: .25rem; accent-color: var(--rood); flex: none; }
.fout input, .fout textarea { border-color: #b00020; }
.foutmelding { display: block; color: #b00020; font-size: .95rem; }
p.fout { background: #fdecea; border-left: 4px solid #b00020; padding: .6rem 1rem; border-radius: 4px; }
.weg { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bevestigd h2 { color: #1e6b35; }
.testmelding { background: #fff8e1; border: 2px dashed var(--goud); border-radius: 6px; padding: .3rem 1rem .8rem; margin-top: 1rem; }
.lijst { border: 0; padding: 0; margin: 0 0 .5rem; display: grid; gap: .5rem; }
.optie.groot { align-items: flex-start; background: var(--licht); border-radius: 6px; padding: .7rem .9rem; }
.optie.groot input { margin-top: .3rem; }
.lijst > .optie:not(.groot) { background: var(--licht); border-radius: 6px; padding: .6rem .9rem; }
.vroegst { background: #fff8e1; border-radius: 8px; padding: .3rem 1rem 1rem; margin-bottom: 1rem; }
.vroegst h3 { margin-top: .6rem; }
.tijd.breed { min-width: 0; text-align: left; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.knoppen { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0; }
.knop.licht { background: var(--wit); color: var(--rood); border: 2px solid var(--rood); }
.uit { background: #eee; color: #777; border-radius: 6px; padding: .5rem .8rem; font-size: .95rem; margin-top: -.4rem; }
/* step 3: masseuses in two columns, her first 3 free times under her name (feedback Hidde) */
.mas.lijst { display: block; }
.masgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr)); gap: .8rem 1rem; }
.masrij { display: flex; flex-direction: column; gap: .3rem; padding: .3rem 0; }
.masrij .optie { padding: .1rem 0; }
.snel { display: flex; flex-direction: column; gap: .3rem; }
.tijd.klein { min-width: 0; padding: .35em .3em; font-size: .85rem; border-width: 1px; text-align: center; white-space: nowrap; }
/* duo: "maakt niet uit" first, then a pair of masseuses */
.snel.rij3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: .35rem; max-width: 30rem; margin: .3rem 0; }
.stap > .masrij { background: var(--licht); border-radius: 8px; padding: .6rem .8rem; margin-bottom: 1rem; }

/* "Verder" stays in view at the bottom of the screen while scrolling through
   the choices (feedback Hidde 30-10), on a phone and a computer alike */
.verderbalk { position: sticky; bottom: 0; z-index: 5; margin: 0; padding: .7rem 0;
  background: var(--wit); box-shadow: 0 -8px 12px -10px rgb(0 0 0 / .35); }

/* larger buttons in every step: Verder, Afspraak maken, Verder met "geen
   voorkeur" (Hidde 30-10); they grow with "Grotere letters" (rem) */
.boeken .knop { font-size: 1.2rem; padding: .75em 1.8em; min-height: 3rem; }
/* step 1: the treatments in two columns on a tablet or computer */
@media (min-width: 40rem) { .lijst.twee { grid-template-columns: 1fr 1fr; } }
/* small heading above the three earliest dates */
.snelkop { font-size: .8rem; color: var(--tekst-zacht); }
.snel.rij3 .snelkop { grid-column: 1 / -1; }

/* --- feedback Hidde 23-11 --------------------------------------------------- */
/* summary: on a phone the answers use the full width, "wijzig" right of them */
@media (max-width: 40rem) {
  .keuze li { grid-template-columns: minmax(0, 1fr) auto; gap: 0 .8rem; padding: .35rem 0; }
  .keuze li > span:first-child { grid-column: 1 / -1; font-size: .85rem; line-height: 1.3; }
  .keuze li + li { border-top: 1px solid #ddd; }
}
/* the three earliest dates: buttons of equal width, text centred */
.vroegst .tijden { display: grid; grid-template-columns: 1fr; max-width: 26rem; }
.tijd.breed { display: block; text-align: center; }
/* step 3: full weekday names need room; the duo row stacks on a phone */
.snel.rij3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); max-width: 40rem; }
/* "kies zelf een dag" per month: previous and next month side by side */
.maandnaam { text-transform: capitalize; color: var(--rood); }
.maandnav { display: flex; gap: .6rem; margin: 0 0 .8rem; }
.boeken .maandnav .knop { font-size: 1rem; padding: .5em 1em; min-height: 0; flex: 1 1 0; text-align: center; max-width: 14rem; }
/* tappable things look like buttons: a bit of depth, and they sink when pressed */
.tijd { box-shadow: 0 2px 0 var(--rood-donker); }
.tijd:active { transform: translateY(2px); box-shadow: none; }
.keuze a { display: inline-block; padding: .15em .6em; border: 1px solid var(--rood); border-radius: 4px; background: var(--wit);
  text-decoration: none; box-shadow: 0 1px 0 var(--rood-donker); }
.keuze a:hover { background: var(--rood); color: var(--wit); }
/* full weekday names: one masseuse per row on a phone, two from a tablet up */
.masgrid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); }
