/* Havenlicht reservatieformulier. Kleuren aanpasbaar per site met deze variabelen:
   --hlr-tekst, --hlr-zacht, --hlr-veld, --hlr-rand, --hlr-accent, --hlr-accent-tekst, --hlr-radius, --hlr-font */
.hlr { --_t: var(--hlr-tekst, #1d2733); --_z: var(--hlr-zacht, #5a6878); --_v: var(--hlr-veld, #fff); --_r: var(--hlr-rand, #d5dce5); --_a: var(--hlr-accent, #0E2A47); --_at: var(--hlr-accent-tekst, #fff); --_rad: var(--hlr-radius, 10px);
  display: grid; gap: 16px; color: var(--_t); font-family: var(--hlr-font, inherit); text-align: left; }
.hlr-rij { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hlr-veld { display: grid; gap: 6px; font-size: .92rem; }
.hlr-veld > span { font-weight: 600; letter-spacing: .02em; }
.hlr-veld small { color: var(--_z); font-size: .8rem; }
.hlr input:not([type=radio]), .hlr select, .hlr textarea { font: inherit; font-size: 1rem; color: var(--_t); background: var(--_v); border: 1px solid var(--_r); border-radius: var(--_rad); padding: 11px 12px; width: 100%; box-sizing: border-box; }
.hlr input:focus-visible, .hlr select:focus-visible, .hlr textarea:focus-visible { outline: 2px solid var(--_a); outline-offset: 1px; }
.hlr-uren { border: 0; padding: 0; margin: 0; min-width: 0; }
.hlr-uren legend { font-weight: 600; font-size: .92rem; margin-bottom: 8px; padding: 0; }
.hlr-dienst { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.hlr-dienst strong { width: 100%; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--_z); }
.hlr-slot { position: relative; }
.hlr-slot input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hlr-slot label { display: inline-block; min-width: 64px; text-align: center; padding: 9px 10px; border: 1px solid var(--_r); border-radius: var(--_rad); cursor: pointer; font-variant-numeric: tabular-nums; transition: background .15s, border-color .15s; }
.hlr-slot input:checked + label { background: var(--_a); border-color: var(--_a); color: var(--_at); }
.hlr-slot input:focus-visible + label { outline: 2px solid var(--_a); outline-offset: 2px; }
.hlr-vol label { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.hlr-extra { display: grid; gap: 16px; }
.hlr-extra:empty { display: none; }
.hlr-leeg { color: var(--_z); font-size: .92rem; margin: 0; }
.hlr-pot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.hlr-knop { justify-self: start; font: inherit; font-weight: 600; letter-spacing: .04em; padding: 14px 24px; border: 0; border-radius: var(--_rad); background: var(--_a); color: var(--_at); cursor: pointer; }
.hlr-knop:disabled { opacity: .6; cursor: wait; }
.hlr-status { margin: 0; min-height: 1.4em; font-size: .92rem; }
.hlr-fout { color: #c0392b; }
.hlr-klaar { padding: 24px; border: 1px solid var(--hlr-rand, #d5dce5); border-radius: var(--hlr-radius, 10px); text-align: center; }
.hlr-klaar h3 { margin: 0 0 8px; }
@media (max-width: 520px) { .hlr-rij { grid-template-columns: 1fr; } }
/* Kalender */
.hlr-kal { max-width: 360px; }
.hlr-kal-kop { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.hlr-kal-kop strong { text-transform: capitalize; font-weight: 600; }
.hlr-kal-nav { font: inherit; font-size: 1.3rem; line-height: 1; width: 40px; height: 40px; border: 1px solid var(--_r); border-radius: var(--_rad); background: transparent; color: var(--_t); cursor: pointer; }
.hlr-kal-nav:disabled { opacity: .3; cursor: default; }
.hlr-kal-raster { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.hlr-kal-wd { text-align: center; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--_z); padding-bottom: 4px; }
.hlr-kal-dag { font: inherit; font-variant-numeric: tabular-nums; aspect-ratio: 1; min-height: 40px; border: 1px solid var(--_r); border-radius: var(--_rad); background: transparent; color: var(--_t); cursor: pointer; padding: 0; }
.hlr-kal-dag:hover:not(:disabled) { border-color: var(--_a); }
.hlr-kal-dag:focus-visible, .hlr-kal-nav:focus-visible { outline: 2px solid var(--_a); outline-offset: 2px; }
.hlr-kal-gekozen { background: var(--_a); border-color: var(--_a); color: var(--_at); font-weight: 600; }
.hlr-kal-dicht { border-color: transparent; opacity: .35; text-decoration: line-through; cursor: not-allowed; }
/* Zwevende knop rechtsonder + uitschuifkader. Extra variabelen: --hlr-paneel (achtergrond), --hlr-knop-bg, --hlr-knop-tekst */
.hlr-zweef { position: fixed; right: 20px; bottom: 20px; z-index: 900; font-family: var(--hlr-font, inherit); }
.hlr-zweef-knop { display: inline-flex; align-items: center; gap: 10px; font: inherit; font-weight: 600; letter-spacing: .04em; padding: 14px 20px 14px 16px; border: 0; border-radius: 999px; background: var(--hlr-knop-bg, var(--hlr-accent, #0E2A47)); color: var(--hlr-knop-tekst, var(--hlr-accent-tekst, #fff)); box-shadow: 0 10px 30px rgba(0, 0, 0, .28); cursor: pointer; transition: transform .2s; }
.hlr-zweef-knop:hover { transform: translateY(-2px); }
.hlr-zweef-knop:focus-visible { outline: 3px solid var(--hlr-accent, #0E2A47); outline-offset: 3px; }
.hlr-zweef-knop svg { width: 22px; height: 22px; flex: none; }
.hlr-paneel { position: absolute; right: 0; bottom: calc(100% + 12px); width: min(420px, calc(100vw - 40px)); max-height: min(700px, calc(100vh - 170px)); overflow: auto; overscroll-behavior: contain; background: var(--hlr-paneel, #fff); color: var(--hlr-tekst, #1d2733); border: 1px solid var(--hlr-rand, #d5dce5); border-radius: calc(var(--hlr-radius, 10px) + 6px); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); transform-origin: bottom right; animation: hlr-op .22s ease-out; }
.hlr-paneel[hidden] { display: none; }
.hlr-paneel-kop { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 12px 20px; background: inherit; border-bottom: 1px solid var(--hlr-rand, #d5dce5); }
.hlr-paneel-kop h2 { margin: 0; font-size: 1.15rem; line-height: 1.2; }
.hlr-sluit { font: inherit; font-size: 1.6rem; line-height: 1; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.hlr-sluit:hover { background: rgba(127, 127, 127, .15); }
.hlr-sluit:focus-visible { outline: 2px solid var(--hlr-accent, #0E2A47); }
.hlr-paneel-vak { padding: 16px 20px 20px; }
.hlr-paneel .hlr-rij { grid-template-columns: 1fr; }
.hlr-paneel .hlr-kal { max-width: none; }
.hlr-paneel .hlr-knop { justify-self: stretch; }
@keyframes hlr-op { from { opacity: 0; transform: translateY(10px) scale(.97); } }
@media (prefers-reduced-motion: reduce) { .hlr-paneel { animation: none; } .hlr-zweef-knop { transition: none; } }
@media (max-width: 520px) {
  .hlr-zweef { right: 14px; bottom: 14px; }
  .hlr-zweef.hlr-open { left: 0; right: 0; bottom: 0; }
  .hlr-zweef.hlr-open .hlr-zweef-knop { display: none; }
  .hlr-zweef.hlr-open .hlr-paneel { position: fixed; left: 0; right: 0; bottom: 0; width: auto; max-height: 88vh; border-radius: 18px 18px 0 0; }
}
@media print { .hlr-zweef { display: none; } }
.hlr-melding { margin: 0; padding: 12px 14px; border-left: 4px solid var(--_a); background: rgba(127, 127, 127, .08); border-radius: var(--_rad); font-size: .92rem; line-height: 1.5; }
.hlr-melding[hidden] { display: none; }
