/* Overall page layout */
.resv-body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 20px;
  color: #222;
}

.resv-header h1 {
  margin: 0 0 4px 0;
  font-size: 26px;
}

.resv-subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
}

/* Calendar container */
.calendar-shell {
  max-width: 900px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px 16px 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

/* Top bar with month + nav arrows */
.calendar-topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  gap: 12px;
}

.cal-month-label {
  font-size: 18px;
  font-weight: 600;
}

.cal-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #ccc;
  text-decoration: none;
  color: #444;
  font-size: 18px;
}

.cal-nav-btn:hover {
  background: #f3f3f3;
}

/* Weekday header row */
.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 12px;
  color: #666;
  padding: 4px 0;
}

/* Grid of days (6 weeks) */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

/* Individual day cell */
.calendar-cell {
  border: 1px solid #ddd;
  border-radius: 6px;
  min-height: 70px;
  background: #f9f9f9;
  position: relative;
}

/* Make the clickable days fill the cell area */
.calendar-cell.day-link,
.day-link.calendar-cell {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 6px 8px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* Hover state for available days */
.day-link.calendar-cell:hover {
  background: #eef7ff;
  border-color: #9ac3ff;
}

/* Google-ish feel: subtle hover & border */
.calendar-cell.current-month {
  border-color: #eee;
}

.calendar-cell.other-month {
  background: #fafafa;
  color: #aaa;
}

/* Today highlight (blue outline) */
.calendar-cell.today {
  border-color: #1a73e8;
}

/* Past days */
.calendar-cell.disabled {
  background: #f6f6f6;
  color: #bbb;
}

/* Day number + link */
.day-link {
  display: block;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
}

.calendar-cell:not(.disabled) .day-link:hover {
  background: #e8f0fe;
  border-radius: 4px;
}

.day-num {
  /*display: inline-block;*/
  font-size: 13px;
  font-weight: 500;
}

/* Legend */
.calendar-legend {
  margin-top: 10px;
  font-size: 12px;
  color: #555;
  display: flex;
  gap: 16px;
}

.legend-box {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  margin-right: 4px;
  border: 1px solid #ccc;
}

.legend-today {
  border-color: #1a73e8;
}

.legend-current {
  background: #fff;
}

.legend-other {
  background: #fafafa;
}

.legend-disabled {
  background: #f6f6f6;
}

/* ----- Availability heatmap ----- */

.calendar-cell.day-free {
  background: #e8f5e9;           /* light green */
  border-color: #c8e6c9;
}

.calendar-cell.day-mixed {
  background: #fffde7;           /* light yellow */
  border-color: #fff9c4;
}

.calendar-cell.day-full {
  background: #ffebee;           /* light red */
  border-color: #ffcdd2;
}

.calendar-cell.day-full .day-num {
  color: #b71c1c;
  font-weight: 600;
}

/* Legend colors */

.legend-box.legend-available {
  background: #e8f5e9;
  border-color: #4caf50;
}

.legend-box.legend-full {
  background: #ffebee;
  border-color: #f44336;
}

/* Shared table/layout utilities for reservation flows */
.addons-table {
  border-collapse: collapse;
  width: 100%;
  max-width: 900px;
}

.addon-scope-meta {
  font-size: 12px;
  color: #666;
}

.addon-qty-input-sm {
  width: 80px;
}

.addon-qty-input-md {
  width: 90px;
}

.resv-step2-page {
  font-family: -apple-system, system-ui, sans-serif;
  padding: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.resv-step2-page .muted {
  color: #666;
}

.resv-step2-page .topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 18px 0;
  flex-wrap: wrap;
}

.resv-step2-page .navbtn {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 6px 10px;
  text-decoration: none;
  color: #111;
}

.resv-step2-page .monthlabel {
  font-weight: 800;
}

.resv-step2-page .warn {
  border: 1px solid #f0c36d;
  background: #fff7e6;
  padding: 12px;
  border-radius: 12px;
}

.resv-step2-page .pkg-card {
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 10px 12px;
  margin: 0 0 14px 0;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.resv-step2-page .pkg-header-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.resv-step2-page .pkg-top {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.resv-step2-page .pkg-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.resv-step2-page .pkg-name {
  font-weight: 900;
  font-size: 16px;
}

.resv-step2-page .pkg-meta {
  margin-top: 4px;
  color: #555;
  font-size: 12px;
}

.resv-step2-page .pkg-blurb {
  margin-top: 8px;
  color: #444;
  font-size: 13px;
  line-height: 1.35;
  max-width: 520px;
}

.resv-step2-page .pkg-featured-media {
  flex: 0 0 160px;
  width: 160px;
  max-width: 38%;
}

.resv-step2-page .pkg-featured-image {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 160px;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
  background: #fff;
}

.resv-step2-page .pkg-blurb p,
.resv-step2-page .pkg-blurb ul,
.resv-step2-page .pkg-blurb ol,
.resv-step2-page .pkg-blurb blockquote {
  margin: 0 0 8px 0;
}

.resv-step2-page .pkg-blurb h1,
.resv-step2-page .pkg-blurb h2,
.resv-step2-page .pkg-blurb h3,
.resv-step2-page .pkg-blurb h4,
.resv-step2-page .pkg-blurb h5,
.resv-step2-page .pkg-blurb h6 {
  margin: 0 0 6px 0;
  line-height: 1.2;
}

.resv-step2-page .pkg-blurb h1 { font-size: 1.2em; }
.resv-step2-page .pkg-blurb h2 { font-size: 1.1em; }
.resv-step2-page .pkg-blurb h3 { font-size: 1.05em; }

.resv-step2-page .pkg-blurb img {
  display: block;
  width: auto;
  max-width: min(100%, 360px);
  max-height: 360px;
  height: auto;
  margin: 10px 0;
  border-radius: 10px;
  object-fit: contain;
}

.resv-step2-page .pkg-blurb [align="center"] {
  text-align: center;
}

.resv-step2-page .pkg-blurb [align="right"] {
  text-align: right;
}

.resv-step2-page .pkg-blurb [align="justify"] {
  text-align: justify;
}

.resv-step2-page .pkg-blurb [align="center"] img,
.resv-step2-page .pkg-blurb img[align="center"] {
  margin-left: auto;
  margin-right: auto;
}

.resv-step2-page .pkg-blurb [align="right"] img,
.resv-step2-page .pkg-blurb img[align="right"] {
  margin-left: auto;
  margin-right: 0;
}

.resv-step2-page .pkg-blurb [align="left"] img,
.resv-step2-page .pkg-blurb img[align="left"] {
  margin-left: 0;
  margin-right: auto;
}

.resv-step2-page .cal-shell {
  margin-top: 10px;
  display: inline-block;
  margin-left: auto;
}

.resv-step2-page .pkg-calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.resv-step2-page .pkg-calendar-navbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid var(--waiv-gray-300);
  border-radius: 999px;
  background: var(--waiv-white);
  color: var(--waiv-blue-700);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.resv-step2-page .pkg-calendar-navbtn:hover {
  background: var(--waiv-blue-100);
}

.resv-step2-page .pkg-calendar-month {
  color: var(--waiv-blue-900);
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
}

.resv-step2-page .cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 44px);
  justify-content: start;
  gap: 3px;
  margin-bottom: 3px;
  font-size: 10px;
  color: #555;
}

.resv-step2-page .wk {
  text-align: center;
  font-weight: 700;
}

.resv-step2-page .cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 44px);
  justify-content: start;
  gap: 3px;
}

