/* ─── Booking box (apartment detail sidebar) ──────────────────────────────── */

.booking-box {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.booking-box--page {
  box-shadow: none;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  background: var(--white);
}

/* ─── Booking request page ───────────────────────────────────────────────── */

body.booking-request-view {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  background: var(--gray-7);
}

body.booking-request-view .sp-site-footer {
  display: none;
}

body.booking-request-view .sp-main {
  flex: 1;
  min-height: 0;
}

body.booking-request-view--error {
  overflow: auto;
}

body.booking-request-view--error .sp-main {
  overflow: auto;
  height: auto;
}

body.booking-request-view--error .booking-request-page,
body.booking-request-view--error .booking-summary,
body.booking-request-view--error .booking-form-card {
  height: auto;
  overflow: visible;
}

.booking-form-card__submit[aria-busy="true"] {
  opacity: 0.75;
  cursor: wait;
}

.booking-request-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 2rem;
  width: 100%;
  height: 100%;
}

.booking-request-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 1.25rem;
  align-items: stretch;
  height: 100%;
}

/* Left column — property summary */

.booking-summary {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(11, 37, 69, 0.06);
}

.booking-summary__back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.85rem 1rem 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-4);
  transition: color 0.15s ease;
  flex-shrink: 0;
}

.booking-summary__back:hover {
  color: var(--navy);
}

.booking-summary__back svg {
  width: 0.95rem;
  height: 0.95rem;
}

.booking-summary__media {
  margin: 0.65rem 1rem 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--cream-dk);
  flex-shrink: 0;
}

.booking-summary__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.booking-summary__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  color: var(--gold);
  opacity: 0.35;
}

.booking-summary__image--placeholder svg {
  width: 2.75rem;
  height: 2.75rem;
}

.booking-summary__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 0.85rem 1.15rem 1.1rem;
  gap: 0.75rem;
}

.booking-summary__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

.booking-summary__location {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--gray-3);
}

.booking-summary__location svg {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 0.1rem;
  color: var(--gray-4);
}

.booking-summary__rate {
  margin: -0.35rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
}

.booking-summary__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 0.75rem;
  margin: 0;
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  background: var(--gray-7);
}

.booking-summary__fact {
  min-width: 0;
}

.booking-summary__fact dt {
  margin: 0 0 0.12rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-4);
}

.booking-summary__fact dd {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.booking-summary__breakdown {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.booking-summary__breakdown li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--gray-3);
}

.booking-summary__breakdown li span:last-child {
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.booking-summary__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.booking-summary__total strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.booking-summary__info {
  padding-top: 0.15rem;
}

.booking-summary__info-title {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
}

.booking-summary__info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 0.75rem;
}

.booking-summary__info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  min-width: 0;
}

.booking-summary__info-icon {
  flex-shrink: 0;
  width: 1.2rem;
  height: 1.2rem;
  color: var(--gray-4);
}

.booking-summary__info-icon svg {
  width: 100%;
  height: 100%;
}

.booking-summary__info-label {
  display: block;
  margin-bottom: 0.1rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-4);
  line-height: 1.3;
}

.booking-summary__info-item strong {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}

.booking-summary__trust {
  list-style: none;
  margin: auto 0 0;
  padding: 0.65rem 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.booking-summary__trust li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--gray-3);
}

.booking-summary__trust svg {
  flex-shrink: 0;
  width: 0.95rem;
  height: 0.95rem;
  margin-top: 0.08rem;
  color: #2f9e6b;
}

/* Form card */

.booking-form-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.25rem 1.35rem 1.15rem;
  box-shadow: 0 8px 28px rgba(11, 37, 69, 0.06);
  overflow: hidden;
}

.booking-form-card__head {
  flex-shrink: 0;
  margin-bottom: 0.85rem;
}

.booking-form-card__title {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}

.booking-form-card__sub {
  margin: 0;
  font-size: 0.78rem;
  color: var(--gray-4);
}

.booking-form-card__error {
  margin-bottom: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--r-md);
  background: #fef2f2;
  color: var(--error);
  font-size: 0.82rem;
}

.booking-form-card__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1rem;
  align-items: start;
  flex: 1;
  min-height: 0;
  align-content: start;
}

.booking-form-card__field {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 0;
  align-self: start;
}

.booking-form-card__field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
}

.booking-form-card__field input.sp-input,
.booking-form-card__field select.sp-input {
  height: 2.5rem;
  min-height: 2.5rem;
  max-height: 2.5rem;
  padding: 0 0.75rem;
  border: 1px solid var(--gray-6);
  border-radius: 10px;
  font-size: 0.875rem;
  line-height: 1.25;
  color: var(--navy);
  background: var(--white);
  box-sizing: border-box;
  flex: 0 0 auto;
}

.booking-form-card__field input.sp-input::placeholder,
.booking-form-card__field textarea.sp-input::placeholder,
.booking-box .sp-input::placeholder {
  color: #b0b0b0;
  opacity: 1;
}

.booking-form-card__field .sp-input {
  width: 100%;
}

.booking-form-card__field input.sp-input:focus,
.booking-form-card__field select.sp-input:focus {
  outline: 2px solid rgba(11, 37, 69, 0.12);
  border-color: var(--navy);
}

.booking-form-card__field textarea.sp-input {
  min-height: 3.25rem;
  max-height: 3.25rem;
  height: 3.25rem;
  padding: 0.5rem 0.75rem;
  resize: none;
  line-height: 1.35;
  flex: 0 0 auto;
}

.booking-form-card__field--wide {
  grid-column: 1;
}

.booking-form-card__field--narrow {
  grid-column: 2;
}

.booking-form-card__field--full {
  grid-column: 1 / -1;
}

.booking-form-card__field:has(.booking-form-card__field-error) .sp-input {
  border-color: #d08080;
}

.booking-form-card__field-error {
  font-size: 0.72rem;
  color: var(--error);
  line-height: 1.3;
}

.booking-form-card__submit {
  display: block;
  width: 100%;
  margin-top: 0;
  padding: 0.8rem 1.25rem;
  border: none;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

.booking-form-card__submit:hover {
  background: var(--navy-dk);
}

.booking-form-card__actions {
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 0.75rem;
}

.booking-form-card__legal {
  margin: 0.65rem 0 0;
  text-align: center;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--gray-4);
}

