:root {
  color-scheme: dark;
  --bg: #08090a;
  --panel: #0f1011;
  --panel-strong: #161718;
  --input-bg: #08090a;
  --ink: #f7f8f8;
  --muted: #cbb88f;
  --line: #5a4528;
  --teal: #d8aa4a;
  --teal-dark: #b47a21;
  --coral: #d8aa4a;
  --amber: #f3d47d;
  --green: #4fb477;
  --red: #e46355;
  --blue: #f3d47d;
  --accent-text: #08090a;
  --gold: linear-gradient(135deg, #8a5b18 0%, #f7d985 38%, #b47a21 68%, #fff2b6 100%);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
}

body.eve-res-theme-light {
  color-scheme: light;
  --bg: #f7f4ec;
  --panel: #ffffff;
  --panel-strong: #f1ece0;
  --input-bg: #ffffff;
  --ink: #191714;
  --muted: #6f6049;
  --line: #d7c49d;
  --teal: #9a691d;
  --teal-dark: #7b5317;
  --coral: #b57622;
  --amber: #8f641b;
  --green: #23794c;
  --red: #b64436;
  --blue: #8a641f;
  --accent-text: #11100e;
  --gold: linear-gradient(135deg, #7f5315 0%, #dfb85e 38%, #a66f1f 68%, #f4dfa0 100%);
  --shadow: 0 18px 52px rgba(80, 61, 32, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 4%, rgba(247, 217, 133, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(90, 69, 40, 0.34), transparent 38%),
    linear-gradient(315deg, rgba(216, 170, 74, 0.12), transparent 34%),
    var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.eve-res-theme-light {
  background:
    radial-gradient(circle at 15% 4%, rgba(216, 170, 74, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.8), transparent 46%),
    var(--bg);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.booking-shell {
  width: min(1500px, 100%);
  margin: 0 auto;
  padding: 96px 24px 24px;
}

.reservation-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.reservation-topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.reservation-home-link,
.reservation-theme-button,
.reservation-language-control,
.reservation-menu-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 16, 17, 0.92);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
  padding: 0 14px;
  text-decoration: none;
}

.reservation-menu-button,
.reservation-theme-button {
  appearance: none;
}

.reservation-home-link svg,
.reservation-theme-button svg,
.reservation-menu-button svg {
  width: 17px;
  height: 17px;
  color: var(--teal);
}

.reservation-language-control {
  padding-right: 8px;
}

.reservation-language-control span,
.reservation-language-control select {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
}

.reservation-language-control select {
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  background: var(--panel-strong);
  color: var(--ink);
  padding: 0 24px 0 9px;
}

.reservation-page-title {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}

.reservation-page-title h1 {
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 0.95;
}

.reservation-page-title p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.55;
}

.reservation-inline-notice {
  width: min(760px, 100%);
  border: 1px solid rgba(96, 181, 127, 0.55);
  border-radius: 10px;
  background: rgba(96, 181, 127, 0.12);
  color: #dff7e7;
  padding: 12px 14px;
  font-weight: 850;
}

.reservation-inline-notice.is-error {
  border-color: rgba(255, 180, 166, 0.55);
  background: rgba(255, 180, 166, 0.12);
  color: #ffdbd4;
}

.pending-payment-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  border: 1px solid rgba(216, 170, 74, 0.82);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(216, 170, 74, 0.16), transparent 42%),
    rgba(15, 16, 17, 0.96);
  box-shadow: var(--shadow);
  padding: 18px;
}

.pending-payment-panel[hidden] {
  display: none;
}

.pending-payment-panel h2 {
  margin: 4px 0 6px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.05;
}

.pending-payment-panel p:last-child {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.45;
}

.pending-payment-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.my-reservations-panel {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
  border: 1px solid rgba(90, 69, 40, 0.78);
  border-radius: 16px;
  background: rgba(15, 16, 17, 0.96);
  box-shadow: var(--shadow);
  padding: 18px;
}

.my-reservations-panel[hidden] {
  display: none;
}

.my-reservations-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.my-reservations-header h2 {
  margin: 4px 0 0;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.08;
}

.my-reservations-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.customer-reservation-card {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(90, 69, 40, 0.72);
  border-radius: 12px;
  background: rgba(8, 9, 10, 0.64);
  padding: 14px;
}

.customer-reservation-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
}

.customer-reservation-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.45;
}

.customer-reservation-status {
  width: fit-content;
  border-radius: 999px;
  background: rgba(216, 170, 74, 0.16);
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  text-transform: uppercase;
}

