/* ANEMOS Private: the reservation panel. It slides in from the right over the film (the whole screen on a phone). */
.reserve { position: fixed; inset: 0 0 0 auto; width: min(480px, 100vw); height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; border-left: 1px solid rgba(255, 255, 255, 0.1); background: #0b0c10; color: var(--ink); color-scheme: dark; overflow-y: auto; overscroll-behavior: contain; transform: translateX(102%); transition: transform 0.55s var(--ease-out); }
.reserve.in { transform: none; }
.reserve::backdrop { background: rgba(3, 4, 6, 0); transition: background 0.45s; }
.reserve.in::backdrop { background: rgba(3, 4, 6, 0.62); }
.rv-in { position: relative; padding: 44px 40px 40px; }
.rv-close { position: absolute; right: 22px; top: 20px; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 50%; background: none; font-size: 22px; font-weight: 300; line-height: 1; cursor: pointer; transition: background 0.25s, color 0.25s, transform 0.3s var(--ease-out); }
@media (hover: hover) { .rv-close:hover { background: var(--ink); color: #0b0c10; transform: rotate(90deg); } }
.reserve .eyebrow { font-size: 9.5px; }
.rv-title { margin: 14px 0 0; font-weight: 300; font-size: 46px; line-height: 1; letter-spacing: -0.045em; }
.rv-lead { margin: 14px 0 0; font-size: 14px; line-height: 1.5; color: rgba(244, 241, 234, 0.78); }

.rv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 22px; margin-top: 30px; }
.f { display: block; min-width: 0; }
.f.full { grid-column: 1 / -1; }
.f > span { display: block; margin-bottom: 7px; font-size: 9.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }
.f input:not([type="checkbox"]), .f select { display: block; width: 100%; height: 40px; padding: 0 2px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.28); border-radius: 0; background: transparent; font: 400 15.5px/1 var(--sans); color: var(--ink); transition: border-color 0.25s; }
.f select { padding-right: 18px; cursor: pointer; }
.f select option { background: #14151a; color: var(--ink); }
.f input::placeholder { color: rgba(244, 241, 234, 0.38); }
.f input:hover, .f select:hover { border-bottom-color: rgba(255, 255, 255, 0.6); }
.f input:not([type="checkbox"]):focus-visible, .f select:focus-visible { outline: none; border-bottom-color: var(--gold); box-shadow: 0 1px 0 var(--gold); }
.f [aria-invalid="true"] { border-bottom-color: #ff9d85 !important; }
.err { display: block; margin-top: 7px; font-size: 12px; font-style: normal; line-height: 1.35; color: #ffb39f; }
.err[hidden] { display: none; }
.f.check { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 10px; cursor: pointer; transition: border-color 0.25s, background 0.25s; }
.f.check:hover { border-color: rgba(255, 255, 255, 0.4); }
.f.check:has(input:checked) { border-color: var(--gold); background: rgba(216, 185, 101, 0.08); }
.f.check input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--gold); cursor: pointer; }
.f.check > span { margin: 0; font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink); }

.rv-sum { margin-top: 28px; padding: 16px 18px 6px; border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 12px; background: rgba(255, 255, 255, 0.025); }
.reserve dl { display: grid; grid-template-columns: 84px 1fr; gap: 0; margin: 10px 0 0; font-size: 13.5px; line-height: 1.4; }
.reserve dt { padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); color: var(--ink-soft); }
.reserve dd { margin: 0; padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); overflow-wrap: anywhere; }
.reserve dd.todo { color: rgba(244, 241, 234, 0.4); }
.pill.wide { width: 100%; height: 48px; margin-top: 22px; font-size: 13.5px; }
.rv-note { margin: 12px 0 0; font-size: 12px; text-align: center; color: rgba(244, 241, 234, 0.55); }

.rv-done { margin-top: 26px; }
.rv-done[hidden] { display: none; }
.tick { display: block; width: 48px; height: 48px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.rv-done h3 { margin: 20px 0 0; font-weight: 300; font-size: 34px; line-height: 1.05; letter-spacing: -0.04em; overflow-wrap: anywhere; }
.rv-done p { margin: 14px 0 0; font-size: 14px; line-height: 1.55; color: rgba(244, 241, 234, 0.8); }
.rv-done dl { margin-top: 22px; }
.rv-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.rv-actions .pill { height: 42px; padding: 0 20px; font-size: 12.5px; }

@media (max-width: 820px) {
  .reserve { border-left: 0; }
  .rv-in { padding: 34px 20px 34px; }
  .rv-close { right: 14px; top: 14px; }
  .rv-title { font-size: 38px; }
  .rv-grid { gap: 20px 16px; }
  .f input:not([type="checkbox"]), .f select { height: 44px; font-size: 16px; }   /* 16px: iOS does not zoom the page on focus */
}
@media (max-width: 380px) { .rv-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .reserve, .reserve::backdrop, .rv-close { transition: none; } }