.booking-form-card__legal a {
  color: var(--navy);
  text-decoration: underline;
}

.booking-form-card__save,
.booking-box__save {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--gray-2);
  cursor: pointer;
}

.booking-form-card__save input[type="checkbox"],
.booking-box__save input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--navy);
}

@media (max-width: 900px) {
  body.booking-request-view {
    min-height: auto;
  }

  body.booking-request-view .sp-main {
    height: auto;
  }

  .booking-request-page {
    padding: 1.25rem 1rem 2.5rem;
    height: auto;
  }

  .booking-request-layout {
    grid-template-columns: 1fr;
    height: auto;
  }

  .booking-summary,
  .booking-form-card {
    height: auto;
    overflow: visible;
  }

  .booking-summary__body {
    overflow: visible;
  }

  .booking-summary__info-grid {
    grid-template-columns: 1fr;
  }

  .booking-summary__trust {
    margin-top: 0.5rem;
  }

  .booking-form-card__grid {
    flex: none;
  }

  .booking-form-card__actions {
    margin-top: 0.75rem;
  }
}

@media (max-width: 640px) {
  .booking-form-card__grid {
    grid-template-columns: 1fr;
  }

  .booking-form-card__field--wide,
  .booking-form-card__field--narrow,
  .booking-form-card__field--full {
    grid-column: auto;
  }
}

@media (min-width: 901px) {
  body.booking-request-view {
    overflow: hidden;
  }

  body.booking-request-view .sp-main {
    overflow: hidden;
    height: calc(100dvh - var(--nav-h));
  }

  .booking-request-page {
    height: 100%;
    padding: 1rem 1.5rem 1.15rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .booking-request-layout {
    flex: 1;
    min-height: 0;
  }

  .booking-summary__media {
    margin-top: 0.5rem;
  }

  .booking-summary__image,
  .booking-summary__image--placeholder {
    aspect-ratio: 16 / 10;
    max-height: 168px;
  }

  .booking-summary__body {
    overflow-y: auto;
    padding-bottom: 0.95rem;
  }

  .booking-form-card__grid {
    align-content: space-evenly;
    gap: 0.55rem 0.9rem;
  }

  .booking-form-card__field input.sp-input,
  .booking-form-card__field select.sp-input {
    height: 2.35rem;
    min-height: 2.35rem;
    max-height: 2.35rem;
    font-size: 0.8125rem;
  }

  .booking-form-card__field textarea.sp-input {
    min-height: 3.5rem;
    max-height: 3.5rem;
    height: 3.5rem;
  }

  .booking-form-card__actions {
    padding-top: 0.65rem;
  }

  .booking-form-card__submit {
    padding: 0.72rem 1rem;
    font-size: 0.875rem;
  }

  .booking-form-card__legal {
    margin-top: 0.5rem;
    font-size: 0.68rem;
  }
}

.booking-box__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.booking-box__total-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
}

.booking-box__total-amount {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.booking-box__per-night {
  font-size: 0.8125rem;
  color: var(--gray-4);
  margin-top: -0.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.booking-box__guests .af-hint-inline {
  margin-left: 0;
}

/* Contact block (guest booking without an account) */
.booking-box__contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.booking-box__contact-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
}

.booking-box__contact-hint {
  margin: -0.35rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
}

.booking-box__name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
  flex-wrap: unset;
}

.booking-box__name-row > .af-field {
  min-width: 0;
}

.booking-box__note {
  font-size: 0.72rem;
  color: var(--gray-4);
  text-align: center;
  margin-top: -0.25rem;
}

/* The booking box uses the white .sp-price-box styling. Inputs inside stay
   compact so the whole box matches the resort design system. */
.booking-box .sp-input {
  padding: 0.5rem 0.7rem;
  font-size: 0.875rem;
}

/* Price breakdown + static fee list */
.booking-box__breakdown,
.booking-box__fees {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: -0.25rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

/* `display: flex` above would otherwise beat the [hidden] attribute, so the
   JS toggle between the static fee list and the dynamic breakdown could show
   both at once. This keeps `hidden` working. */
.booking-box__breakdown[hidden],
.booking-box__fees[hidden] {
  display: none;
}

.booking-box__breakdown li,
.booking-box__fees li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--gray-3);
}

.booking-box__breakdown-total {
  padding-top: 0.5rem;
  margin-top: 0.15rem;
  border-top: 1px solid var(--border);
  font-weight: 700;
  color: var(--navy) !important;
}

.booking-box__breakdown-deposit,
.booking-box__deposit {
  padding-top: 0.5rem;
  margin-top: 0.15rem;
  border-top: 1px solid var(--border);
  color: var(--gray-4) !important;
  font-size: 0.78rem !important;
}

/* ─── Booking confirmation page ────────────────────────────────────────────── */

.booking-confirm__head {
  text-align: center;
  padding: 1rem 0;
}

.booking-confirm__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--r-full);
  background: var(--cream);
  color: var(--success);
}

.booking-confirm__icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.booking-confirm__card {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.booking-confirm__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--gray-3);
}

.booking-confirm__row--total {
  padding-top: 0.75rem;
  margin-top: 0.25rem;
  border-top: 1px solid var(--border);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
}

.booking-confirm__row--muted {
  font-size: 0.82rem;
  color: var(--gray-4);
}

.booking-confirm__divider {
  height: 1px;
  background: var(--border);
  margin: 0.25rem 0;
}

.booking-confirm__contact {
  margin-top: 1.75rem;
}

/* ─── Booking list (provider requests & my bookings) ───────────────────────── */

.sp-dashboard-header__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ─── Sort bar ─────────────────────────────────────────────────────────────── */
.booking-sort {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}
.booking-sort__label {
  color: var(--gray-4);
  font-weight: 600;
}
.booking-sort__link {
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  color: var(--gray-3);
  text-decoration: none;
  background: var(--white);
}
.booking-sort__link:hover { border-color: var(--gold); }
.booking-sort__link.is-active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.booking-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

/* New-message notice — a clear, full-width box on the booking card so the
   provider sees at a glance which booking has an unread message. */