.resv-step2-page .day-cell {
  height: 22px;
  border: 1px solid #ddd;
  border-radius: 7px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  cursor: pointer;
  font-size: 11px;
}

.resv-step2-page .day-cell[disabled] {
  cursor: not-allowed;
  opacity: 0.55;
  background: #fafafa;
}

.resv-step2-page .day-cell.out-month {
  opacity: 0.5;
}

.resv-step2-page .dn {
  font-weight: 800;
  font-size: 11px;
}

.resv-step2-page .mk {
  font-weight: 900;
  font-size: 12px;
}

.resv-step2-page .day-cell.allowed {
  background: #e7f7ec;
  border-color: #2e7d32;
}

.resv-step2-page .day-cell.allowed .mk {
  color: #1b5e20;
}

.resv-step2-page .day-cell.allowed.selected {
  outline: 2px solid #111;
  outline-offset: 1px;
}

.resv-step2-page .times-shell {
  margin-top: 8px;
}

.resv-step2-page .times {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.resv-step2-page .timepill {
  border: 1px solid #ccc;
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
  cursor: pointer;
}

.resv-step2-page .timepill[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 900px) {
  .resv-step2-page .pkg-header-row {
    flex-direction: column;
  }

  .resv-step2-page .cal-shell {
    margin-left: 0;
  }
}

@media (max-width: 680px) {
  .resv-step2-page .pkg-top {
    flex-direction: column;
  }

  .resv-step2-page .pkg-featured-media {
    width: min(220px, 100%);
    max-width: 100%;
    flex-basis: auto;
  }

  .resv-step2-page .pkg-blurb {
    max-width: 100%;
  }
}

.resv-step2-page .timepill.selected {
  outline: 2px solid #111;
}

.resv-step2-page .continue {
  margin-top: 12px;
  border: 1px solid #ccc;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.resv-step2-page .continue[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.resv-step2-page .back {
  margin-top: 18px;
  display: inline-block;
}

.resv-confirm-page {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  padding: 24px;
  line-height: 1.4;
}

.resv-confirm-page .card {
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 18px 18px;
}

.resv-confirm-page .muted {
  color: #666;
}

.resv-confirm-page .btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  text-decoration: none;
  font-weight: 600;
}

