/* Aanvraagpagina van Ladle. Bouwt verder op style.css; de merkkleur van Ladle (kobaltblauw) komt uit /thema.css.
   Ook hier opent de pagina met een affiche: dezelfde vorm die elke vereniging straks op haar eigen site krijgt. */

.aanvraagpagina .pagina { max-width: 76rem; }
.aanvraag-held .held-binnen { max-width: 52rem; padding-top: 2.25rem; padding-bottom: 2.5rem; }
.aanvraag-held .held-titel { font-size: clamp(3rem, 13vw, 6rem); max-width: 11ch; }
.aanvraag-held .held-intro { margin: 1.25rem 0 0; max-width: 34rem; font-size: 1.125rem; line-height: 1.45; }
.voordelen { display: grid; gap: .5rem; margin: 1.25rem 0 1.75rem; padding: 0; list-style: none; max-width: 34rem; }
.voordelen li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .5rem; font-size: 1rem; font-weight: 600; }
.voordelen li::before { content: "✓"; font-weight: 800; }
.held-knoppen { display: grid; gap: .6rem; }
@media (min-width: 40rem) { .held-knoppen { grid-template-columns: auto auto; justify-content: start; } .held-knoppen .knop-start { width: auto; padding-inline: 1.75rem; } }
/* Knoppen op de affiche: omgekeerde kleuren, zodat ze op elke merkkleur leesbaar zijn */
.held .knop { background: var(--merk-tekst); color: var(--merk); }
.held .knop:hover { background: var(--merk-tekst); opacity: .92; }
.held .knop-tweede { background: transparent; box-shadow: inset 0 0 0 2px var(--merk-tekst); color: var(--merk-tekst); }

/* Formulier links, voorbeeld rechts */
.aanvraag-raster { display: grid; gap: 2rem; }
.aanvraag { min-width: 0; }
@media (min-width: 64rem) {
  .aanvraag-raster { grid-template-columns: minmax(0, 38rem) 21rem; justify-content: center; gap: 3rem; align-items: start; }
}

.stapnr {
  display: inline-grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  margin-right: .5rem;
  border-radius: 50%;
  background: var(--inkt);
  color: #fff;
  font-size: .875rem;
  vertical-align: .15em;
}
.subgroep { min-width: 0; margin: 0 0 1.1rem; padding: 0; border: 0; }
.subgroep > legend.veldlabel { float: none; width: auto; margin: 0 0 .5rem; font-size: 1rem; font-weight: 700; letter-spacing: 0; }
.subgroep .tijdknoppen { grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); }
.subgroep .tijdknop { min-height: 48px; }
.subgroep .tijdknop-uur { white-space: normal; font-size: .9375rem; }

.uitklap { margin: .25rem 0 1rem; padding: .25rem 0 0 1rem; border-left: 3px solid var(--lijn); }
.groep .keuze { margin-bottom: .5rem; }

.honingpot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Gerechten */
.gerechtrijen { display: grid; gap: .6rem; margin: .5rem 0 .75rem; padding: 0; list-style: none; }
.gerechtrij {
  position: relative;
  display: grid;
  gap: .55rem;
  padding: .85rem 1rem 2.6rem;
  border-radius: var(--r-veld);
  box-shadow: inset 0 0 0 1.5px var(--lijn);
}
.gerechtrij-boven { display: grid; grid-template-columns: 4.75rem minmax(0, 1fr); gap: .55rem .6rem; }
.gerechtrij-prijs { grid-column: 1 / -1; max-width: 9rem; }
@media (min-width: 34rem) {
  .gerechtrij-boven { grid-template-columns: 4.75rem minmax(0, 1fr) 7rem; }
  .gerechtrij-prijs { grid-column: auto; max-width: none; }
}
.gerechtrij select {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: .25rem;
  padding: .4rem .5rem;
  border: 1.5px solid var(--lijn-sterk);
  border-radius: var(--r-veld);
  background: var(--papier);
  color: var(--inkt);
  font: inherit;
  font-size: 1.375rem;
}
.gerechtrij .mini .zacht { display: inline; font-size: .8125rem; font-weight: 400; }
.gerechtknoppen { margin: 0 0 .5rem; }
.groep.fout .gerechtrij { box-shadow: inset 0 0 0 1.5px var(--fout); }

