/* ==========================================================================
   Unitedstudios — reserveringssysteem (boeken / account / admin)
   Club-stijl: cream, terracotta, Bricolage + Hanken.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,600;12..96,700;12..96,800&family=Hanken+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@500;600&display=swap");

:root {
  --us-zwart: #2a251e;
  --us-beige: #e5dbc8;
  --us-oranje: #bc5e3a;
  --us-geel: #e8916b;
  --us-blauw: #5b6e9e;

  --pg: #e5dbc8;
  --pg-alt: #efe7d8;
  --card: #efe7d8;
  --ink: #2a251e;
  --muted: #756b5a;
  --line: rgba(42, 37, 30, 0.18);
  --ok: #3d6b45;
  --err: #b83a2a;

  --font-head: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;

  --shadow: 0 18px 50px -28px rgba(42, 37, 30, 0.45);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--pg);
  -webkit-font-smoothing: antialiased;
  padding-top: var(--nav-h);
}

::selection { background: var(--us-zwart); color: var(--us-beige); }

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

.container { width: min(1180px, 94vw); margin-inline: auto; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 700; }
h1 em, h2 em { color: var(--us-oranje); font-style: italic; }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); font-weight: 600; }
h3 { font-size: 1.1rem; line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; }

.muted { color: var(--muted); }

/* ---------- Knoppen ---------- */

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  text-align: center;
  background: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--us-oranje); color: #fff; border-color: var(--us-oranje); }
.btn-primary:hover { background: var(--us-zwart); border-color: var(--us-zwart); color: var(--us-beige); }
.btn-ghost { background: transparent; color: var(--ink); border-color: currentColor; }
.btn-ghost:hover { background: var(--ink); color: var(--us-beige); }
.btn-sm { padding: 7px 16px; font-size: 0.85rem; }
.btn-block { display: block; width: 100%; }
.btn-danger { color: var(--err); border-color: var(--err); background: transparent; }
.btn-danger:hover { background: var(--err); color: #fff; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ---------- Navigatie ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(229, 219, 200, 0.9);
  backdrop-filter: blur(10px);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); gap: 18px;
}
.nav-logo {
  font-family: var(--font-head); font-weight: 800;
  font-size: 1.25rem; text-decoration: none; white-space: nowrap;
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--us-oranje); font-style: italic; }
.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 0.95rem; opacity: 0.85; }
.nav-links a:hover, .nav-links a.is-current { opacity: 1; color: var(--us-oranje); }
.nav-links .btn-nav {
  padding: 9px 18px; opacity: 1; color: var(--us-beige);
  background: var(--us-zwart); border-color: var(--us-zwart);
}
.nav-links .btn-nav:hover {
  background: var(--us-oranje); border-color: var(--us-oranje); color: #fff;
}
.nav-user { font-size: 0.88rem; opacity: 0.85; white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; position: relative; }
.nav-toggle span {
  position: absolute; left: 8px; right: 8px; height: 2px; background: var(--ink);
}
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 25px; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--pg); padding: 10px 4vw 18px;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 11px 0; opacity: 1; }
}

/* ---------- Paginakop ---------- */

.page-head { padding: 44px 0 18px; }
.page-head .kicker {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 600; font-size: 0.75rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px;
}
.page-head p.lead { max-width: 640px; margin-top: 12px; color: var(--muted); }

/* ---------- Kalender-toolbar ---------- */