.booking-list__item--unread {
  border-color: #fecaca;
  box-shadow: 0 0 0 1px #fecaca, var(--shadow-card);
}
.booking-notice {
  flex-basis: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--r-md);
  background: #fef2f2;
  border: 1px solid #fecaca;
  text-decoration: none;
  transition: background 0.15s ease;
}
.booking-notice:hover { background: #fee2e2; }
.booking-notice__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  border-radius: var(--r-full);
  background: #dc2626;
  color: #fff;
}
.booking-notice__icon svg { width: 1.1rem; height: 1.1rem; }
.booking-notice__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}
.booking-notice__text strong { color: #b91c1c; font-size: 0.9rem; }
.booking-notice__text span { color: #c2410c; font-size: 0.78rem; }
.booking-notice__cta {
  margin-left: auto;
  flex: 0 0 auto;
  color: #b91c1c;
  font-weight: 700;
  font-size: 0.82rem;
}

/* Pending change request (cancellation / reschedule) — gold attention banner. */
.booking-list__item--change {
  border-color: #fcd9a0;
  box-shadow: 0 0 0 1px #fcd9a0, var(--shadow-card);
}
.booking-notice--change {
  background: #fffbeb;
  border-color: #fcd9a0;
}
.booking-notice--change:hover { background: #fef3c7; }
.booking-notice__icon--change { background: var(--gold); color: var(--navy); }
.booking-notice--change .booking-notice__text strong { color: #92400e; }
.booking-notice--change .booking-notice__text span { color: #b45309; }
.booking-notice--change .booking-notice__cta { color: #92400e; }

/* Overlapping open requests get a warm highlight + recommendation banner. */
.booking-list__item--overlap {
  border-color: #fed7aa;
  box-shadow: 0 0 0 1px #fed7aa, var(--shadow-card);
}
.booking-list__overlap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex-basis: 100%;
}
.booking-list__overlap-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: #c2410c;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: var(--r-full);
  padding: 0.2rem 0.6rem;
}
.booking-list__best {
  font-size: 0.75rem;
  font-weight: 700;
  color: #15803d;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  border-radius: var(--r-full);
  padding: 0.2rem 0.6rem;
}
.booking-list__blocked {
  font-size: 0.75rem;
  font-weight: 700;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--r-full);
  padding: 0.2rem 0.6rem;
}

/* Acceptance advice: which overlapping request(s) to take, and why — in euros.
   Colour-coded by kind: green = recommended, blue = equally-good alternative,
   orange = costs revenue, red = can't be accepted at all. */
.booking-advice {
  flex-basis: 100%;
  border: 1px solid var(--border);
  border-left-width: 3px;
  border-radius: var(--r-md);
  padding: 0.75rem 0.9rem;
  background: var(--white);
}
.booking-advice__headline {
  margin: 0 0 0.25rem;
  font-size: 0.85rem;
  font-weight: 700;
}
.booking-advice__detail {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
}
.booking-advice--recommend {
  background: #f0fdf4;
  border-color: #bbf7d0;
  border-left-color: #16a34a;
}
.booking-advice--recommend .booking-advice__headline { color: #15803d; }
.booking-advice--alternative {
  background: #eff6ff;
  border-color: #bfdbfe;
  border-left-color: #2563eb;
}
.booking-advice--alternative .booking-advice__headline { color: #1d4ed8; }
.booking-advice--avoid {
  background: #fff7ed;
  border-color: #fed7aa;
  border-left-color: #ea580c;
}
.booking-advice--avoid .booking-advice__headline { color: #c2410c; }
.booking-advice--blocked {
  background: #fef2f2;
  border-color: #fecaca;
  border-left-color: #dc2626;
}
.booking-advice--blocked .booking-advice__headline { color: #b91c1c; }

/* Itemised recommended combination with a summed total. */
.booking-advice__combo {
  margin-top: 0.6rem;
  padding: 0.55rem 0.7rem;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid #bbf7d0;
  border-radius: var(--r-sm);
}
.booking-advice__combo-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #15803d;
  margin-bottom: 0.4rem;
}
.booking-advice__combo-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.booking-advice__combo-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: #374151;
}
.booking-advice__combo-item.is-self {
  font-weight: 700;
  color: #15803d;
}
.booking-advice__combo-item.is-self .booking-advice__combo-dates::after {
  content: " · diese Anfrage";
  font-weight: 600;
  color: #16a34a;
}
.booking-advice__combo-price { white-space: nowrap; }
.booking-advice__combo-total {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.45rem 0 0;
  padding-top: 0.4rem;
  border-top: 1px solid #bbf7d0;
  font-size: 0.82rem;
  color: #15803d;
}

.booking-list__item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}

.booking-list__main {
  flex: 1 1 220px;
  min-width: 0;
}

.booking-list__title {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.15rem;
}

.booking-list__guest,
.booking-list__meta {
  font-size: 0.82rem;
  color: var(--gray-4);
}

.booking-list__message {
  font-size: 0.82rem;
  color: var(--gray-3);
  font-style: italic;
  margin-top: 0.35rem;
}

.booking-list__facts {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 0 1 auto;
}

.booking-list__dates {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.booking-list__price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
}

.booking-list__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.booking-list__actions {
  display: flex;
  gap: 0.5rem;
}

@media (max-width: 640px) {
  .booking-list__side {
    align-items: stretch;
    width: 100%;
  }
  .booking-list__actions {
    width: 100%;
  }
  .booking-list__actions form {
    flex: 1;
  }
  .booking-list__actions .sp-btn {
    width: 100%;
  }
}

/* ─── Booking detail (provider) ────────────────────────────────────────────── */

.booking-detail__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0 1.25rem;
}

.booking-detail__actions {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.booking-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
}

.booking-detail__contact-name {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.booking-detail__contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.booking-detail__address {
  font-size: 0.85rem;
  color: var(--gray-3);
  margin-top: 0.75rem;
  line-height: 1.5;
}

.booking-detail__note {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--gray-3);
  margin-top: 0.75rem;
}

.booking-confirm__pdf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  padding: 1.125rem 1.25rem;
  background: var(--cream);
  border: 1px solid var(--cream-dk);
  border-radius: var(--r-lg);
}

.booking-confirm__pdf-title {
  font-weight: 700;
  color: var(--navy);
}

/* ─── Chat thread ──────────────────────────────────────────────────────────── */

.booking-detail__chat {
  margin-top: 1.75rem;
}

.booking-chat {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--white);
  overflow: hidden;
}

.booking-chat__stream {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 1.25rem;
  max-height: 420px;
  overflow-y: auto;
}

.booking-chat__msg {
  display: flex;
  justify-content: flex-start;
}

.booking-chat__msg.is-mine {
  justify-content: flex-end;
}

.booking-chat__bubble {
  max-width: 78%;
  padding: 0.625rem 0.875rem;
  border-radius: var(--r-md);
  background: var(--gray-7);
  border: 1px solid var(--border);
}

.booking-chat__msg.is-mine .booking-chat__bubble {
  background: var(--cream);
  border-color: var(--cream-dk);
}

.booking-chat__meta {
  font-size: 0.72rem;
  color: var(--gray-4);
  margin-bottom: 0.2rem;
}

.booking-chat__body {
  font-size: 0.9rem;
  color: var(--black);
  white-space: pre-wrap;
}

.booking-chat__empty {
  text-align: center;
  color: var(--gray-4);
  font-size: 0.875rem;
  padding: 1.5rem 0;
}

.booking-chat__form {
  display: flex;
  gap: 0.625rem;
  align-items: flex-end;
  padding: 0.875rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--gray-7);
}