/* Kleurstalen */
.kleurstalen { display: flex; flex-wrap: wrap; gap: .75rem 1rem; }
.staal { position: relative; display: grid; justify-items: center; gap: .3rem; width: 3.75rem; cursor: pointer; }
.staal input[type="radio"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.staal-kleur { display: block; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--inkt); }
.staal-klein { display: inline-block; width: 1rem; height: 1rem; vertical-align: -.15em; }
.staal-naam { color: var(--inkt-zacht); font-size: .8125rem; font-weight: 600; }
.staal:has(input:checked) .staal-kleur,
.staal-eigen:has(input[type="radio"]:checked) input[type="color"] { box-shadow: 0 0 0 3px var(--papier), 0 0 0 5px var(--inkt); }
.staal:has(input:checked) .staal-naam { color: var(--inkt); }
.staal:has(input:focus-visible) .staal-kleur { outline: 3px solid var(--inkt); outline-offset: 4px; }
.staal-eigen input[type="color"] {
  position: relative;
  z-index: 1;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
}
.staal-eigen input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.staal-eigen input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 50%; }
.staal-eigen input[type="color"]::-moz-color-swatch { border: 0; border-radius: 50%; }
[data-kleur="#F2B10F"].staal-kleur { background: #F2B10F; }
[data-kleur="#C8281B"].staal-kleur { background: #C8281B; }
[data-kleur="#D2601A"].staal-kleur { background: #D2601A; }
[data-kleur="#1F7A4D"].staal-kleur { background: #1F7A4D; }
[data-kleur="#2346D3"].staal-kleur { background: #2346D3; }
[data-kleur="#6B3FA0"].staal-kleur { background: #6B3FA0; }
[data-kleur="#B0185A"].staal-kleur { background: #B0185A; }
[data-kleur="#1B2333"].staal-kleur { background: #1B2333; }

/* Live voorbeeld in een gsm-kader: dezelfde onderdelen als de echte site, kleiner */
.voorbeeld { position: sticky; top: 1.25rem; }
.voorbeeld-kop { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 .6rem; }
.voorbeeld-titel { margin: 0; color: var(--inkt-zacht); font-size: .9375rem; font-weight: 700; }
.voorbeeld-sluit, .voorbeeld-open { display: none; }
.voorbeeld-gsm {
  height: min(42rem, calc(100vh - 5rem));
  overflow: hidden;
  border: 10px solid var(--inkt);
  border-radius: 40px;
  background: var(--papier);
  box-shadow: 0 28px 48px -28px rgba(32, 27, 23, .55);
}
.voorbeeld-scherm { height: 100%; overflow-y: auto; pointer-events: none; font-size: .9375rem; }
.voorbeeld-scherm .held-binnen { padding: 1.4rem 1rem 1.25rem; }
.voorbeeld-scherm .held-org { font-size: .875rem; margin-bottom: .4rem; }
.voorbeeld-scherm .held-titel { font-size: 3rem; }
.voorbeeld-scherm .held-dagen { grid-template-columns: 1fr 1fr; gap: .6rem .9rem; margin-top: 1rem; }
.voorbeeld-scherm .held-dag { font-size: .875rem; }
.voorbeeld-scherm .held-uren { font-size: .8125rem; }
.voorbeeld-scherm .held-plaats { margin-top: .75rem; font-size: .8125rem; }
.voorbeeld-scherm .startactie { padding: 1rem 1rem 0; }
.voorbeeld-scherm .held-status { margin-bottom: .75rem; font-size: .875rem; }
.voorbeeld-scherm .held-intro { margin-bottom: .75rem; font-size: .9375rem; }
.voorbeeld-scherm .knop-start { min-height: 48px; font-size: 1rem; }
.voorbeeld-deel { padding: 1.25rem 1rem 0; }
.voorbeeld-deel:last-child { padding-bottom: 1.5rem; }
.voorbeeld-label { margin: 0 0 .6rem; font-weight: 800; font-size: 1.125rem; letter-spacing: -.01em; }
.voorbeeld-scherm .gerecht { padding: .8rem 0; }
.voorbeeld-scherm .gerecht:has(.gerecht-beeld) { grid-template-columns: 2.6rem minmax(0, 1fr); column-gap: .7rem; }
.voorbeeld-scherm .gerecht-beeld { width: 2.6rem; height: 2.6rem; font-size: 1.4rem; border-radius: 10px; }
.voorbeeld-scherm .gerecht-info .gerecht-naam { margin: 0; color: var(--inkt); font-weight: 700; font-size: 1rem; line-height: 1.25; overflow-wrap: break-word; }
.voorbeeld-scherm .gerecht-bestel { min-height: 38px; margin-top: .4rem; }
.voorbeeld-scherm .prijs { font-size: .9375rem; }
.voorbeeld-toevoegen {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 .8rem;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px var(--inkt);
  font-weight: 700;
  font-size: .8125rem;
  white-space: nowrap;
}
.voorbeeld-scherm .momentdag-naam { font-size: .875rem; }
.voorbeeld-scherm .tijdknoppen { grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr)); }
.voorbeeld-scherm .tijdknop { min-height: 44px; }
.voorbeeld-scherm .tijdknop-uur { font-size: .875rem; }
.voorbeeld-scherm .tijdknop.is-gekozen { background: var(--inkt); box-shadow: none; color: #fff; }

@media (max-width: 63.99rem) {
  .voorbeeld { display: none; }
  .voorbeeld-open {
    position: fixed;
    right: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    z-index: 20;
    display: inline-flex;
    box-shadow: 0 10px 28px rgba(32, 27, 23, .35);
  }
  body.toon-voorbeeld { overflow: hidden; }
  body.toon-voorbeeld .voorbeeld {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: block;
    padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
    background: var(--vlak);
  }
  body.toon-voorbeeld .voorbeeld-sluit { display: inline-block; min-height: 44px; }
  body.toon-voorbeeld .voorbeeld-open { display: none; }
  .voorbeeld-gsm { max-width: 22rem; height: calc(100dvh - 5.5rem); margin: 0 auto; }
  .aanvraag .balk { margin-bottom: 4.5rem; }
}

/* Beheer van de aanvragen */
.statuskeuze { margin: 0 0 1.25rem; }
.statusknop {
  min-height: 40px;
  padding: 0 .85rem;
  border: 0;
  border-radius: 999px;
  background: var(--papier);
  box-shadow: inset 0 0 0 1.5px var(--lijn-sterk);
  color: var(--inkt);
  font: inherit;
  font-weight: 600;
  font-size: .9375rem;
  cursor: pointer;
}
.statusknop[aria-current] { background: var(--inkt); box-shadow: none; color: #fff; }
.status-nieuw { background: var(--merk-zacht); color: var(--merk-donker); }
.status-bezig { background: var(--let-op-zacht); color: var(--let-op); }
.status-klaar { background: var(--ok-zacht); color: var(--ok); }
.gegevenslijst .lijn { display: block; font-weight: 600; }
.gegevenslijst .zacht { font-weight: 400; }
.opmerking { white-space: pre-line; font-weight: 400 !important; }
.prijslijst { margin: 0; padding: 0; list-style: none; }
.prijslijst li { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--lijn); }
.prijslijst li:last-child { border-bottom: 0; }
.prijslijst-naam { font-weight: 600; }
.prijslijst-prijs { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
