/* Booking confirmation — Zal Parking brand (#01334E navy, #e17e29 accent, cream page) */

.bc-page {
  --bc-navy: #01334e;
  --bc-navy-dark: #001e30;
  --bc-orange: #e17e29;
  --bc-cream: #fff8f3;
  --bc-muted: #5c6570;
  --bc-border: rgba(1, 51, 78, 0.1);
  font-family: 'Poppins', system-ui, sans-serif;
  background:
    radial-gradient(1200px 480px at 10% -10%, rgba(1, 51, 78, 0.06), transparent 55%),
    radial-gradient(900px 400px at 100% 0%, rgba(225, 126, 41, 0.08), transparent 50%),
    var(--bc-cream);
  min-height: calc(100vh - 120px);
  padding: clamp(1.25rem, 4vw, 2.75rem) clamp(1rem, 4vw, 2rem) clamp(3rem, 6vw, 4rem);
}

.bc-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.bc-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--bc-navy);
  text-decoration: none;
  margin-bottom: 1.25rem;
}
.bc-back:hover {
  color: var(--bc-orange);
}

.bc-alert {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  line-height: 1.45;
}
.bc-alert--success {
  background: #e6f7ec;
  color: #0f5132;
  border: 1px solid #b8e0c8;
}
.bc-alert--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Compact confirmation bar — single row */
.bc-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  flex-wrap: wrap;
  background: var(--bc-navy);
  color: #fff;
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: 0 8px 24px rgba(1, 51, 78, 0.15);
}

.bc-top-bar__left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  min-width: 0;
}

.bc-top-bar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.bc-top-bar__icon svg {
  width: 16px;
  height: 16px;
  fill: #fff;
}

.bc-top-bar__label {
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
}

.bc-top-bar__id {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.bc-top-bar__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-left: auto;
}

.bc-top-bar__form {
  margin: 0;
  display: inline-flex;
}

.bc-top-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, transform 0.1s;
}

.bc-top-bar__btn--pay {
  background: var(--bc-orange);
  color: #fff;
}

.bc-top-bar__btn--pay:hover {
  background: #c96a1f;
}

.bc-top-bar__btn--cancel {
  background: #dc2626;
  color: #fff;
}

.bc-top-bar__btn--cancel:hover {
  background: #b91c1c;
}

.bc-top-bar__btn--outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.bc-top-bar__btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.bc-top-bar__status {
  font-size: 0.8125rem;
  font-weight: 600;
  opacity: 0.9;
}

.bc-top-bar .bc-pill {
  font-size: 0.6875rem;
}

@media (max-width: 640px) {
  .bc-top-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .bc-top-bar__actions {
    margin-left: 0;
    width: 100%;
  }

  .bc-top-bar__form {
    flex: 1;
  }

  .bc-top-bar__btn {
    width: 100%;
  }
}