.booking-chat__form textarea {
  flex: 1;
  resize: vertical;
  min-height: 42px;
}

@media (max-width: 640px) {
  .booking-detail__grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Redesigned booking pages (confirmation + provider detail) ─────────────── */

.booking-page {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Hero / status header card */
.booking-hero {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
}

.booking-hero__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.booking-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0.15rem 0 0.1rem;
  line-height: 1.15;
}

.booking-hero__sub {
  color: var(--gray-4);
  font-size: 0.9rem;
  margin: 0;
}

.booking-hero__badge {
  flex: 0 0 auto;
  font-size: 0.85rem;
}

.booking-hero__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.booking-fact {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.booking-fact__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-4);
  font-weight: 600;
}

.booking-fact__value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
}

.booking-fact--total .booking-fact__value {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

/* Inline status banner */
.booking-banner {
  padding: 0.85rem 1.1rem;
  border-radius: var(--r-md);
  font-size: 0.88rem;
  font-weight: 500;
}
.booking-banner--orange { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
.booking-banner--gray   { background: var(--gray-7); color: var(--gray-4); border: 1px solid var(--gray-6); }

/* Generic content card */
.booking-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
}

.booking-policy__text {
  font-size: 0.88rem;
  color: var(--gray-3);
  line-height: 1.6;
  margin: 0;
}

/* ─── Change / cancel request box ──────────────────────────────────────────── */

.booking-change {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
}

.booking-change--pending { border-color: #fed7aa; background: #fffdf8; }
.booking-change--action {
  border-color: #fed7aa;
  box-shadow: 0 0 0 1px #fed7aa, var(--shadow-card);
}

.booking-change__head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
  font-size: 1rem;
}

.booking-change__detail {
  font-size: 0.88rem;
  color: var(--gray-3);
  margin: 0.3rem 0;
}

.booking-change__hint {
  font-size: 0.8rem;
  color: var(--gray-4);
  margin: 0.5rem 0;
}

/* Cancellation/change terms shown to the guest right at the request. */
.booking-change__policy-note {
  background: var(--cream);
  border: 1px solid var(--cream-dk);
  border-radius: var(--r-md);
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
}
.booking-change__policy-note strong {
  display: block;
  font-size: 0.82rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.booking-change__policy-note p {
  font-size: 0.85rem;
  color: var(--gray-3);
  line-height: 1.55;
  margin: 0;
}

/* Tabs (reschedule vs cancel) */
.booking-change__tabs {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.25rem;
  background: var(--gray-7);
  border-radius: var(--r-full);
  margin-bottom: 1.25rem;
}
.booking-change__tab {
  border: none;
  background: transparent;
  padding: 0.4rem 1rem;
  border-radius: var(--r-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-4);
  cursor: pointer;
}
.booking-change__tab.is-active {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-card);
}

.booking-change__panel {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.booking-change__dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
}

.booking-change__danger {
  color: #b91c1c;
  border-color: #fecaca;
}
.booking-change__danger:hover { background: #fef2f2; }

/* Provider compare current vs requested */
.booking-change__compare {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem;
  background: var(--gray-7);
  border-radius: var(--r-md);
  margin-bottom: 0.75rem;
}
.booking-change__compare > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.booking-change__arrow { font-size: 1.4rem; color: var(--gold); font-weight: 700; }
.booking-change__price { font-size: 0.82rem; color: var(--gray-4); font-weight: 600; }

.booking-change__policy {
  margin: 0.75rem 0;
  font-size: 0.85rem;
}
.booking-change__policy summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
}
.booking-change__policy p {
  margin-top: 0.5rem;
  color: var(--gray-3);
  line-height: 1.6;
}

.booking-change__decide {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.booking-change__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-start;
}

.booking-change__history {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.booking-change__history li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--gray-3);
}
.booking-change__history time { margin-left: auto; color: var(--gray-4); font-size: 0.8rem; }

.booking-page__footer {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* Centered system note in the chat thread */
.booking-chat__system {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  text-align: center;
  margin: 0.25rem auto;
  padding: 0.5rem 1rem;
  max-width: 90%;
  background: var(--cream);
  border: 1px solid var(--cream-dk);
  border-radius: var(--r-md);
  font-size: 0.82rem;
  color: var(--navy);
}
.booking-chat__system time { color: var(--gray-4); font-size: 0.7rem; }

@media (max-width: 640px) {
  .booking-grid { grid-template-columns: 1fr; }
  .booking-change__dates { grid-template-columns: 1fr; }
  .booking-change__reject { flex-direction: column; }
}

/* ─── Airbnb-style date range picker (datepicker.js) ────────────────────────── */

.sp-dp {
  position: relative;
}

/* The two clickable CHECK-IN / CHECK-OUT cells */
.sp-dp__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--gray-6);
  border-radius: var(--r-md);
}

.sp-dp__field {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-align: left;
  background: var(--white);
  border: none;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  border-radius: var(--r-md);
}