.cal-toolbar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  padding: 14px 0; position: sticky; top: var(--nav-h); z-index: 40;
  background: var(--pg);
}
.cal-nav { display: flex; align-items: center; gap: 6px; }
.cal-nav button {
  width: 38px; height: 38px; border: 1px solid var(--ink); background: transparent;
  border-radius: 50%; font-size: 1.05rem; line-height: 1; font-weight: 500;
}
.cal-nav button:hover { background: var(--ink); color: #fff; }
.cal-nav .cal-today { width: auto; padding: 0 16px; font-size: 0.85rem; border-radius: 100px; }
.cal-title { font-family: var(--font-head); font-weight: 500; font-size: 1.05rem; min-width: 210px; }

.seg { display: inline-flex; border: 1px solid var(--ink); border-radius: 100px; overflow: hidden; }
.seg button {
  padding: 8px 18px; background: transparent; border: 0; font-weight: 500; font-size: 0.87rem;
  border-right: 1px solid var(--ink);
}
.seg button:last-child { border-right: 0; }
.seg button.is-active { background: var(--us-zwart); color: #fff; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 15px; border: 1px solid var(--line); background: var(--card);
  border-radius: 100px; font-weight: 500; font-size: 0.84rem;
}
.chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--chip-color, var(--muted)); }
.chip.is-active { border-color: var(--ink); background: var(--us-zwart); color: #fff; }

/* ---------- Legenda ---------- */

.legend { display: flex; flex-wrap: wrap; gap: 16px; padding: 8px 0 14px; font-size: 0.84rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 14px; height: 14px; display: inline-block; border: 1px solid var(--ink); }
.legend .l-free { background: var(--card); }
.legend .l-busy { background: var(--us-blauw); border-color: var(--us-blauw); }
.legend .l-own { background: var(--us-oranje); border-color: var(--us-oranje); }
.legend .l-block { background: repeating-linear-gradient(-45deg, #555, #555 4px, #666 4px, #666 8px); border-color: #555; }
.legend .l-option { background: #d97706; border-color: #92400e; }

/* ---------- Weekweergave ---------- */

.cal-wrap { background: var(--card); border: 1px solid var(--ink); border-radius: 6px; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06); overflow-x: auto; margin-bottom: 56px; }
.cal-week { min-width: 760px; }
.cal-head-row {
  display: grid; grid-template-columns: 56px repeat(var(--days, 7), 1fr);
  border-bottom: 1px solid var(--ink); background: var(--pg-alt);
  position: sticky; top: 0;
}
.cal-head-cell { padding: 9px 6px; text-align: center; font-weight: 500; font-size: 0.82rem; border-left: 1px solid var(--line); }
.cal-head-cell small { display: block; font-weight: 400; color: var(--muted); }
.cal-head-cell.is-today { background: var(--us-zwart); color: #fff; }
.cal-head-cell.is-today small { color: var(--us-oranje); }

.cal-body { display: grid; grid-template-columns: 56px repeat(var(--days, 7), 1fr); position: relative; }
.cal-times { display: grid; grid-auto-rows: var(--hour-h, 44px); }
.cal-times div {
  font-size: 0.72rem; color: var(--muted); text-align: right; padding: 2px 7px 0 0;
  border-top: 1px solid var(--line);
}
.cal-day-col { position: relative; border-left: 1px solid var(--line); }
.cal-day-col .hour-line { position: absolute; left: 0; right: 0; border-top: 1px solid var(--line); pointer-events: none; }
.cal-day-col.is-past { background: rgba(42, 37, 30, 0.04); }

.cal-slot {
  position: absolute; left: 0; right: 0;
  cursor: pointer;
}
.cal-slot:hover { background: rgba(188, 94, 58, 0.12); outline: 1px dashed var(--us-oranje); outline-offset: -2px; }

.cal-block {
  position: absolute; overflow: hidden; cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-left: 4px solid var(--block-color, var(--us-blauw));
  border-radius: 4px;
  background: var(--us-blauw);
  color: #fff;
  font-size: 0.72rem; line-height: 1.25; padding: 3px 6px;
}
.cal-block strong { display: block; font-size: 0.72rem; }
.cal-block.is-own {
  background: var(--us-oranje); color: #fff;
  border-color: rgba(0, 0, 0, 0.2); border-left-color: var(--us-zwart);
}
.cal-block.is-blocked {
  background: repeating-linear-gradient(-45deg, #555, #555 5px, #666 5px, #666 10px);
  color: #f2f2f2;
}
.cal-block.is-option,
.cal-block.is-optie {
  background: #d97706;
  color: #fff;
  border-left-color: #92400e;
  border-color: rgba(0, 0, 0, 0.15);
}
.cal-block.is-cancelled { opacity: 0.45; text-decoration: line-through; }
.cal-block:hover { filter: brightness(1.06); }

/* ---------- Maandweergave ---------- */

.cal-month { display: grid; grid-template-columns: repeat(7, 1fr); min-width: 700px; }
.cal-month-head {
  padding: 9px 6px; text-align: center; font-weight: 700; font-size: 0.8rem;
  background: var(--pg-alt); border-bottom: 2px solid var(--ink); border-left: 1px solid var(--line);
}
.cal-month-day {
  min-height: 104px; border-left: 1px solid var(--line); border-top: 1px solid var(--line);
  padding: 6px; cursor: pointer; position: relative;
}
.cal-month-day:hover { background: rgba(188, 94, 58, 0.07); }
.cal-month-day.is-other { background: rgba(42, 37, 30, 0.04); color: var(--muted); }
.cal-month-day.is-past { opacity: 0.55; cursor: default; }
.cal-month-day .d-num { font-weight: 700; font-size: 0.85rem; }
.cal-month-day.is-today .d-num {
  background: var(--us-zwart); color: var(--us-beige);
  display: inline-block; min-width: 24px; text-align: center; padding: 1px 5px; border-radius: 4px;
}
.d-items { margin-top: 5px; display: flex; flex-direction: column; gap: 3px; }
.d-item {
  font-size: 0.68rem; line-height: 1.3; padding: 1px 5px;
  border-left: 3px solid var(--block-color, var(--muted));
  background: var(--pg-alt); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.d-item.is-own { background: var(--us-oranje); color: #fff; border-color: var(--us-zwart); }
.d-item.is-blocked { background: #555; color: #f2f2f2; }
.d-item.is-option { background: #fef3c7; color: #92400e; border-color: #d97706; }
.d-free { font-size: 0.68rem; color: var(--ok); margin-top: 4px; font-weight: 600; }

/* ---------- Popup / modal ---------- */

.modal-backdrop {
  position: fixed; inset: 0; z-index: 200; background: rgba(29, 29, 27, 0.6);
  display: flex; align-items: flex-start; justify-content: center;
  padding: max(4vh, 20px) 16px; overflow-y: auto;
}
.modal-backdrop[hidden] { display: none; }
.modal {
  background: var(--card); border-radius: 6px; box-shadow: var(--shadow);
  width: min(560px, 100%); position: relative; padding: 28px;
}
.modal-close {
  position: absolute; top: 10px; right: 10px; width: 36px; height: 36px;
  border: 0; background: none; font-size: 1.5rem; line-height: 1;
}
.modal-close:hover { color: var(--us-oranje); }
.modal h3 { margin-bottom: 4px; }
.modal .modal-sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 16px; }

/* ---------- Formulieren ---------- */

.form-row { margin-bottom: 15px; }
.form-row > label, .form-label {
  display: block; font-weight: 500; font-size: 0.85rem; margin-bottom: 6px;
}
input[type="text"], input[type="email"], input[type="password"], input[type="tel"],
input[type="date"], input[type="number"], select, textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); background: var(--us-beige);
  border-radius: 6px; font: inherit; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--us-oranje); }
.form-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .form-split { grid-template-columns: 1fr; } }

.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; margin-bottom: 8px; cursor: pointer; }
.checkbox input { margin-top: 4px; accent-color: var(--us-oranje); }

.choice-grid { display: grid; gap: 8px; }
.choice-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 560px) { .choice-grid.cols-3 { grid-template-columns: 1fr; } }
.choice-btn {
  padding: 10px 12px; border: 1px solid var(--line); background: var(--us-beige); text-align: left;
  border-radius: 6px; font-weight: 500; font-size: 0.88rem; position: relative;
}
.choice-btn span { display: block; font-weight: 400; font-size: 0.78rem; color: var(--muted); }
.choice-btn.is-active { border-color: var(--us-oranje); background: rgba(188, 94, 58, 0.12); }
.choice-btn.is-active::after {
  content: "✓"; position: absolute; top: 6px; right: 9px; color: var(--us-oranje); font-weight: 700;
}
.choice-btn[disabled] { opacity: 0.45; cursor: not-allowed; }

.hour-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; }
.hour-btn { padding: 8px 4px; border: 1px solid var(--line); background: var(--us-beige); border-radius: 6px; font-weight: 500; font-size: 0.86rem; }
.hour-btn.is-active { border-color: var(--us-oranje); background: var(--us-oranje); color: #fff; }
.hour-btn[disabled] { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }

.summary { border: 1px solid var(--ink); border-radius: 4px; background: var(--pg-alt); padding: 14px 16px; margin: 16px 0; font-size: 0.93rem; }
.summary > div { display: flex; justify-content: space-between; padding: 3px 0; }
.summary .sum-discount { color: var(--ok); font-weight: 500; }
.summary .sum-total { border-top: 1px solid var(--ink); margin-top: 7px; padding-top: 9px; font-weight: 700; font-size: 1.02rem; }

.form-error { color: var(--err); font-weight: 600; font-size: 0.9rem; margin: 10px 0; }
.form-ok { color: var(--ok); font-weight: 600; font-size: 0.9rem; margin: 10px 0; }

.hint-box {
  border-left: 3px solid var(--us-oranje); background: var(--pg-alt);
  border-radius: 4px; padding: 11px 14px; font-size: 0.88rem; margin: 14px 0;
}
.hint-box a { color: var(--us-oranje); font-weight: 600; }

/* ---------- Bevestiging & deurcode ---------- */

.confirm-panel { text-align: center; padding: 8px 0; }
.confirm-icon {
  width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--us-oranje); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.confirm-code {
  border: 2px dashed var(--us-oranje); border-radius: 6px; background: var(--pg-alt);
  padding: 16px; margin: 18px 0;
}
.confirm-code span { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; }
.confirm-code strong {
  display: block; font-family: var(--font-head); font-size: 2rem; letter-spacing: 0.35em;
  margin: 6px 0 4px; color: var(--us-oranje);
}
.confirm-code small { color: var(--muted); }

/* ---------- Account ---------- */

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 820px) { .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
  padding: 24px; margin-bottom: 24px;
}
.card h2, .card h3 { margin-bottom: 14px; }

.tabs { display: flex; border-bottom: 2px solid var(--ink); margin-bottom: 20px; }
.tabs button {
  padding: 10px 18px; border: 0; background: none; font-weight: 700; font-size: 0.92rem;
  border-bottom: 3px solid transparent; margin-bottom: -2px;
}
.tabs button.is-active { border-bottom-color: var(--us-oranje); color: var(--us-oranje); }

.loyalty-bar-wrap { background: var(--pg-alt); border: 1px solid var(--line); height: 18px; position: relative; margin: 10px 0 6px; }
.loyalty-bar { height: 100%; background: var(--us-oranje); transition: width 0.5s ease; }
.loyalty-tiers { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tier-badge {
  font-size: 0.78rem; font-weight: 700; padding: 4px 10px;
  border: 2px solid var(--line); color: var(--muted);
}
.tier-badge.is-reached { border-color: var(--us-oranje); background: var(--us-oranje); color: #fff; }

.booking-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.booking-item {
  border: 1px solid var(--line); border-left: 4px solid var(--bcolor, var(--us-oranje));
  padding: 12px 14px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  background: var(--us-beige); border-radius: 6px;
}
.booking-item .b-main { flex: 1; min-width: 200px; }
.booking-item .b-main strong { display: block; }
.booking-item .b-main small { color: var(--muted); }
.booking-item .b-price { font-weight: 800; }
.booking-item.is-cancelled { opacity: 0.55; }
.badge {
  display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; padding: 2px 8px; border: 1px solid currentColor;
}
.badge.b-ok { color: var(--ok); }
.badge.b-err { color: var(--err); }
.badge.b-muted { color: var(--muted); }
.badge.b-accent { color: var(--us-oranje); }
.badge.b-warn { color: #9a7b00; }

/* ---------- Tabellen (admin) ---------- */

.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 0.88rem; background: var(--us-beige); border-radius: 6px; overflow: hidden; }
table.data th {
  text-align: left; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 9px 10px; background: var(--us-zwart); color: var(--us-beige); white-space: nowrap;
}
table.data td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data tr:hover td { background: var(--pg-alt); }
.table-actions { display: flex; gap: 6px; white-space: nowrap; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; align-items: end; }
.filters .form-row { margin-bottom: 0; }
.filters input, .filters select { width: auto; min-width: 130px; padding: 8px 10px; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 24px; }
.stat {
  background: var(--us-zwart); color: var(--us-beige); padding: 16px 18px;
}
.stat strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: var(--us-geel); }
.stat span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.07em; }
.stat small { display: block; margin-top: 6px; font-size: 0.72rem; text-transform: none; letter-spacing: 0; opacity: 0.75; }

/* ---------- Footer ---------- */

.mini-footer {
  background: var(--us-zwart); color: var(--us-beige); margin-top: 40px;
  padding: 26px 0; font-size: 0.85rem;
}
.mini-footer .container { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; }
.mini-footer a { color: var(--us-geel); text-decoration: none; }
.mini-footer a:hover { text-decoration: underline; }

/* ---------- Toast ---------- */

.toast {
  position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%);
  background: var(--us-zwart); color: var(--us-beige); padding: 12px 22px;
  z-index: 300; font-weight: 600; font-size: 0.92rem; box-shadow: var(--shadow);
  border-left: 4px solid var(--us-oranje);
}
.toast.is-error { border-left-color: var(--err); }