.bc-hero {
  background: linear-gradient(135deg, var(--bc-navy) 0%, var(--bc-navy-dark) 55%, #0a3d5c 100%);
  color: #fff;
  border-radius: clamp(14px, 3vw, 20px);
  padding: clamp(1.5rem, 5vw, 2.5rem) clamp(1.25rem, 4vw, 2.5rem);
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: 0 24px 48px rgba(1, 51, 78, 0.18);
  position: relative;
  overflow: hidden;
}
.bc-hero::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: min(280px, 55vw);
  height: min(280px, 55vw);
  background: radial-gradient(circle, rgba(225, 126, 41, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.bc-hero__row {
  display: flex;
  align-items: flex-start;
  gap: clamp(1rem, 3vw, 1.5rem);
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.bc-hero__main {
  flex: 1;
  min-width: min(100%, 220px);
  position: relative;
  z-index: 1;
}

.bc-hero__head {
  margin-bottom: 0.75rem;
}

.bc-hero__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
}
.bc-hero__title-row .bc-hero__title {
  margin: 0;
  flex: 1 1 auto;
  min-width: min(100%, 200px);
}
@media (max-width: 520px) {
  .bc-hero__title-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .bc-hero__badges {
    width: 100%;
    justify-content: flex-start;
  }
}

.bc-hero__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.bc-hero__icon {
  flex-shrink: 0;
  width: clamp(52px, 12vw, 64px);
  height: clamp(52px, 12vw, 64px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(225, 126, 41, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bc-hero__icon svg {
  width: clamp(26px, 7vw, 32px);
  height: clamp(26px, 7vw, 32px);
  fill: #fff;
}

.bc-hero__eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.35rem;
}

.bc-hero__title {
  font-size: clamp(1.35rem, 4.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

.bc-hero__strong {
  color: #fff;
}

.bc-hero__sub {
  font-size: clamp(0.875rem, 2.5vw, 0.9375rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  max-width: 36rem;
  margin: 0 0 1rem;
}

.bc-hero__cta-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-top: 1rem;
  width: 100%;
  max-width: min(28rem, 100%);
}
@media (min-width: 400px) {
  .bc-hero__cta-row {
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
  }
}
.bc-hero__cta-form {
  min-width: 0;
  width: 100%;
}
.bc-hero__cta-form .bc-btn {
  width: 100%;
  min-height: 48px;
  border-radius: 10px;
  font-size: 0.9375rem;
}

.bc-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.bc-pill--status {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.bc-pill--payment {
  background: rgba(225, 126, 41, 0.25);
  color: #fff;
  border: 1px solid rgba(225, 126, 41, 0.45);
}

/* Status / payment pills on hero — driven by DB enum values */
.bc-pill--status-pending {
  background: rgba(180, 150, 100, 0.35);
  border-color: rgba(245, 200, 120, 0.45);
  color: #fff8e7;
}
.bc-pill--status-confirmed,
.bc-pill--status-active {
  background: rgba(34, 197, 94, 0.22);
  border-color: rgba(34, 197, 94, 0.45);
  color: #ecfdf5;
}
.bc-pill--status-completed {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
}
.bc-pill--status-cancelled {
  background: rgba(220, 38, 38, 0.22);
  border-color: rgba(248, 113, 113, 0.45);
  color: #fff;
}

.bc-pill--payment-unpaid {
  background: rgba(120, 70, 40, 0.45);
  border-color: rgba(225, 160, 100, 0.55);
  color: #ffe8d4;
}
.bc-pill--payment-paid {
  background: rgba(34, 197, 94, 0.25);
  border-color: rgba(34, 197, 94, 0.5);
  color: #ecfdf5;
}
.bc-pill--payment-refunded {
  background: rgba(167, 139, 250, 0.2);
  border-color: rgba(196, 181, 253, 0.45);
  color: #f5f3ff;
}
.bc-pill--payment-failed {
  background: rgba(220, 38, 38, 0.28);
  border-color: rgba(252, 165, 165, 0.5);
  color: #fff;
}

.bc-btn--pay-now {
  background: var(--bc-orange);
  color: #fff;
  box-shadow: 0 4px 14px rgba(225, 126, 41, 0.35);
  border: none;
}
.bc-btn--pay-now:hover {
  filter: brightness(1.06);
  color: #fff;
}

.bc-btn--danger-solid {
  background: #dc2626;
  color: #fff;
  border: none;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.28);
}
.bc-btn--danger-solid:hover {
  background: #b91c1c;
  color: #fff;
}

.bc-btn--refund-hero {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.65);
  box-shadow: none;
}
.bc-btn--refund-hero:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.bc-btn--pending {
  background: #fae3c7;
  color: #7e3c09;
  border: 1px solid #e17e29;
  cursor: default;
  pointer-events: none;
  box-shadow: none;
}

.bc-aside-toolbar--stack {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0;
}
.bc-aside-toolbar--stack .bc-aside-toolbar-form {
  width: auto;
  flex: 0 1 auto;
}
.bc-aside-toolbar--stack .bc-btn {
  min-height: 36px;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  width: auto;
}

.bc-payment-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.bc-payment-actions__form {
  margin: 0;
  display: inline-flex;
  align-items: center;
}

.bc-btn--action-yellow {
  background: var(--bc-orange);
  color: #fff;
  border: none;
  box-shadow: 0 2px 8px rgba(225, 126, 41, 0.28);
  cursor: pointer;
}

.bc-btn--action-yellow:hover {
  filter: brightness(1.06);
  color: #fff;
}

.bc-btn--action-blue {
  background: var(--bc-navy);
  color: #fff;
  border: none;
  box-shadow: 0 2px 8px rgba(1, 51, 78, 0.22);
}

.bc-btn--action-blue:hover {
  background: var(--bc-navy-dark);
  color: #fff;
}

.bc-btn--block {
  width: 100%;
}

.bc-btn--invoice {
  width: 100%;
  box-sizing: border-box;
  margin-top: 1rem;
  min-height: 48px;
  border-radius: 10px;
  background: #fff;
  color: var(--bc-navy, #01334e);
  border: 2px solid rgba(1, 51, 78, 0.22);
  font-weight: 600;
  cursor: pointer;
  gap: 0.5rem;
}
.bc-btn--invoice:hover {
  border-color: var(--bc-navy, #01334e);
  background: rgba(1, 51, 78, 0.04);
  color: var(--bc-navy-dark, #001e30);
}
.bc-btn--invoice svg {
  flex-shrink: 0;
}

.bc-grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 768px) {
  .bc-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.88fr);
    align-items: stretch;
  }
}

.bc-card {
  background: #fff;
  border-radius: clamp(12px, 2vw, 16px);
  border: 1px solid var(--bc-border);
  box-shadow: 0 8px 32px rgba(1, 51, 78, 0.08);
  padding: clamp(1.25rem, 4vw, 1.85rem);
}

.bc-card--trip {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.bc-card-footer {
  margin-top: auto;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(1, 51, 78, 0.1);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.bc-card-footer--inline {
  margin-top: 1rem;
  padding-top: 1rem;
}

.bc-dl--contact {
  margin-bottom: 0;
}
@media (min-width: 480px) {
  .bc-card-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.bc-btn--footer {
  width: 100%;
  min-height: 48px;
  border-radius: 10px;
  font-size: 0.9375rem;
  box-sizing: border-box;
}

.bc-btn--footer-sm {
  min-height: 40px;
  font-size: 0.8125rem;
  border-radius: 8px;
}

.bc-card--payment {
  display: flex;
  flex-direction: column;
}

.bc-card__title {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bc-muted);
  margin: 0 0 1rem;
}

.bc-dl {
  display: grid;
  gap: 1rem 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 480px) {
  .bc-dl {
    grid-template-columns: 1fr 1fr;
  }
}

.bc-dl dt {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bc-muted);
  margin: 0;
}
.bc-dl dd {
  margin: 0.2rem 0 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--bc-navy-dark);
}

.bc-divider {
  border: none;
  border-top: 1px solid rgba(1, 51, 78, 0.08);
  margin: 1.25rem 0;
}

.bc-services {
  list-style: none;
  margin: 0;
  padding: 0;
}
.bc-services li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.875rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(1, 51, 78, 0.06);
}
.bc-services li:last-child {
  border-bottom: none;
}
.bc-services span:first-child {
  color: var(--bc-navy-dark);
}
.bc-services span:last-child {
  font-weight: 700;
  color: var(--bc-navy);
  white-space: nowrap;
}

.bc-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  padding: 0.35rem 0;
  color: var(--bc-muted);
}
.bc-summary-row strong {
  color: var(--bc-navy-dark);
  font-weight: 600;
}

.bc-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid rgba(1, 51, 78, 0.1);
}
.bc-total__label {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--bc-navy);
}
.bc-total__amt {
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  font-weight: 800;
  color: var(--bc-orange);
}

.bc-note {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--bc-muted);
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  background: var(--bc-cream);
  border-radius: 10px;
  border: 1px solid var(--bc-border);
}

.bc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.bc-btn--primary {
  background: var(--bc-navy);
  color: #fff;
  box-shadow: 0 4px 14px rgba(1, 51, 78, 0.25);
}
.bc-btn--primary:hover {
  background: var(--bc-navy-dark);
  color: #fff;
}
.bc-btn--outline {
  background: #fff;
  color: var(--bc-navy);
  border: 2px solid rgba(1, 51, 78, 0.18);
}
.bc-btn--outline:hover {
  border-color: var(--bc-navy);
  color: var(--bc-navy);
}
.bc-btn--ghost {
  background: transparent;
  color: var(--bc-navy);
  border: 2px solid transparent;
}
.bc-btn--ghost:hover {
  background: rgba(1, 51, 78, 0.05);
}
.bc-btn--danger {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.bc-btn--danger:hover {
  background: #fee2e2;
}

.bc-btn.bc-btn--compact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 34px;
  height: 34px;
  padding: 0 0.85rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  box-sizing: border-box;
}

.bc-payment-actions .bc-btn.bc-btn--compact,
.bc-payment-actions a.bc-btn.bc-btn--compact,
.bc-payment-actions button.bc-btn.bc-btn--compact {
  margin-top: 0;
  min-height: 34px;
  height: 34px;
  max-height: 34px;
  padding: 0 0.85rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  line-height: 1;
}

.bc-tip {
  font-size: 0.8125rem;
  color: var(--bc-muted);
  margin-top: 1rem;
  line-height: 1.5;
}

.bc-card--payment .bc-tip--guest-bookmark {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(21, 128, 61, 0.25);
}

.bc-tip--guest-bookmark .bc-tip__intro {
  display: block;
  color: #15803d;
  font-weight: 500;
  margin-bottom: 0.35rem;
}
.bc-tip--guest-bookmark .bc-tip__intro strong {
  color: #15803d;
}
.bc-tip__url {
  display: block;
  word-break: break-all;
  color: #14532d;
  font-weight: 600;
  font-size: 0.8125rem;
  line-height: 1.45;
  margin-top: 0.35rem;
  padding: 0.5rem 0.65rem;
  background: rgba(21, 128, 61, 0.08);
  border-radius: 8px;
  border: 1px solid rgba(21, 128, 61, 0.2);
}

/* Guest track page (shares bc-page) */
.bc-track-head {
  margin-bottom: 1.25rem;
}
.bc-track-head__title {
  font-size: clamp(1.35rem, 4vw, 1.65rem);
  font-weight: 700;
  color: var(--bc-navy-dark);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
.bc-track-head__sub {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--bc-muted);
}
.bc-track-head__sub strong {
  color: var(--bc-navy);
}
.bc-track-card {
  margin-top: 0;
}
.bc-track-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bc-muted);
  margin-bottom: 0.4rem;
}
.bc-track-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 2px solid rgba(1, 51, 78, 0.12);
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--bc-navy-dark);
}
.bc-track-input:focus {
  outline: none;
  border-color: var(--bc-navy);
  box-shadow: 0 0 0 3px rgba(1, 51, 78, 0.12);
}
.bc-track-multi-hint {
  font-size: 0.8125rem;
  color: var(--bc-muted);
  margin: 0 0 1rem;
  line-height: 1.45;
}
.bc-track-match-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.bc-track-match {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--bc-border);
  background: var(--bc-cream);
}
.bc-track-match__num {
  display: block;
  font-size: 0.9375rem;
  color: var(--bc-navy);
}
.bc-track-match__dates {
  display: block;
  font-size: 0.8125rem;
  color: var(--bc-muted);
  margin-top: 0.15rem;
}

.bc-invoice-preview {
  margin-top: clamp(1.25rem, 3vw, 1.75rem);
}

.bc-card--invoice {
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

.bc-invoice-preview__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.bc-invoice-preview__sub {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: var(--bc-muted);
  line-height: 1.45;
  max-width: 42rem;
}

.bc-invoice-preview__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bc-invoice-preview__frame-wrap {
  border: 1px solid var(--bc-border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.bc-invoice-preview__frame {
  display: block;
  width: 100%;
  min-height: 720px;
  height: clamp(520px, 75vh, 900px);
  border: 0;
  background: #f8fafc;
}

@media (max-width: 640px) {
  .bc-invoice-preview__actions {
    width: 100%;
  }

  .bc-invoice-preview__actions .bc-btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .bc-invoice-preview__frame {
    min-height: 480px;
    height: 65vh;
  }
}