.sp-dp__field + .sp-dp__field {
  border-left: 1px solid var(--gray-6);
}

.sp-dp__field.is-active {
  box-shadow: inset 0 0 0 2px var(--navy);
}

.sp-dp__field-label {
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gray-4);
}

.sp-dp__field-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.sp-dp__field.is-empty .sp-dp__field-value {
  color: var(--gray-5);
  font-weight: 500;
}

/* Floating calendar popover */
.sp-dp__panel {
  position: absolute;
  z-index: 60;
  top: calc(100% + 0.6rem);
  right: 0;
  width: 640px;
  max-width: min(640px, calc(100vw - 2rem));
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem 1.5rem 1rem;
}

.sp-dp__panel[hidden] { display: none; }

.sp-dp__head {
  margin-bottom: 0.85rem;
}

.sp-dp__nights {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.55rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}

.sp-dp__status {
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--error);
}

.sp-dp__range {
  font-size: 0.8rem;
  color: var(--gray-4);
  margin-top: 0.15rem;
}

.sp-dp__months {
  position: relative;
}

.sp-dp__grids {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

.sp-dp__month-name {
  text-align: center;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.sp-dp__nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.sp-dp__nav-group {
  display: flex;
  gap: 0.35rem;
}

.sp-dp__nav {
  width: 2rem;
  height: 2rem;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.sp-dp__nav svg { width: 1rem; height: 1rem; }
.sp-dp__nav--year svg { width: 0.85rem; height: 0.85rem; }
.sp-dp__nav:disabled { opacity: 0.3; cursor: default; }
.sp-dp__nav:not(:disabled):hover { border-color: var(--navy); }

.sp-dp__weekdays,
.sp-dp__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.sp-dp__weekdays { margin-bottom: 0.35rem; }

.sp-dp__weekdays span {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gray-4);
  padding: 0.2rem 0;
}

.sp-dp__day {
  appearance: none;
  border: none;
  background: transparent;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.05rem;
  line-height: 1.05;
  font-size: 0.85rem;
  color: var(--navy);
  cursor: pointer;
  border-radius: var(--r-full);
  padding: 0;
}

.sp-dp__day-num {
  font-size: 0.85rem;
  position: relative;
  z-index: 1;
}

.sp-dp__day-price {
  font-size: 0.56rem;
  font-weight: 500;
  color: var(--gray-4);
  letter-spacing: -0.02em;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

button.sp-dp__day:hover {
  box-shadow: inset 0 0 0 1.5px var(--navy);
}

.sp-dp__day.is-empty { visibility: hidden; cursor: default; }
.sp-dp__day.is-today { font-weight: 700; }

.sp-dp__day.is-disabled,
.sp-dp__day.is-out {
  color: var(--gray-5);
  cursor: default;
}

.sp-dp__day.is-blocked {
  color: var(--gray-5);
  text-decoration: line-through;
  cursor: not-allowed;
}

button.sp-dp__day.is-invalid-choice {
  cursor: pointer;
}

.sp-dp__day.is-checkout-boundary {
  color: var(--gray-4);
  cursor: not-allowed;
}

.sp-dp__day.in-range {
  background: var(--cream);
  border-radius: 0;
  color: var(--navy);
}

.sp-dp__day.in-range.is-range-invalid {
  background: #fff1f1;
  color: var(--error);
}

.sp-dp__day.is-blocked.in-range.is-range-invalid {
  text-decoration: none;
}

/* Selected check-in / check-out: a round navy chip whose inner side is bridged
   into the cream in-range band by a connector, so the whole span reads as one
   rounded shape instead of detached rounded boxes. */
.sp-dp__day.is-start,
.sp-dp__day.is-end {
  position: relative;
  isolation: isolate;
  border-radius: 0;
  color: var(--white);
  font-weight: 700;
}

/* Cream connector on the side that faces the range, filling the gaps left by the
   round chip so it merges seamlessly with the in-range band. */
.sp-dp__day.is-start {
  background: linear-gradient(to right, transparent 50%, var(--cream) 50%);
}

.sp-dp__day.is-end {
  background: linear-gradient(to left, transparent 50%, var(--cream) 50%);
}

.sp-dp__day.is-start.is-range-invalid {
  background: linear-gradient(to right, transparent 50%, #fff1f1 50%);
}

.sp-dp__day.is-end.is-range-invalid {
  background: linear-gradient(to left, transparent 50%, #fff1f1 50%);
}

.sp-dp__day.is-start::before,
.sp-dp__day.is-end::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--navy);
  border-radius: var(--r-full);
  z-index: 0;
}

.sp-dp__day.is-start.is-range-invalid::before,
.sp-dp__day.is-end.is-range-invalid::before {
  background: var(--error);
}

/* Keep the price readable on the dark selected chips. */
.sp-dp__day.is-start .sp-dp__day-price,
.sp-dp__day.is-end .sp-dp__day-price {
  color: rgba(255, 255, 255, 0.85);
}

/* The check-out day isn't a night you pay for – hide its per-night price to
   avoid confusion. */
.sp-dp__day.is-end .sp-dp__day-price {
  display: none;
}

.sp-dp__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

.sp-dp__reset {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  text-decoration: underline;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy);
  cursor: pointer;
}

.sp-dp__reset-icon {
  display: inline-flex;
  flex: none;
  width: 0.8rem;
  height: 0.8rem;
}

.sp-dp__reset-icon svg {
  width: 100%;
  height: 100%;
}

.sp-dp__close {
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--r-md);
  padding: 0.5rem 1.1rem;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}

.sp-dp__close:hover { background: var(--navy-dk); }

/* Embedded calendar (apartment detail page) */
.sp-dp--embedded .sp-dp__panel {
  position: static;
  top: auto;
  right: auto;
  width: 100%;
  max-width: none;
  margin-top: 1rem;
  box-shadow: none;
  border: 1px solid var(--border);
  padding: 1.25rem 1.25rem 1rem;
}

.sp-dp--embedded .sp-dp__panel[hidden] {
  display: block;
}

.sp-dp--embedded .sp-dp__foot {
  justify-content: flex-start;
}

.sp-dp--embedded .sp-dp__field {
  cursor: default;
  pointer-events: none;
  user-select: none;
}

.sp-dp--embedded .sp-dp__field.is-active {
  box-shadow: none;
}

/* Mobile: a single month, presented as a bottom sheet */
@media (max-width: 720px) {
  .sp-dp__panel {
    position: fixed;
    top: auto;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    width: auto;
    max-width: none;
    max-height: 86vh;
    overflow-y: auto;
  }
  .sp-dp__grids { grid-template-columns: 1fr; }
  .sp-dp__month:nth-child(2) { display: none; }

  .sp-dp--embedded .sp-dp__panel {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    max-height: none;
    overflow: visible;
  }

  .sp-dp--embedded .sp-dp__grids {
    grid-template-columns: 1fr;
  }

  .sp-dp--embedded .sp-dp__month:nth-child(2) {
    display: none;
  }
}

/* ─── Guest confirmation — equal boxes, priority top → bottom ─────────── */

body.booking-confirm-view .sp-main {
  background: var(--gray-7);
}

.bcp-page {
  padding: clamp(1.25rem, 4vw, 2.5rem) 1rem 3.5rem;
  display: flex;
  justify-content: center;
}

.bcp {
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bcp-tier {
  width: 100%;
  padding: clamp(1.15rem, 3vw, 1.6rem) clamp(1rem, 3vw, 1.5rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(11, 37, 69, 0.05);
}

.bcp-alert {
  width: 100%;
  padding: 0.9rem 1.25rem;
  background: #fffdf8;
  border: 1px solid #fed7aa;
  border-radius: 14px;
  font-size: 0.86rem;
  color: var(--gray-3);
}

.bcp-alert__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  color: var(--navy);
}

/* ── Tier 1: Status ───────────────────────────────────────────────────── */

.bcp-tier--1 {
  text-align: center;
  padding-top: clamp(1.5rem, 4vw, 2rem);
  padding-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

.bcp--requested .bcp-tier--1 {
  background: linear-gradient(180deg, #fffaf5 0%, var(--white) 100%);
}

.bcp--accepted .bcp-tier--1,
.bcp--completed .bcp-tier--1 {
  background: linear-gradient(180deg, #f0fdf8 0%, var(--white) 100%);
}

.bcp-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.85rem;
}

.bcp-status__ref {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-4);
}

.bcp-headline {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.12;
}

.bcp-lead {
  margin: 0 auto;
  max-width: 34rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--gray-3);
}

/* ── Tier labels (shared) ───────────────────────────────────────────────── */

.bcp-tier__label {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gray-4);
}

.bcp-tier__hint,
.bcp-tier__text {
  margin: -0.35rem 0 0.85rem;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--gray-3);
}