.customer-reservation-status.is-confirmed {
  background: rgba(79, 180, 119, 0.16);
  color: #adf0c4;
}

.customer-reservation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.my-reservations-empty {
  border: 1px dashed rgba(90, 69, 40, 0.78);
  border-radius: 12px;
  color: var(--muted);
  font-weight: 800;
  padding: 16px;
}

.flow-visual {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
  border: 1px solid rgba(90, 69, 40, 0.78);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(216, 170, 74, 0.1), transparent 34%),
    rgba(15, 16, 17, 0.92);
  box-shadow: var(--shadow);
  padding: 20px;
}

.flow-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1fr);
  align-items: end;
  gap: 24px;
}

.flow-heading h2 {
  margin-top: 8px;
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  line-height: 1;
}

.flow-heading > p {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.55;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 10px;
}

.flow-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 140px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(8, 9, 10, 0.58);
  padding: 13px;
}

.flow-card.is-active {
  border-color: var(--teal);
  background:
    linear-gradient(135deg, rgba(216, 170, 74, 0.18), transparent 56%),
    rgba(8, 9, 10, 0.74);
}

.flow-card.is-complete {
  border-color: rgba(79, 180, 119, 0.46);
}

.flow-card svg {
  width: 22px;
  height: 22px;
  color: var(--teal);
  stroke-width: 2.3;
}

.flow-number {
  width: fit-content;
  border-radius: 999px;
  background: var(--gold);
  color: var(--accent-text);
  font-size: 0.72rem;
  font-weight: 900;
  padding: 5px 8px;
}

.flow-card h3 {
  margin: 0;
  font-size: 1rem;
}

.flow-card p {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.45;
}

.reservation-flow {
  display: grid;
  gap: 18px;
}

.flow-screen {
  display: grid;
  gap: 18px;
  border: 1px solid rgba(90, 69, 40, 0.78);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(216, 170, 74, 0.1), transparent 34%),
    rgba(15, 16, 17, 0.92);
  box-shadow: var(--shadow);
  padding: 24px;
}

.flow-screen[hidden] {
  display: none;
}

.screen-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.screen-heading h2,
.confirmation-panel h2 {
  margin-top: 7px;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 0.98;
}

.screen-kicker {
  width: fit-content;
  border: 1px solid rgba(216, 170, 74, 0.48);
  border-radius: 999px;
  background: rgba(8, 9, 10, 0.7);
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 7px 10px;
  white-space: nowrap;
}

.package-preset-panel {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(216, 170, 74, 0.38);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(216, 170, 74, 0.13), transparent 54%),
    rgba(8, 9, 10, 0.62);
  padding: 16px;
}

.package-preset-panel[hidden] {
  display: none;
}

.selected-card-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.3;
  text-transform: uppercase;
}

.selected-card-price {
  flex: 0 0 auto;
  border: 1px solid rgba(216, 170, 74, 0.44);
  border-radius: 999px;
  background: rgba(216, 170, 74, 0.12);
  color: var(--amber);
  padding: 5px 8px;
}

.package-preset-panel h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.12;
}

.selected-card-headline,
.selected-card-note,
.selected-card-free {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 720;
  line-height: 1.45;
}

.selected-card-headline {
  color: var(--ink);
  font-weight: 850;
}

.selected-card-detail {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 760;
  line-height: 1.45;
}

.selected-card-free {
  color: var(--amber);
  font-weight: 850;
}

.selected-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.selected-card-meta span,
.selected-card-tags span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(90, 69, 40, 0.86);
  border-radius: 999px;
  background: rgba(22, 23, 24, 0.78);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 760;
  padding: 0 8px;
}

.selected-card-list {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 680;
  line-height: 1.42;
}

.selected-card-list span {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 8px;
}

.selected-card-list span::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 7px;
  border-radius: 999px;
  background: var(--teal);
}

.selected-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.details-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 0.55fr);
  gap: 18px;
  align-items: stretch;
}

.screen-side-panel {
  display: grid;
  align-content: start;
  gap: 18px;
  border: 1px solid rgba(90, 69, 40, 0.78);
  border-radius: 18px;
  background: rgba(8, 9, 10, 0.42);
  padding: 22px;
}

.screen-side-panel .quote-panel {
  margin: 0;
}

.screen-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid rgba(216, 170, 74, 0.3);
  border-radius: 14px;
  background: rgba(216, 170, 74, 0.09);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.45;
  padding: 14px;
}