.resv-confirm-page .btn-primary {
  border-color: #111;
}

.resv-confirm-page .btn-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.resv-confirm-page .kvs {
  margin-top: 10px;
}

.resv-confirm-page .kvs div {
  margin: 6px 0;
}

.resv-admin-form-page {
  font-family: -apple-system, system-ui, sans-serif;
  padding: 20px;
}

.resv-admin-form-page label {
  display: block;
  margin-top: 12px;
}

.resv-admin-form-page input,
.resv-admin-form-page select,
.resv-admin-form-page textarea {
  width: 100%;
  max-width: 500px;
  padding: 4px;
  box-sizing: border-box;
}

.resv-admin-form-page textarea {
  min-height: 80px;
}

.resv-admin-form-page .actions {
  margin-top: 20px;
}

.resv-admin-form-page .muted {
  color: #666;
  font-size: 12px;
}

.resv-admin-form-page hr {
  margin: 18px 0;
}

.resv-admin-form-page .btn-row {
  margin-top: 16px;
}

.resv-admin-form-page button {
  padding: 6px 12px;
}

/* Waiv reservations refresh */
:root {
  --waiv-blue-950: #0c2238;
  --waiv-blue-900: #0f2742;
  --waiv-blue-700: #1e4f80;
  --waiv-blue-600: #2c6aa8;
  --waiv-blue-100: #eaf3fb;
  --waiv-blue-050: #f4f9ff;
  --waiv-gray-900: #1f2933;
  --waiv-gray-700: #4a5a6a;
  --waiv-gray-400: #aab6c2;
  --waiv-gray-300: #c9d2db;
  --waiv-gray-200: #dde4ea;
  --waiv-gray-100: #f4f7fa;
  --waiv-white: #ffffff;
}

.resv-step2-page,
.resv-admin-form-page,
.resv-details-page,
.resv-start-page,
.resv-confirm-page {
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--waiv-gray-900);
}

.resv-step2-page,
.resv-admin-form-page,
.resv-details-page,
.resv-start-page {
  background: linear-gradient(180deg, var(--waiv-blue-050) 0%, #f8fbff 240px, var(--waiv-white) 540px);
}

.resv-step2-page h1,
.resv-admin-form-page h1,
.resv-start-page h1,
.resv-details-page h1 {
  color: var(--waiv-blue-900);
  margin-bottom: 6px;
}

.resv-step2-page h2,
.resv-admin-form-page h2,
.resv-start-page h2,
.resv-details-page h2,
.resv-step2-page h3,
.resv-admin-form-page h3,
.resv-details-page h3 {
  color: var(--waiv-blue-900);
}

.addons-table {
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--waiv-gray-300);
  border-radius: 12px;
  overflow: hidden;
  background: var(--waiv-white);
  box-shadow: 0 6px 16px rgba(15, 39, 66, 0.05);
}

