* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { background: linear-gradient(135deg, #ffd6e8, #d6ecff); min-height: 100%; }
html, body { margin: 0; }
body {
  font-family: "Chalkboard SE", "Comic Sans MS", "Comic Neue", sans-serif;
  color: #5a4a6b;
  background: transparent;
  min-height: 100vh;
  -webkit-user-select: none; user-select: none;
}
input, select, button { font-family: inherit; color: inherit; }
button { cursor: pointer; border: none; }
.verborgen { display: none !important; }

/* ---------- knoppen ---------- */
.knop {
  border-radius: 18px; padding: 12px 20px; font-size: 20px; font-weight: bold; color: white;
  background: #ff9ec4; box-shadow: 0 5px 0 #e57fa8; transition: transform .08s;
}
.knop:active { transform: translateY(3px); box-shadow: 0 2px 0 #e57fa8; }
.knop.lila { background: #b9a6d6; box-shadow: 0 5px 0 #9a86ba; }
.knop.blauw { background: #8ec5f5; box-shadow: 0 5px 0 #6aa8dd; }
.knop.geel { background: #ffd45e; box-shadow: 0 5px 0 #e3b53c; color: #6b5420; }
.knop.grijs { background: #cfc6da; box-shadow: 0 5px 0 #b3a8c2; }
.knop.klein { font-size: 16px; padding: 8px 14px; border-radius: 14px; }
.knop.breed { width: 100%; }
.knop:disabled { opacity: .45; }

/* ---------- bovenbalk ---------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px 6px; flex-wrap: wrap; }
.top h1 { margin: 0; color: #d16ba5; font-size: 38px; }
.spaarpot { background: #fff3c4; border-radius: 18px; padding: 9px 16px; font-size: 20px; font-weight: bold; box-shadow: 0 4px 0 rgba(0,0,0,.07); }
.dagbalk { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 18px; color: #8a6fb0; padding: 0 20px 6px; }

/* ---------- hoofdscherm ---------- */
.main { display: flex; gap: 18px; padding: 8px 20px 30px; align-items: flex-start; }
.links { flex: 1.65; min-width: 0; }
.rechts { flex: 1; min-width: 260px; display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 900px) { .main { flex-direction: column; } .rechts { width: 100%; } .top h1 { font-size: 30px; } }

.vak { background: rgba(255,255,255,.6); border-radius: 22px; padding: 10px 14px 14px; margin-bottom: 12px; }
.vak h2 { margin: 0 0 8px; color: #8a6fb0; font-size: 20px; }
.kamers { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.kamer {
  position: relative; width: 158px; border-radius: 20px; padding: 8px 8px 10px; text-align: center; font-size: 14px;
  box-shadow: 0 4px 0 rgba(0,0,0,.08); overflow: hidden;
}
.kamer:active { transform: scale(.97); }
.kamer.roze { background: #ffc8dd; } .kamer.blauw { background: #bde0fe; } .kamer.lila { background: #e2c6ff; }
.kamer .nr { font-size: 24px; font-weight: bold; }
.kamer .foto { width: 74px; height: 74px; border-radius: 50%; object-fit: cover; border: 4px solid rgba(255,255,255,.8); display: block; margin: 2px auto 4px; }
.kamer .gast-foto { position: absolute; top: 8px; right: 8px; width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 3px solid white; z-index: 2; }
.kamer .gastnaam { font-weight: bold; font-size: 15px; min-height: 19px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kamer .status { margin-top: 3px; font-size: 15px; }
.kamer .extra { font-size: 15px; min-height: 18px; }
.kamer.bezet::before, .kamer.bezet::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 200px; height: 9px;
  background: #ff6b8b; border-radius: 5px; opacity: .55; pointer-events: none;
}
.kamer.bezet::before { transform: translate(-50%,-50%) rotate(52deg); }
.kamer.bezet::after { transform: translate(-50%,-50%) rotate(-52deg); }
.ballon { position: absolute; top: 4px; left: 6px; font-size: 24px; animation: zweef 2s ease-in-out infinite; }
@keyframes zweef { 50% { transform: translateY(-5px); } }

.kaart { background: white; border-radius: 22px; padding: 14px 18px; box-shadow: 0 4px 0 rgba(0,0,0,.06); }
.kaart h3 { margin: 0 0 8px; color: #d16ba5; font-size: 20px; }
.rij { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 16px; margin: 6px 0; }
.weg { text-decoration: line-through; opacity: .55; }
.leeg { opacity: .55; font-size: 15px; }
.mini-foto { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; vertical-align: middle; margin-right: 4px; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; background: rgba(90,74,107,.35); display: flex; align-items: flex-start; justify-content: center; z-index: 50; overflow-y: auto; padding: 24px 12px; }
.modal-doos { background: white; border-radius: 28px; padding: 20px 24px 24px; width: 100%; max-width: 640px; box-shadow: 0 10px 40px rgba(90,74,107,.3); position: relative; }
.modal-doos.breed { max-width: 1000px; }
.modal-doos h2 { margin: 0 0 12px; color: #d16ba5; font-size: 30px; text-align: center; }
.sluit { position: absolute; top: 12px; right: 14px; width: 44px; height: 44px; border-radius: 50%; background: #f3ecfa; font-size: 22px; }
.knoppen { display: flex; gap: 14px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }

.veld { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 19px; margin: 9px 0; flex-wrap: wrap; }
.invul { border: 3px solid #bde0fe; border-radius: 14px; padding: 7px 12px; font-size: 20px; background: #f3f9ff; -webkit-user-select: text; user-select: text; }
.invul:focus { outline: none; border-color: #ff9ec4; }
.teller { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: bold; }
.teller span { min-width: 28px; text-align: center; }
.pm { width: 42px; height: 42px; border-radius: 50%; background: #ffc8dd; font-size: 24px; font-weight: bold; }
.keuze { display: flex; gap: 8px; }
.keuze button { border-radius: 14px; padding: 7px 14px; font-size: 18px; background: #f3ecfa; }
.keuze button.aan { background: #ff9ec4; color: white; font-weight: bold; }
.vakje { background: #f7f0ff; border-radius: 18px; padding: 8px 14px; margin-top: 10px; }
.vakje h4 { margin: 4px 0; color: #8a6fb0; font-size: 18px; }
.vink { display: flex; align-items: center; gap: 8px; font-size: 17px; margin: 2px 0 6px 34px; }
.vink input { width: 24px; height: 24px; accent-color: #ff9ec4; }
.waarschuwing { color: #d9466f; font-size: 15px; margin-left: 34px; }
.nee { opacity: .5; text-decoration: line-through; }
.twee-kol { display: flex; gap: 20px; flex-wrap: wrap; }
.twee-kol > div { flex: 1; min-width: 280px; }
.app-kiest { background: #f3f9ff; border-radius: 18px; padding: 10px; text-align: center; font-size: 17px; margin-bottom: 12px; }
.app-kiest .groot { font-size: 38px; font-weight: bold; }
.totaal { border-top: 2px dashed #e2c6ff; margin-top: 8px; padding-top: 8px; font-weight: bold; font-size: 22px; color: #d16ba5; }
.terug { background: #fff3c4; border-radius: 16px; padding: 10px 14px; font-weight: bold; font-size: 21px; margin-top: 10px; }
.terug.rood { background: #ffe0e6; color: #c23a5e; }
.foto-kiezer { display: flex; align-items: center; gap: 10px; }
.foto-kiezer img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.foto-knop { position: relative; overflow: hidden; display: inline-block; }
.foto-knop input { position: absolute; inset: 0; opacity: 0; }

.vol-bericht { text-align: center; font-size: 21px; }
.vrij-balk { background: #ffc8dd; border-radius: 18px; padding: 12px; font-size: 22px; font-weight: bold; margin: 14px 0; text-align: center; }
.dagen { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
.dag { width: 84px; border-radius: 16px; padding: 10px 4px; font-size: 16px; text-align: center; box-shadow: 0 4px 0 rgba(0,0,0,.07); background: #ffc8dd; }
.dag b { display: block; font-size: 19px; }
.dag.vol { background: #eee; opacity: .55; }
.dag.gekozen { outline: 4px solid #d16ba5; }

.sterren { display: flex; justify-content: center; gap: 6px; font-size: 40px; }
.sterren button { background: none; color: #e6dcef; font-size: 40px; padding: 0 2px; }
.sterren button.aan { color: #ffc93c; }

/* groot paard bij afrekenen */
.groot-paard { text-align: center; color: #d16ba5; font-size: 22px; font-weight: bold; }
.groot-paard img { width: 100%; max-width: 400px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 8px solid #ffc8dd; box-shadow: 0 0 0 8px #d6ecff; margin: 10px 0 14px; }

/* opruimen */
.opruim { font-size: 22px; }
.opruim label { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 16px; background: #f7f0ff; margin: 8px 0; }
.opruim input { width: 30px; height: 30px; accent-color: #ff9ec4; }

/* ---------- menu ---------- */
.menu-scherm { padding: 14px 20px 30px; }
.menu-balk { display: flex; justify-content: space-between; }
.menu-blad {
  position: relative; max-width: 600px; margin: 10px auto 0; background: #fffaf3; border-radius: 30px; padding: 20px 34px 26px;
  box-shadow: 0 6px 0 rgba(0,0,0,.07); border: 6px dashed #ffc8dd; text-align: center;
}
.menu-blad .kopfoto { width: 130px; height: 130px; border-radius: 50%; object-fit: cover; border: 5px solid #ffc8dd; box-shadow: 0 0 0 5px #d6ecff; }
.menu-blad h1 { margin: 8px 0 0; color: #d16ba5; font-size: 40px; }
.menu-blad .sub { font-size: 18px; color: #8a6fb0; margin: 2px 0 10px; }
.menu-blad h2 { font-size: 22px; color: #8a6fb0; margin: 14px 0 6px; }
.menu-item { display: flex; justify-content: space-between; align-items: center; font-size: 20px; margin: 6px 0; border-bottom: 2px dotted #e2c6ff; padding-bottom: 4px; text-align: left; }
.al { font-size: 16px; margin-left: 6px; letter-spacing: 1px; }
.gf { color: #3c9a6a; font-size: 13px; font-weight: bold; margin-left: 6px; }
.legenda { font-size: 14px; margin-top: 14px; color: #8a6fb0; }
.ster-deco { position: absolute; color: #ffd84d; font-size: 28px; }

.bewerk-rij { display: flex; gap: 8px; align-items: center; margin: 8px 0; flex-wrap: wrap; }
.bewerk-rij select { flex: 1; min-width: 200px; border: 3px solid #bde0fe; border-radius: 14px; padding: 8px 10px; font-size: 18px; background: #f3f9ff; }
.bewerk-rij .prijs { width: 82px; text-align: right; }
.bewerk-rij .gv { font-size: 15px; display: flex; align-items: center; gap: 4px; }
.bewerk-rij .gv input { width: 22px; height: 22px; accent-color: #3c9a6a; }
.bewerk-rij .al-toon { min-width: 70px; font-size: 16px; }
.prullenbak { width: 42px; height: 42px; border-radius: 50%; background: #ffd6d6; font-size: 20px; }
.plus { width: 100%; border: 3px dashed #ff9ec4; color: #d16ba5; background: white; border-radius: 14px; padding: 9px; font-size: 18px; font-weight: bold; margin-top: 4px; }

.toast { position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%); background: white; border-radius: 20px; padding: 14px 24px; font-size: 22px; font-weight: bold; color: #d16ba5; box-shadow: 0 8px 30px rgba(90,74,107,.3); z-index: 80; }
.voetje { text-align: center; font-size: 12px; opacity: .6; padding: 0 20px 20px; }
.voetje button { background: none; text-decoration: underline; font-size: 12px; opacity: .8; }

/* ---------- printen ---------- */
#print { display: none; }
@media print {
  @page { size: A4; margin: 0; }
  body { background: white !important; }
  body > *:not(#print) { display: none !important; }
  html, body { min-height: 0 !important; height: auto !important; background: white !important; }
  #print { display: block !important; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.print-a4 { position: relative; width: 210mm; height: 296mm; overflow: hidden; background: linear-gradient(160deg, #ffe0ee, #e3f1ff); }
.print-a4 .rand { position: absolute; inset: 10mm; border: 5px dashed #ffb3d1; border-radius: 14mm; background: rgba(255,255,255,.78); padding: 10mm 16mm; text-align: center; }
.print-a4 .kopfoto { width: 52mm; height: 52mm; border-radius: 50%; object-fit: cover; border: 6px solid #ffc8dd; box-shadow: 0 0 0 6px #d6ecff; }
.print-a4 h1 { color: #d16ba5; font-size: 44px; margin: 5mm 0 1mm; }
.print-a4 .sub { font-size: 19px; color: #8a6fb0; margin-bottom: 4mm; }
.print-a4 h2 { font-size: 24px; color: #8a6fb0; margin: 5mm 0 2mm; }
.print-a4 .menu-item { margin: 2mm 14mm; font-size: 21px; }
.print-a4 .hoek { position: absolute; bottom: 7mm; width: 34mm; height: 34mm; border-radius: 50%; object-fit: cover; border: 5px solid #d6ecff; }
.print-a4 .voet { position: absolute; bottom: 9mm; left: 0; right: 0; font-size: 16px; color: #d16ba5; }
.print-a4 .legenda { margin-top: 4mm; }
.print-a4 .ster-deco { font-size: 30px; }

.knip { position: relative; display: inline-block; margin: 12mm 0 0 12mm; padding: 3mm; border: 0.4mm dashed #9a8aa8; }
.knip .schaar { position: absolute; top: -3.2mm; left: 6mm; font-size: 12pt; background: white; line-height: 1; padding: 0 1mm; }
.pasje { width: 85.6mm; height: 54mm; border-radius: 4mm; overflow: hidden; display: flex; align-items: center; gap: 4mm; padding: 4mm 5mm; position: relative; }
.pasje.roze { background: linear-gradient(135deg, #ffc8dd, #ffe6f0); }
.pasje.blauw { background: linear-gradient(135deg, #bde0fe, #e3f1ff); }
.pasje.lila { background: linear-gradient(135deg, #e2c6ff, #f3e8ff); }
.pasje img { width: 26mm; height: 26mm; border-radius: 50%; object-fit: cover; border: 1mm solid white; flex: none; }
.pasje .tekst { flex: 1; min-width: 0; }
.pasje .hotel { color: #d16ba5; font-size: 12pt; font-weight: bold; }
.pasje .nr { font-size: 26pt; font-weight: bold; color: #5a4a6b; line-height: 1.05; }
.pasje .naam { font-size: 11pt; font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pasje .klein { font-size: 8.5pt; }
.pasje .sterretjes { position: absolute; right: 3mm; top: 2mm; color: #ffc93c; font-size: 10pt; }