.screen-note svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--teal);
}

.contact-layout,
.payment-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(360px, 1fr);
  gap: 18px;
}

.payment-card {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(90, 69, 40, 0.78);
  border-radius: 18px;
  background: rgba(8, 9, 10, 0.58);
  padding: 22px;
}

.payment-card.is-emphasis {
  align-content: center;
  background:
    linear-gradient(145deg, rgba(216, 170, 74, 0.22), transparent 58%),
    rgba(8, 9, 10, 0.78);
}

.payment-card strong {
  color: var(--ink);
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 0.9;
}

.payment-card span,
.payment-card small {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 850;
}

.payment-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  border-bottom: 1px solid rgba(90, 69, 40, 0.64);
  padding-bottom: 16px;
}

.payment-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.payment-row svg {
  width: 28px;
  height: 28px;
  color: var(--teal);
}

.payment-row h3,
.notification-grid h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.payment-row p,
.notification-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.45;
}

.confirmation-panel {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
  border: 1px solid rgba(216, 170, 74, 0.48);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(216, 170, 74, 0.18), transparent 52%),
    rgba(8, 9, 10, 0.66);
  padding: clamp(28px, 6vw, 64px);
}

.confirmation-icon {
  width: 54px;
  height: 54px;
  color: var(--green);
}

.confirmation-summary {
  display: grid;
  gap: 8px;
  width: min(680px, 100%);
  margin-top: 12px;
  color: var(--muted);
  font-weight: 760;
}

.confirmation-summary strong {
  color: var(--ink);
  font-size: 1.25rem;
}

.notification-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 12px;
}

.notification-grid article {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(90, 69, 40, 0.78);
  border-radius: 16px;
  background: rgba(8, 9, 10, 0.52);
  padding: 18px;
}

.notification-grid svg {
  width: 25px;
  height: 25px;
  color: var(--teal);
}

.flow-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(90, 69, 40, 0.72);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 760;
  padding-top: 18px;
}

.flow-controls > span {
  min-width: 0;
}

.flow-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #08090a;
  color: var(--ink);
  font-weight: 900;
  padding: 0 16px;
  text-decoration: none;
}

.flow-action.primary {
  border-color: transparent;
  background: var(--gold);
  color: var(--accent-text);
}

.flow-action.subtle {
  background: rgba(8, 9, 10, 0.62);
  color: var(--muted);
}

.flow-action:disabled {
  background: #3b3a34;
  color: rgba(203, 184, 143, 0.75);
  cursor: not-allowed;
}

.flow-action svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.4;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(290px, 350px) minmax(520px, 1fr) minmax(300px, 380px);
  gap: 18px;
  min-height: calc(100vh - 48px);
}

.booking-panel,
.calendar-area,
.checkout-panel {
  background: rgba(15, 16, 17, 0.92);
  border: 1px solid rgba(90, 69, 40, 0.78);
  box-shadow: var(--shadow);
}

.booking-panel,
.checkout-panel {
  border-radius: 18px;
  padding: 22px;
}

.calendar-area {
  border-radius: 22px;
  padding: 24px;
  overflow: hidden;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.booking-shell .brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--gold);
  color: var(--accent-text);
  font-weight: 800;
}

.booking-shell h1,
.booking-shell h2,
.booking-shell p {
  margin: 0;
}

.booking-shell h1 {
  font-size: 1.18rem;
  line-height: 1.1;
}

.calendar-header h2,
.summary-card h2 {
  font-size: clamp(1.45rem, 2.2vw, 2.2rem);
  letter-spacing: 0;
}

.booking-shell .eyebrow {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stepper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 22px 0;
}

.step {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 10px;
  text-align: center;
}

.step.is-active {
  background: var(--gold);
  border-color: var(--teal);
  color: var(--accent-text);
}

.booking-form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field span,
.segmented-field legend,
.resource-heading span:first-child,
.panel-title span:first-child {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea,
.resource-value {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #08090a;
  color: var(--ink);
  padding: 11px 12px;
  outline: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(203, 184, 143, 0.72);
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(216, 170, 74, 0.18);
}

.date-picker-field {
  position: relative;
}

.date-picker-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(216, 170, 74, 0.1), transparent 56%),
    #08090a;
  color: var(--ink);
  padding: 10px 12px;
  text-align: left;
}

.date-picker-toggle span {
  display: grid;
  gap: 3px;
}

.date-picker-toggle strong {
  font-size: 1rem;
  line-height: 1.15;
}