/* ── Tier 2: Trip core ──────────────────────────────────────────────────── */

.bcp-trip {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 0.85rem 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.bcp-trip__media {
  display: block;
  border-radius: 10px;
  overflow: hidden;
}

.bcp-trip__media img,
.bcp-trip__placeholder {
  display: block;
  width: 88px;
  height: 66px;
  object-fit: cover;
}

.bcp-trip__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-dk);
  color: var(--gold);
  opacity: 0.45;
}

.bcp-trip__placeholder svg {
  width: 1.5rem;
  height: 1.5rem;
}

.bcp-trip__title {
  margin: 0 0 0.12rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.bcp-trip__location {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--gray-4);
}

.bcp-trip__total {
  text-align: right;
}

.bcp-trip__total-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-4);
}

.bcp-trip__total-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}

.bcp-trip__total-meta {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.74rem;
  color: var(--gray-4);
}

.bcp-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 0;
}

.bcp-facts > div {
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  background: var(--gray-7);
}

.bcp-facts dt {
  margin: 0 0 0.15rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-4);
}

.bcp-facts dd {
  margin: 0;
  font-size: 0.86rem;
  color: var(--navy);
}

.bcp-facts dd strong {
  font-weight: 700;
}

.bcp-facts__sub {
  margin-top: 0.1rem !important;
  font-size: 0.76rem !important;
  color: var(--gray-4) !important;
}

/* ── Tier 3: Steps (horizontal) ───────────────────────────────────────── */

.bcp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.bcp-steps li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  color: var(--gray-4);
  position: relative;
}

.bcp-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0.35rem;
  left: calc(50% + 0.55rem);
  width: calc(100% - 1.1rem);
  height: 2px;
  background: var(--gray-6);
  z-index: 0;
}

.bcp-steps li.is-done:not(:last-child)::after {
  background: #059669;
}

.bcp-steps__dot {
  position: relative;
  z-index: 1;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  border: 2px solid var(--gray-6);
  background: var(--white);
}

.bcp-steps li.is-done .bcp-steps__dot {
  border-color: #059669;
  background: #059669;
}

.bcp-steps li.is-current .bcp-steps__dot {
  border-color: var(--gold);
  background: var(--gold);
}

.bcp-steps li strong {
  display: block;
  margin-bottom: 0.06rem;
  font-size: 0.8rem;
  color: var(--navy);
}

/* ── Tier 4: Details ────────────────────────────────────────────────────── */

.bcp-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.bcp-price {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.bcp-price__row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
}

.bcp-price__row dt {
  margin: 0;
  font-weight: 400;
  color: var(--gray-3);
}

.bcp-price__row dd {
  margin: 0;
  font-weight: 600;
  color: var(--navy);
}

.bcp-price__row--total {
  margin-top: 0.2rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}

.bcp-price__row--total dd {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.bcp-price__note {
  margin: 0.35rem 0 0;
  font-size: 0.74rem;
  color: var(--gray-4);
}

.bcp-guest {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.82rem;
  color: var(--gray-3);
  line-height: 1.4;
}

.bcp-guest strong {
  color: var(--navy);
  font-size: 0.9rem;
}

.bcp-guest__note {
  margin: 0.35rem 0 0;
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  background: var(--gray-7);
  font-size: 0.8rem;
  font-style: italic;
}

/* ── Tier 5–6: Chat & change ────────────────────────────────────────────── */

.bcp-tier .booking-chat {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--gray-7);
  box-shadow: none;
}

.bcp-tier .booking-chat__form {
  background: var(--white);
}

.bcp-tier.booking-change {
  box-shadow: 0 6px 20px rgba(11, 37, 69, 0.05);
}

