:root {
    color-scheme: light;
    font-family: "Segoe UI", Arial, sans-serif;
    color: #182230;
}

* {
  box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    background: linear-gradient(rgba(15, 23, 42, 0.44), rgba(15, 23, 42, 0.42)), url("/book/images/restaurant-bg.jpg") center center / cover no-repeat fixed;
}

.booking-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background: transparent;
}

.booking-panel {
  width: min(720px, 100%);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(24, 34, 48, 0.12);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  padding: 24px;
}

.booking-header {
  margin-bottom: 18px;
}

.eyebrow {
  margin: 0 0 4px;
  color: #43646b;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1 {
  margin: 0;
  font-size: 1.65rem;
  letter-spacing: 0;
}

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

.grid {
  display: grid;
  gap: 12px;
}

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

label {
  display: grid;
  gap: 6px;
  color: #344054;
  font-size: 0.9rem;
  font-weight: 600;
}

input,
textarea,
button {
  font: inherit;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 10px 11px;
  background: #fff;
  color: #182230;
}

textarea {
  resize: vertical;
}

.trap-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.slot-header {
  margin-bottom: 8px;
  color: #344054;
  font-size: 0.9rem;
  font-weight: 700;
}

.slot-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 8px;
}

.slot {
  border: 1px solid #7aa3a8;
  border-radius: 6px;
  background: #f4fbfb;
  color: #12393d;
  padding: 9px 8px;
  cursor: pointer;
}

.slot[aria-pressed="true"] {
  background: #0f5f66;
  color: #fff;
}

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

button[type="submit"] {
  border: 0;
  border-radius: 6px;
  background: #182230;
  color: #fff;
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 700;
}

button[type="submit"]:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.confirmation-panel {
  display: grid;
  gap: 14px;
}

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

.confirmation-panel h2 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.confirmation-panel p {
  margin: 0;
}

.confirmation-summary {
  display: grid;
  gap: 10px;
  margin: 0;
}

.confirmation-summary div {
  display: grid;
  grid-template-columns: minmax(110px, 0.45fr) 1fr;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e4e7ec;
}

.confirmation-summary dt {
  color: #43646b;
  font-weight: 700;
}

.confirmation-summary dd {
  margin: 0;
  color: #182230;
  overflow-wrap: anywhere;
}

.availability-note {
  color: #475467;
  font-size: 0.9rem;
}

#anotherRequestButton {
  border: 0;
  border-radius: 6px;
  background: #182230;
  color: #fff;
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 700;
}

.message {
  min-height: 22px;
  margin-top: 16px;
  color: #0f5f66;
  font-weight: 700;
}

.message.error {
  color: #b42318;
}

body.widget-mode {
  min-height: 0;
  background: #fff;
}

body.widget-mode .booking-shell {
  min-height: 0;
  display: block;
  padding: 0;
}

body.widget-mode .booking-panel {
  width: 100%;
  min-height: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 18px;
}

@media (max-width: 640px) {
  .booking-shell {
    padding: 0;
    place-items: stretch;
  }

  .booking-panel {
    min-height: 100vh;
    border-radius: 0;
    padding: 18px;
  }

  .grid.two {
    grid-template-columns: 1fr;
  }
}