.date-picker-toggle small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.date-picker-toggle svg {
  width: 21px;
  height: 21px;
  color: var(--teal);
}

.date-picker-toggle[aria-expanded="true"] {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(216, 170, 74, 0.18);
}

.date-picker-panel {
  position: absolute;
  z-index: 50;
  top: calc(100% + 10px);
  bottom: auto;
  left: 0;
  width: min(420px, calc(100vw - 48px));
  border: 1px solid rgba(216, 170, 74, 0.44);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(216, 170, 74, 0.14), transparent 42%),
    #08090a;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.62);
  padding: 14px;
}

.date-picker-panel.is-above {
  top: auto;
  bottom: calc(100% + 10px);
}

.date-picker-head,
.date-picker-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.date-picker-head strong {
  color: var(--ink);
  font-size: 1rem;
}

.date-picker-weekdays,
.date-picker-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.date-picker-weekdays {
  margin: 14px 0 8px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 900;
  text-align: center;
}

.date-picker-day {
  display: grid;
  align-content: center;
  gap: 3px;
  min-height: 50px;
  border: 1px solid rgba(90, 69, 40, 0.76);
  border-radius: 12px;
  background: rgba(15, 16, 17, 0.92);
  color: var(--ink);
  padding: 6px 4px;
  text-align: center;
}

.date-picker-day span {
  font-size: 0.95rem;
  font-weight: 900;
}

.date-picker-day small {
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 800;
  line-height: 1.1;
}

.date-picker-day.is-muted {
  opacity: 0.46;
}

.date-picker-day.is-today {
  border-color: rgba(243, 212, 125, 0.58);
}

.date-picker-day.is-selected {
  border-color: var(--teal);
  background: var(--gold);
  color: var(--accent-text);
}

.date-picker-day.is-selected small {
  color: rgba(8, 9, 10, 0.74);
}

.date-picker-day.has-bookings:not(.is-selected) {
  background: rgba(216, 170, 74, 0.08);
}

.date-picker-day:disabled {
  cursor: not-allowed;
  opacity: 0.3;
}

.date-picker-foot {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.date-picker-foot button {
  min-height: 34px;
  border: 1px solid rgba(216, 170, 74, 0.44);
  border-radius: 999px;
  background: rgba(216, 170, 74, 0.12);
  color: var(--amber);
  font-weight: 900;
  padding: 0 12px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 12px;
}

.segmented-field {
  border: 0;
  margin: 0;
  padding: 0;
}

.segmented-field legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.segmented-field legend small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.2;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 7px;
}

.segment-option {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #08090a;
  color: var(--muted);
  font-weight: 800;
}

.segment-option.is-selected {
  background: var(--gold);
  border-color: var(--teal);
  color: var(--accent-text);
}

.resource-editor {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-strong);
  padding: 14px;
}

.resource-heading,
.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.resource-heading span:last-child,
.panel-title span:last-child {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.resource-line {
  display: grid;
  grid-template-columns: 1fr 74px;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.resource-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-size: 1rem;
  font-weight: 900;
  cursor: default;
}

.quote-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0;
}

.quote-panel > div {
  border-radius: 14px;
  background: linear-gradient(145deg, #161718, #08090a);
  border: 1px solid rgba(216, 170, 74, 0.34);
  color: var(--ink);
  padding: 14px;
}

.quote-panel .eyebrow {
  color: var(--accent-2, #f3d47d);
}

.quote-panel strong {
  display: block;
  margin: 6px 0 3px;
  font-size: 1.45rem;
}

.quote-panel span {
  color: rgba(203, 184, 143, 0.82);
  font-size: 0.78rem;
  font-weight: 700;
}

.integration-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.integration-strip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-strong);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 7px 9px;
}

.integration-strip svg,
.calendar-actions svg,
.summary-topline svg,
.contact-actions svg,
.primary-action svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.4;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.calendar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button,
.today-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #08090a;
  color: var(--ink);
  font-weight: 800;
}

.icon-button {
  width: 40px;
  padding: 0;
}

.today-button {
  padding: 0 14px;
}

.calendar-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin: 18px 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.dot.available {
  background: var(--green);
}

.dot.limited {
  background: var(--amber);
}

.dot.booked {
  background: var(--red);
}

.slot-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 12px;
}

.slot-card {
  display: grid;
  gap: 12px;
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  padding: 16px;
  text-align: left;
  color: var(--ink);
}

.slot-card.is-available {
  border-color: rgba(79, 180, 119, 0.46);
}