.addons-table th,
.addons-table td {
  border: 0;
  border-bottom: 1px solid var(--waiv-gray-200);
  padding: 10px 12px;
  vertical-align: top;
}

.addons-table th {
  background: var(--waiv-blue-100);
  color: var(--waiv-blue-900);
  font-weight: 700;
}

.addons-table tbody tr:nth-child(even) {
  background: #fbfdff;
}

.addons-table tbody tr:hover {
  background: #f1f7fd;
}

.addon-scope-meta {
  color: var(--waiv-gray-700);
}

.resv-step2-page .topbar {
  padding: 10px 12px;
  border: 1px solid var(--waiv-gray-300);
  border-radius: 12px;
  background: var(--waiv-white);
  box-shadow: 0 4px 12px rgba(15, 39, 66, 0.05);
}

.resv-step2-page .participants-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0 8px 0;
}
.resv-details-page .participants-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0 10px 0;
}

.resv-step2-page .participants-value {
  color: var(--waiv-blue-900);
}
.resv-details-page .participants-value {
  color: var(--waiv-blue-900);
}

.resv-step2-page .participants-change-link {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--waiv-gray-300);
  border-radius: 999px;
  background: var(--waiv-white);
  color: var(--waiv-blue-700);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 5px 10px;
}
.resv-details-page .participants-change-link {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--waiv-gray-300);
  border-radius: 999px;
  background: var(--waiv-white);
  color: var(--waiv-blue-700);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 5px 10px;
}

.resv-step2-page .participants-change-link:hover {
  background: var(--waiv-blue-100);
}
.resv-details-page .participants-change-link:hover {
  background: var(--waiv-blue-100);
}

.resv-step2-page .month-nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.resv-step2-page .navbtn {
  border: 1px solid var(--waiv-gray-300);
  border-radius: 10px;
  background: var(--waiv-white);
  color: var(--waiv-blue-900);
  font-weight: 700;
}

.resv-step2-page .navbtn:hover {
  background: var(--waiv-blue-100);
}

.resv-step2-page .monthlabel {
  color: var(--waiv-blue-900);
  letter-spacing: 0.01em;
}

.resv-step2-page .warn {
  border: 1px solid #e6cf9a;
  background: #fff8ea;
}

.resv-step2-page .pkg-card {
  border: 1px solid var(--waiv-gray-300);
  border-radius: 14px;
  padding: 14px;
  background: linear-gradient(180deg, var(--waiv-white) 0%, #fcfdff 100%);
  box-shadow: 0 8px 18px rgba(15, 39, 66, 0.05);
  gap: 6px;
}

.resv-step2-page .pkg-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.resv-step2-page .pkg-top {
  flex: 1 1 auto;
  min-width: 0;
}

.resv-step2-page .pkg-header-row .cal-shell {
  margin-top: 0;
  margin-left: 0;
  flex: 0 0 auto;
  align-self: flex-start;
}

.resv-step2-page .pkg-name {
  color: var(--waiv-blue-900);
}

.resv-step2-page .pkg-meta,
.resv-step2-page .pkg-blurb,
.resv-step2-page .muted {
  color: var(--waiv-gray-700);
}

.resv-step2-page .day-cell {
  border: 1px solid var(--waiv-gray-300);
  background: var(--waiv-white);
  border-radius: 8px;
  transition: background 100ms ease, border-color 100ms ease, transform 100ms ease;
}

.resv-step2-page .day-cell.allowed {
  background: #e9f4fb;
  border-color: #8eb7dc;
}

.resv-step2-page .day-cell.allowed .mk {
  color: var(--waiv-blue-700);
}

.resv-step2-page .day-cell.allowed:hover:not([disabled]) {
  background: #deeffa;
  border-color: var(--waiv-blue-600);
  transform: translateY(-1px);
}

.resv-step2-page .day-cell.allowed.selected {
  outline: 2px solid var(--waiv-blue-700);
}

.resv-step2-page .times-shell {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--waiv-gray-200);
}

.resv-step2-page .timepill {
  border: 1px solid var(--waiv-gray-300);
  background: var(--waiv-white);
  color: var(--waiv-gray-900);
  font-weight: 600;
}

.resv-step2-page .timepill:hover:not([disabled]) {
  background: var(--waiv-blue-100);
}