/* ---------- Klein ---------- */

.spinner {
  display: inline-block; width: 18px; height: 18px; border: 3px solid var(--line);
  border-top-color: var(--us-oranje); border-radius: 50%;
  animation: spin 0.8s linear infinite; vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 640px) {
  .cal-title { min-width: 0; font-size: 0.95rem; }
  .chips { margin-left: 0; width: 100%; }
  .modal { padding: 20px 16px 88px; }
  .hour-btn { min-height: 44px; font-size: 0.9rem; }
  .modal-sticky-footer { padding: 12px 16px; }
}

/* ---------- Toegankelijkheid ---------- */

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 1000;
  background: var(--us-zwart); color: var(--us-beige); padding: 10px 18px;
  border-radius: 6px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 12px; outline: 2px solid var(--us-oranje); outline-offset: 2px; }

:focus-visible {
  outline: 2px solid var(--us-oranje);
  outline-offset: 2px;
}
button:focus:not(:focus-visible), a:focus:not(:focus-visible) { outline: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Loading skeleton ---------- */

.cal-skeleton {
  padding: 24px;
  display: grid;
  gap: 10px;
}
.cal-skeleton .sk-line {
  height: 44px;
  background: linear-gradient(90deg, var(--pg-alt) 25%, var(--card) 50%, var(--pg-alt) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s ease-in-out infinite;
  border-radius: 4px;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---------- Empty states ---------- */

.empty-state {
  text-align: center; padding: 32px 20px; color: var(--muted);
}
.empty-state strong { display: block; color: var(--ink); margin-bottom: 8px; font-family: var(--font-head); }

/* ---------- Modal sticky footer (mobiel) ---------- */

.modal-sticky-footer {
  position: sticky; bottom: 0; left: 0; right: 0;
  margin: 16px -28px -28px; padding: 14px 28px;
  background: var(--card);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(42, 37, 30, 0.08);
}
@media (max-width: 640px) {
  .modal-sticky-footer { margin: 16px -16px -88px; padding: 12px 16px; }
}

.cal-toolbar { box-shadow: 0 4px 12px rgba(42, 37, 30, 0.06); }

:root { --muted: #5f5648; }

.payment-note {
  font-size: 0.86rem; color: var(--muted); margin: 10px 0 0;
  padding: 10px 12px; background: var(--pg-alt); border-radius: 4px;
  border-left: 3px solid var(--us-oranje);
}

.pagination {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  justify-content: space-between; margin-top: 14px; font-size: 0.88rem;
}
.pagination .btn[disabled] { opacity: 0.4; }