.bcp-policy {
  margin-bottom: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  font-size: 0.84rem;
  color: var(--gray-3);
}

.bcp-policy summary {
  padding: 0.65rem 0.8rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  background: var(--gray-7);
}

.bcp-policy > div {
  padding: 0.75rem 0.8rem;
  line-height: 1.55;
}

/* ── Tier 7: Actions ────────────────────────────────────────────────────── */

.bcp-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-top: 0.55rem;
}

.bcp-tier--7 > .sp-btn--full:first-child:last-child,
.bcp-tier--7 > .sp-btn--full:only-of-type {
  margin-bottom: 0.55rem;
}

.bcp-tier--7 > .sp-btn--full + .bcp-actions {
  margin-top: 0;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 680px) {
  .bcp-trip {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .bcp-trip__total {
    grid-column: 1 / -1;
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.65rem;
    padding-top: 0.35rem;
    border-top: 1px solid var(--border);
  }

  .bcp-trip__total-value {
    margin-left: auto;
  }

  .bcp-details {
    grid-template-columns: 1fr;
  }

  .bcp-steps {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .bcp-steps li {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
  }

  .bcp-steps li:not(:last-child)::after {
    display: none;
  }

  .bcp-steps__dot {
    margin-top: 0.2rem;
  }

  .bcp-actions {
    grid-template-columns: 1fr;
  }

  .bcp-facts {
    grid-template-columns: 1fr;
  }
}

/* ─── Country autocomplete ───────────────────────────────────────────────── */

.country-autocomplete {
  position: relative;
}

.country-autocomplete__list {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  z-index: 30;
  margin: 0;
  padding: 0.4rem 0;
  list-style: none;
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 0.75rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  max-height: 16rem;
  overflow-y: auto;
}

.country-autocomplete__option {
  padding: 0.7rem 1rem;
  font-size: 0.9375rem;
  line-height: 1.35;
  color: #222222;
  cursor: pointer;
}

.country-autocomplete__option:hover,
.country-autocomplete__option.is-active {
  background: #f7f7f7;
}

.booking-form-card__field .country-autocomplete,
.cancel-card__field .country-autocomplete {
  width: 100%;
}

/* ─── Public cancellation pages ──────────────────────────────────────────── */

.cancel-page {
  min-height: 100dvh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2.5rem) 4rem;
  background: var(--gray-7);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.cancel-card {
  width: 100%;
  max-width: 44rem;
  background: var(--white);
  border-radius: 1rem;
  border: 1px solid #ebebeb;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.cancel-card--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 2.5rem;
}

.cancel-card__back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 1.5rem 2.5rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #222222;
  text-decoration: none;
}

.cancel-card__back svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.cancel-card__back:hover { text-decoration: underline; }

.cancel-card__intro {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 2.5rem 0;
}

.cancel-card__intro-text {
  flex: 1;
  min-width: 0;
}

.cancel-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--r-full);
  background: #f7f7f7;
  flex-shrink: 0;
  color: #222222;
}

.cancel-card__icon svg { width: 1.5rem; height: 1.5rem; }

.cancel-card__icon--sent  { background: #dbeafe; color: #1d4ed8; }
.cancel-card__icon--done  { background: #dcfce7; color: #15803d; }
.cancel-card__icon--error { background: #fee2e2; color: var(--error); }

.cancel-card__header {
  padding: 0 0 2rem;
}

.cancel-card__title {
  margin: 0 0 0.5rem;
  font-family: inherit;
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 600;
  color: #222222;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.cancel-card--center .cancel-card__title {
  margin: 1rem 0 0.5rem;
}

.cancel-card__lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: #717171;
}

.cancel-card--center .cancel-card__lead {
  margin: 0;
  max-width: 32rem;
}

.cancel-card__hint {
  display: block;
  margin: 0.4rem 0 0;
  font-size: 0.8125rem;
  color: #717171;
  line-height: 1.5;
}

.cancel-card__form {
  padding: 0 2.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.cancel-card__error {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.9rem 1rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 0.75rem;
  font-size: 0.9rem;
  color: var(--error);
  line-height: 1.5;
}

.cancel-card__section-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #717171;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #ebebeb;
  margin-top: 0.5rem;
}

.cancel-card__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.cancel-card__row--street {
  grid-template-columns: minmax(0, 1fr) 7.5rem;
}

.cancel-card__field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.cancel-card__field--grow { flex: 1 1 auto; }
.cancel-card__field--shrink { flex: 0 0 auto; min-width: 6rem; }

.cancel-card__label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #717171;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cancel-input {
  appearance: none;
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--white);
  border: 1px solid #b0b0b0;
  border-radius: 0.5rem;
  font: inherit;
  font-size: 1rem;
  color: #222222;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  -webkit-font-smoothing: antialiased;
}

.cancel-input::placeholder {
  color: #b0b0b0;
}

.cancel-input:focus {
  border-color: #222222;
  box-shadow: 0 0 0 2px rgba(34, 34, 34, 0.08);
}

.cancel-input:hover:not(:focus) {
  border-color: #717171;
}

textarea.cancel-input {
  resize: vertical;
  min-height: 6rem;
}

.cancel-card__field-error {
  font-size: 0.8125rem;
  color: var(--error);
}

.cancel-card__form .sp-btn--gold {
  margin-top: 0.5rem;
  min-height: 3rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
}

.bcp-cancel-link {
  margin-top: 1rem;
  color: var(--error) !important;
  border-color: #fecaca !important;
}

.bcp-cancel-link:hover {
  background: #fef2f2 !important;
}

@media (max-width: 640px) {
  .cancel-card__back,
  .cancel-card__intro,
  .cancel-card__form {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .cancel-card__row,
  .cancel-card__row--street {
    grid-template-columns: 1fr;
  }
}

/* ═══ Provider booking board — grouped redesign ════════════════════════════ */

/* Resort-style image hero, echoing the homepage: photo, warm navy scrim,
   gold eyebrow and a Playfair headline, with at-a-glance stats. */
.pb-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(230px, 32vw, 340px);
  display: flex;
  align-items: flex-end;
}

.pb-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
}