.resv-step2-page .timepill.selected {
  outline: 2px solid var(--waiv-blue-700);
  border-color: var(--waiv-blue-700);
}

.resv-step2-page .continue {
  border: 1px solid var(--waiv-blue-700);
  background: var(--waiv-blue-700);
  color: var(--waiv-white);
  font-weight: 700;
}

.resv-step2-page .continue:hover:not([disabled]) {
  background: var(--waiv-blue-600);
}

.resv-step2-page .continue[disabled] {
  border-color: var(--waiv-gray-300);
  background: var(--waiv-gray-100);
  color: var(--waiv-gray-700);
}

.resv-details-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

.resv-start-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.resv-brand-logo-wrap {
  display: flex;
  justify-content: center;
  margin: 8px 0 14px;
}

.resv-brand-logo {
  display: block;
  max-width: min(300px, 100%);
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.resv-start-form {
  max-width: 560px;
}

.resv-start-form label {
  display: block;
  font-weight: 600;
  color: var(--waiv-blue-900);
}

.resv-start-form input {
  margin-top: 6px;
  width: 100%;
  max-width: 280px;
  border: 1px solid var(--waiv-gray-300);
  border-radius: 10px;
  padding: 8px 10px;
  font: inherit;
}

.resv-start-form button {
  margin-top: 14px;
}

#cartSummary {
  margin: 10px 0 16px 0;
  max-width: 840px;
  border: 1px solid var(--waiv-gray-300);
  border-radius: 12px;
  background: var(--waiv-white);
  padding: 12px 14px;
  line-height: 1.6;
  box-shadow: 0 6px 16px rgba(15, 39, 66, 0.05);
}

.terms-accept-wrap {
  margin: 12px 0 8px;
}

.terms-accept-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.terms-accept-label input[type="checkbox"] {
  width: auto;
  max-width: none;
  margin-top: 0;
}

.terms-link-btn {
  border: 0;
  background: transparent;
  color: var(--waiv-blue-700);
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  font: inherit;
  font-weight: 700;
}

.split-pay-opt-row {
  margin-top: 10px;
}

.split-pay-opt-label {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 600;
  color: var(--waiv-blue-900);
  max-width: 820px;
}

.split-pay-opt-label input[type="checkbox"] {
  width: auto;
  max-width: none;
  margin-top: 2px;
  flex: 0 0 auto;
}

.terms-modal.hidden {
  display: none;
}

.terms-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
}

.terms-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 35, 0.55);
}

.terms-modal-dialog {
  position: relative;
  z-index: 1;
  margin: 5vh auto;
  width: min(860px, calc(100vw - 32px));
  max-height: 90vh;
  border-radius: 14px;
  border: 1px solid var(--waiv-gray-300);
  background: var(--waiv-white);
  box-shadow: 0 20px 40px rgba(15, 39, 66, 0.25);
  display: flex;
  flex-direction: column;
}

.terms-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--waiv-gray-200);
}

.terms-modal-header h3 {
  margin: 0;
}

.terms-modal-close {
  border: 0;
  background: transparent;
  color: var(--waiv-gray-700);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.terms-modal-body {
  overflow: auto;
  padding: 14px;
}

body.terms-modal-open {
  overflow: hidden;
}

.resv-form-card {
  max-width: 900px;
  border: 1px solid var(--waiv-gray-300);
  border-radius: 14px;
  background: var(--waiv-white);
  box-shadow: 0 8px 18px rgba(15, 39, 66, 0.06);
  padding: 16px;
}

.resv-details-form label,
.resv-admin-form label {
  display: block;
  font-weight: 600;
  color: var(--waiv-blue-900);
  margin: 10px 0 0 0;
}

.resv-details-form input,
.resv-details-form select,
.resv-details-form textarea,
.resv-admin-form input,
.resv-admin-form select,
.resv-admin-form textarea {
  width: 100%;
  max-width: 520px;
  margin-top: 6px;
  border: 1px solid var(--waiv-gray-300);
  border-radius: 10px;
  padding: 8px 10px;
  box-sizing: border-box;
  font: inherit;
  color: var(--waiv-gray-900);
  background: var(--waiv-white);
}

.resv-details-form textarea,
.resv-admin-form textarea {
  min-height: 90px;
}

.resv-details-form > br {
  display: none;
}

.resv-details-form hr,
.resv-admin-form hr {
  border: 0;
  border-top: 1px solid var(--waiv-gray-200);
}

.resv-details-form input:focus,
.resv-details-form select:focus,
.resv-details-form textarea:focus,
.resv-admin-form input:focus,
.resv-admin-form select:focus,
.resv-admin-form textarea:focus {
  outline: 2px solid #98c0e6;
  outline-offset: 0;
  border-color: #7aa8d5;
}

.resv-admin-form-page .muted,
.resv-details-page .muted {
  color: var(--waiv-gray-700);
}

.resv-admin-form .price-mode-chip {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  vertical-align: middle;
  border: 1px solid transparent;
}

.resv-admin-form .price-mode-chip.is-auto {
  background: #e9f8ef;
  color: #1f6d3d;
  border-color: #9ad4af;
}

.resv-admin-form .price-mode-chip.is-manual {
  background: #fff3e8;
  color: #8a4b14;
  border-color: #f2c294;
}

.resv-admin-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 10px 18px;
  align-items: start;
}