.slot-card.is-limited {
  border-color: rgba(243, 212, 125, 0.5);
  background: rgba(22, 23, 24, 0.88);
}

.slot-card.is-booked {
  background: rgba(98, 35, 30, 0.32);
  color: #f5c0b9;
}

.slot-card.is-selected {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(216, 170, 74, 0.18);
}

.slot-card:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.slot-time {
  font-size: 1.12rem;
  font-weight: 800;
}

.slot-status {
  width: fit-content;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 0.72rem;
  font-weight: 800;
}

.is-available .slot-status {
  background: rgba(79, 180, 119, 0.16);
  color: var(--green);
}

.is-limited .slot-status {
  background: rgba(216, 170, 74, 0.16);
  color: var(--amber);
}

.is-booked .slot-status {
  background: rgba(228, 99, 85, 0.18);
  color: var(--red);
}

.slot-resources {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.slot-resources span {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.slot-reservations {
  display: grid;
  gap: 8px;
  border-top: 1px solid rgba(90, 69, 40, 0.72);
  padding-top: 10px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.slot-reservations-title {
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reservation-item {
  display: grid;
  gap: 3px;
  border-radius: 10px;
  background: rgba(8, 9, 10, 0.56);
  padding: 9px;
}

.reservation-item strong {
  color: var(--ink);
  font-size: 0.78rem;
}

.reservation-item span {
  color: var(--muted);
  line-height: 1.35;
}

.reservation-item em {
  color: var(--amber);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
}

.reservation-empty {
  color: rgba(203, 184, 143, 0.72);
}

.checkout-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.summary-card,
.customer-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  padding: 16px;
}

.summary-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.summary-card h2 {
  margin-top: 12px;
  font-size: 1.45rem;
}

.summary-time {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.summary-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 16px 0 0;
}

.summary-list div {
  border-radius: 12px;
  background: var(--panel-strong);
  padding: 10px;
}

.summary-list dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.summary-list dd {
  margin: 0;
  font-weight: 900;
}

.customer-card {
  display: grid;
  gap: 12px;
}

.contact-fields {
  display: grid;
  gap: 12px;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.secondary-action,
.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 12px;
  font-weight: 900;
}

a.secondary-action {
  text-decoration: none;
}

.secondary-action {
  border: 1px solid var(--line);
  background: #08090a;
  color: var(--ink);
  padding: 0 10px;
}

.secondary-action:disabled,
.secondary-action.is-loading {
  color: rgba(203, 184, 143, 0.65);
  cursor: not-allowed;
  opacity: 0.72;
}

.primary-action {
  width: 100%;
  border: 0;
  background: var(--gold);
  color: var(--accent-text);
  padding: 0 16px;
}

.primary-action:disabled {
  background: #3b3a34;
  color: rgba(203, 184, 143, 0.75);
  cursor: not-allowed;
}

.checkout-status {
  flex-basis: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.contact-status {
  grid-column: 1 / -1;
  min-height: 20px;
}

.checkout-status.is-error {
  color: #ffb4a6;
}

body.eve-res-theme-light .reservation-home-link,
body.eve-res-theme-light .reservation-theme-button,
body.eve-res-theme-light .reservation-language-control,
body.eve-res-theme-light .reservation-menu-button,
body.eve-res-theme-light .pending-payment-panel,
body.eve-res-theme-light .my-reservations-panel,
body.eve-res-theme-light .flow-visual,
body.eve-res-theme-light .flow-screen,
body.eve-res-theme-light .screen-side-panel,
body.eve-res-theme-light .payment-card,
body.eve-res-theme-light .booking-panel,
body.eve-res-theme-light .calendar-area,
body.eve-res-theme-light .checkout-panel,
body.eve-res-theme-light .summary-card,
body.eve-res-theme-light .customer-card,
body.eve-res-theme-light .notification-grid article,
body.eve-res-theme-light .customer-reservation-card {
  background: var(--panel);
}

body.eve-res-theme-light .flow-card,
body.eve-res-theme-light .slot-card,
body.eve-res-theme-light .package-preset-panel,
body.eve-res-theme-light .resource-editor,
body.eve-res-theme-light .quote-panel > div,
body.eve-res-theme-light .summary-list div,
body.eve-res-theme-light .selected-card-meta span,
body.eve-res-theme-light .selected-card-tags span,
body.eve-res-theme-light .integration-strip span {
  background: var(--panel-strong);
}

body.eve-res-theme-light .field input,
body.eve-res-theme-light .field select,
body.eve-res-theme-light .field textarea,
body.eve-res-theme-light .resource-value,
body.eve-res-theme-light .date-picker-toggle,
body.eve-res-theme-light .date-picker-panel,
body.eve-res-theme-light .date-picker-day,
body.eve-res-theme-light .flow-action,
body.eve-res-theme-light .secondary-action,
body.eve-res-theme-light .icon-button,
body.eve-res-theme-light .today-button,
body.eve-res-theme-light .segment-option {
  background: var(--input-bg);
  color: var(--ink);
}

body.eve-res-theme-light .flow-card.is-active,
body.eve-res-theme-light .payment-card.is-emphasis,
body.eve-res-theme-light .confirmation-panel {
  background:
    linear-gradient(135deg, rgba(216, 170, 74, 0.14), transparent 56%),
    var(--panel);
}

body.eve-res-theme-light .slot-card.is-limited {
  background: #fff7df;
}

body.eve-res-theme-light .slot-card.is-booked {
  background: #fff0ec;
  color: var(--ink);
}

body.eve-res-theme-light .reservation-inline-notice {
  color: #155a37;
}

body.eve-res-theme-light .reservation-inline-notice.is-error,
body.eve-res-theme-light .checkout-status.is-error {
  color: #9b3128;
}

body.eve-res-theme-light .reservation-empty,
body.eve-res-theme-light .field input::placeholder,
body.eve-res-theme-light .field textarea::placeholder {
  color: rgba(111, 96, 73, 0.72);
}

@media (max-width: 1100px) {
  .slot-board {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .flow-steps {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }

  .workspace {
    grid-template-columns: 320px 1fr;
  }

  .checkout-panel {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
  }

  .contact-actions,
  .primary-action {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .booking-shell {
    padding: 84px 12px 12px;
  }

  .reservation-topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .reservation-home-link,
  .reservation-menu-button,
  .reservation-theme-button,
  .reservation-language-control {
    justify-content: center;
  }

  .reservation-topbar-actions,
  .my-reservations-header {
    align-items: stretch;
    flex-direction: column;
  }

  .pending-payment-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .pending-payment-actions {
    justify-content: stretch;
  }

  .flow-heading,
  .details-layout,
  .contact-layout,
  .payment-layout,
  .notification-grid,
  .workspace,
  .checkout-panel {
    grid-template-columns: 1fr;
  }

  .screen-heading,
  .flow-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .flow-visual {
    border-radius: 16px;
    padding: 16px;
  }

  .flow-screen {
    border-radius: 16px;
    padding: 16px;
  }

  .flow-steps {
    grid-template-columns: 1fr;
  }

  .flow-card {
    min-height: auto;
  }

  .workspace {
    min-height: auto;
  }

  .calendar-header,
  .calendar-meta {
    align-items: stretch;
    flex-direction: column;
  }

  .calendar-actions {
    justify-content: space-between;
  }

  .today-button {
    flex: 1;
  }

  .slot-board {
    grid-template-columns: 1fr;
  }

  .flow-action {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .booking-shell {
    padding-left: 10px;
    padding-right: 10px;
  }

  .reservation-page-title h1 {
    font-size: 2.25rem;
    line-height: 1;
  }

  .screen-heading h2,
  .confirmation-panel h2 {
    font-size: 2rem;
  }

  .booking-panel,
  .calendar-area,
  .checkout-panel {
    border-radius: 14px;
    padding: 16px;
  }

  .date-picker-panel {
    position: fixed;
    top: 50%;
    bottom: auto;
    left: 12px;
    right: 12px;
    width: auto;
    max-height: calc(100vh - 24px);
    overflow: auto;
    transform: translateY(-50%);
  }

  .date-picker-panel.is-above {
    top: 50%;
    bottom: auto;
  }

  .field-grid,
  .quote-panel,
  .summary-list,
  .contact-actions {
    grid-template-columns: 1fr;
  }

  .segmented {
    grid-template-columns: repeat(2, 1fr);
  }

  .payment-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 390px) {
  .booking-shell {
    padding-left: 8px;
    padding-right: 8px;
  }

  .reservation-home-link,
  .reservation-menu-button,
  .reservation-theme-button,
  .reservation-language-control,
  .flow-action,
  .primary-action,
  .secondary-action {
    min-height: 42px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .flow-screen,
  .flow-visual,
  .pending-payment-panel,
  .my-reservations-panel {
    padding: 12px;
  }
}