/* Scrim: darker at the bottom-left where the copy sits, warm gold glow top-right. */
.pb-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(221, 185, 103, 0.28) 0%, transparent 50%),
    linear-gradient(180deg, rgba(7, 26, 51, 0.28) 0%, rgba(7, 26, 51, 0.55) 55%, rgba(7, 26, 51, 0.85) 100%),
    linear-gradient(75deg, rgba(7, 26, 51, 0.7) 0%, transparent 65%);
}

.pb-hero__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 2.75rem) 1.5rem clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--white);
}

.pb-hero__copy { max-width: 40ch; }

.pb-hero__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin: 0 0 0.6rem;
}

.pb-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(7, 26, 51, 0.45);
}

.pb-hero__sub {
  margin: 0.7rem 0 0;
  font-size: clamp(0.9rem, 1.4vw, 1.02rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  text-wrap: balance;
}

/* Frosted stat cards, right-aligned on wide screens. */
.pb-hero__stats {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pb-hero__stat {
  min-width: 6.5rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.pb-hero__stat-value {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
}

.pb-hero__stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.pb-page {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Active / Archive switch */
.pb-tabs {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.28rem;
  margin-bottom: 2rem;
  background: var(--gray-7);
  border-radius: var(--r-full);
  align-self: flex-start;
}

.pb-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--r-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-4);
  transition: background var(--t), color var(--t);
}

.pb-tab:hover { color: var(--navy); }

.pb-tab.is-active {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.pb-tab__count {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.05rem 0.4rem;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.18);
}

.pb-tab:not(.is-active) .pb-tab__count {
  background: var(--gray-6);
  color: var(--gray-3);
}

/* ─── Section (one per booking status) ──────────────────────────────────── */
.pb-section {
  padding: 0.5rem 0;
}

.pb-section__head {
  margin-bottom: 1.25rem;
}

.pb-section__heading {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pb-section__dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: var(--r-full);
  flex: 0 0 auto;
  background: var(--gold);
}

.pb-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  line-height: 1.15;
}

.pb-section__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.6rem;
  height: 1.6rem;
  padding: 0 0.5rem;
  border-radius: var(--r-full);
  background: var(--gray-7);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-3);
}

.pb-section__hint {
  margin: 0.4rem 0 0 1.3rem;
  font-size: 0.86rem;
  color: var(--gray-4);
}

/* Tone accents per section */
.pb-section--requested .pb-section__dot { background: var(--gold); }
.pb-section--current   .pb-section__dot { background: #16a34a; }
.pb-section--accepted  .pb-section__dot { background: #16a34a; }
.pb-section--cancelled .pb-section__dot { background: var(--gray-5); }
.pb-section--rejected  .pb-section__dot { background: #dc2626; }

/* Ongoing/upcoming section gets a soft live pulse on its dot. */
.pb-section--current .pb-section__dot {
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5);
  animation: pb-pulse 2.4s ease-out infinite;
}

@keyframes pb-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.45); }
  70%  { box-shadow: 0 0 0 7px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .pb-section--current .pb-section__dot { animation: none; }
}

.pb-section__groups {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ─── Divider between sections (inset from the edges) ────────────────────── */
.pb-divider {
  border: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    var(--border) 12%,
    var(--border) 88%,
    transparent 100%
  );
  margin: 2.25rem clamp(0.5rem, 4vw, 3rem);
}

/* ─── Collapsible apartment group ───────────────────────────────────────── */
.pb-apt {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.pb-apt__summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background var(--t);
}

.pb-apt__summary::-webkit-details-marker { display: none; }
.pb-apt__summary:hover { background: var(--cream); }

.pb-apt__chevron {
  display: inline-flex;
  color: var(--gray-4);
  transition: transform var(--t);
  flex: 0 0 auto;
}

.pb-apt__chevron svg { width: 1.05rem; height: 1.05rem; }
.pb-apt[open] > .pb-apt__summary .pb-apt__chevron { transform: rotate(90deg); }

.pb-apt__name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pb-apt__flag {
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 700;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fcd9a0;
  border-radius: var(--r-full);
  padding: 0.15rem 0.6rem;
}

.pb-apt__count {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-4);
}

.pb-apt__body {
  padding: 0.25rem 1.25rem 1.25rem;
  border-top: 1px solid var(--border);
}

.pb-apt__body .booking-list {
  gap: 0.75rem;
  margin-top: 1rem;
}

/* The apartment name now lives in the group header, so cards inside a group
   lead with the guest instead of repeating the title. */
.pb-apt__body .booking-list__guest {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}

/* ─── Live timing chip (current & upcoming stays) ───────────────────────── */
.pb-timing {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.7rem;
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid transparent;
}

.pb-timing__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--r-full);
  flex: 0 0 auto;
  background: currentColor;
}

.pb-timing--ongoing {
  color: #15803d;
  background: #dcfce7;
  border-color: #bbf7d0;
}

.pb-timing--ongoing .pb-timing__dot {
  animation: pb-pulse 2.4s ease-out infinite;
}

.pb-timing--upcoming {
  color: #b45309;
  background: #fffbeb;
  border-color: #fcd9a0;
}

.pb-timing--checkin,
.pb-timing--checkout {
  color: #1d4ed8;
  background: #eff6ff;
  border-color: #bfdbfe;
}

@media (prefers-reduced-motion: reduce) {
  .pb-timing--ongoing .pb-timing__dot { animation: none; }
}

/* ─── Card action buttons: aligned, equal-width column ──────────────────── */
.pb-apt__body .booking-list__side {
  gap: 0.4rem;
  min-width: 8.5rem;
}

.pb-apt__body .booking-list__actions {
  width: 100%;
}

.pb-apt__body .booking-list__actions form {
  flex: 1;
}

.pb-apt__body .booking-list__actions .sp-btn,
.pb-apt__body .booking-list__open {
  width: 100%;
}

@media (max-width: 640px) {
  .pb-hero { min-height: 0; }
  .pb-hero__inner { flex-direction: column; align-items: flex-start; }
  .pb-hero__stats { width: 100%; }
  .pb-hero__stat { flex: 1; }
  .pb-apt__summary { flex-wrap: wrap; }
  .pb-apt__count { margin-left: 0; width: 100%; padding-left: 1.8rem; }
  .pb-divider { margin-left: 0.5rem; margin-right: 0.5rem; }
}