.resv-admin-form hr,
.resv-admin-form h3,
.resv-admin-form .actions,
.resv-admin-form .btn-row,
.resv-admin-form #addOnsWrap,
.resv-admin-form > p {
  grid-column: 1 / -1;
}

.resv-admin-form .actions {
  margin-top: 8px;
}

.resv-admin-form button,
.resv-details-form button,
.resv-admin-form .btn,
.resv-confirm-page .btn {
  border-radius: 10px;
}

.resv-admin-form button,
.resv-details-form button,
.resv-admin-form .btn {
  border: 1px solid var(--waiv-blue-700);
  background: var(--waiv-blue-700);
  color: var(--waiv-white);
  font-weight: 700;
  padding: 9px 14px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
}

.resv-admin-form button:hover:not([disabled]),
.resv-details-form button:hover:not([disabled]),
.resv-admin-form .btn:hover {
  background: var(--waiv-blue-600);
}

.resv-confirm-page .card {
  border: 1px solid var(--waiv-gray-300);
  background: var(--waiv-white);
  box-shadow: 0 8px 18px rgba(15, 39, 66, 0.06);
}

.resv-confirm-page .btn {
  border: 1px solid var(--waiv-gray-300);
  color: var(--waiv-blue-900);
  background: var(--waiv-white);
}

.resv-confirm-page .btn:hover {
  background: var(--waiv-blue-100);
}

.resv-confirm-page .btn-primary {
  border-color: var(--waiv-blue-700);
  background: var(--waiv-blue-700);
  color: var(--waiv-white);
}

.resv-confirm-page .btn-primary:hover {
  background: var(--waiv-blue-600);
}

.split-share-link-wrap {
  max-width: 100%;
}

.split-share-link {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.facility-announcement {
  width: min(100%, 900px);
  margin: 0 0 18px 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #f2b84b;
  background: linear-gradient(180deg, #fff7e0 0%, #fff1c2 100%);
  color: #5c3b00;
  box-shadow: 0 8px 24px rgba(92, 59, 0, 0.08);
}

.facility-announcement__title {
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.facility-announcement__body {
  line-height: 1.5;
}

.resv-step2-page .pkg-accordion-toggle {
  display: none;
}

.resv-confirm-page,
.resv-confirm-page .card,
.facility-announcement {
  box-sizing: border-box;
}

.resv-confirm-page .card {
  width: min(720px, 100%);
}

@media (max-width: 820px) {
  .resv-admin-form {
    grid-template-columns: 1fr;
  }

  .resv-step2-page .pkg-header-row {
    flex-direction: column;
    gap: 10px;
  }

  .resv-step2-page .cal-shell {
    margin-left: 0;
  }

  .resv-step2-page .participants-row {
    flex-wrap: wrap;
  }
  .resv-details-page .participants-row {
    flex-wrap: wrap;
  }
}

@media (max-width: 680px) {
  .resv-start-page,
  .resv-step2-page,
  .resv-confirm-page {
    width: 100%;
    max-width: 100%;
    padding: 14px;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  .resv-start-page h1,
  .resv-step2-page h1,
  .resv-confirm-page h1 {
    font-size: 1.75rem;
    line-height: 1.18;
  }

  .resv-start-page h2,
  .resv-step2-page h2 {
    font-size: 1.2rem;
    line-height: 1.25;
  }

  .resv-form-card,
  .resv-start-form,
  .resv-step2-page .topbar,
  .resv-step2-page .pkg-card,
  .resv-confirm-page .card,
  .facility-announcement {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .facility-announcement {
    margin-bottom: 14px;
    padding: 10px 12px;
  }

  .facility-announcement__body {
    overflow-wrap: anywhere;
  }

  .resv-start-form {
    padding: 14px;
  }

  .resv-start-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .resv-start-form input,
  .resv-start-form button {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 44px;
  }

  .resv-start-form input {
    margin-top: 0;
  }

  .resv-start-form button {
    margin-top: 14px;
  }

  .resv-step2-page .participants-row {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .resv-step2-page .topbar {
    align-items: stretch;
    padding: 8px;
    gap: 8px;
  }

  .resv-step2-page .month-nav {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    width: 100%;
    gap: 8px;
  }

  .resv-step2-page .navbtn {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }

  .resv-step2-page .monthlabel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    text-align: center;
  }

  .resv-step2-page .topbar > .muted {
    width: 100%;
    text-align: center;
  }

  .resv-step2-page .pkg-card {
    padding: 12px;
    gap: 10px;
  }

  .resv-step2-page .pkg-header-row {
    gap: 10px;
  }

  .resv-step2-page .pkg-top {
    gap: 10px;
  }

  .resv-step2-page .pkg-name {
    font-size: 1rem;
    line-height: 1.2;
  }

  .resv-step2-page .pkg-meta {
    font-size: 0.85rem;
    line-height: 1.3;
  }

  .resv-step2-page.js-package-accordion-ready .pkg-card.is-collapsed .pkg-featured-media,
  .resv-step2-page.js-package-accordion-ready .pkg-card.is-collapsed .pkg-blurb,
  .resv-step2-page.js-package-accordion-ready .pkg-card.is-collapsed .cal-shell,
  .resv-step2-page.js-package-accordion-ready .pkg-card.is-collapsed .times-shell,
  .resv-step2-page.js-package-accordion-ready .pkg-card.is-collapsed .pkg-form {
    display: none;
  }

  .resv-step2-page.js-package-accordion-ready .pkg-accordion-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--waiv-blue-700);
    border-radius: 10px;
    background: var(--waiv-white);
    color: var(--waiv-blue-900);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
  }

  .resv-step2-page.js-package-accordion-ready .pkg-card.is-expanded .pkg-accordion-toggle {
    background: var(--waiv-blue-700);
    color: var(--waiv-white);
  }

  .resv-step2-page .cal-shell {
    width: 100%;
    margin: 2px 0 0 0;
    display: block;
  }

  .resv-step2-page .pkg-calendar-nav {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    gap: 8px;
  }

  .resv-step2-page .pkg-calendar-navbtn {
    min-width: 40px;
    min-height: 40px;
    padding: 0;
    font-size: 0;
    box-sizing: border-box;
  }

  .resv-step2-page .pkg-calendar-navbtn[aria-label="Previous month"]::before {
    content: "<";
    font-size: 1rem;
  }

  .resv-step2-page .pkg-calendar-navbtn[aria-label="Next month"]::before {
    content: ">";
    font-size: 1rem;
  }

  .resv-step2-page .cal-weekdays,
  .resv-step2-page .cal-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    width: 100%;
    gap: 4px;
  }

  .resv-step2-page .day-cell {
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 0 5px;
    box-sizing: border-box;
  }

  .resv-step2-page .dn,
  .resv-step2-page .mk {
    font-size: 0.78rem;
  }

  .resv-step2-page .times-shell {
    margin-top: 4px;
    padding-top: 10px;
  }

  .resv-step2-page .times {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .resv-step2-page .timepill {
    width: 100%;
    min-height: 42px;
    padding: 8px 6px;
    box-sizing: border-box;
    font-weight: 700;
  }

  .resv-step2-page .continue,
  .resv-confirm-page .btn {
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    text-align: center;
  }

  .resv-confirm-page .u-flex {
    width: 100%;
  }

  .resv-confirm-page .kvs {
    overflow-wrap: anywhere;
  }
}
