/* PBT Limo Professional Booking UI - Astra-safe override layer */
:root {
  --pbt-ink:#0f172a;
  --pbt-muted:#5b6473;
  --pbt-line:#dfe5ec;
  --pbt-surface:#ffffff;
  --pbt-soft:#f7f9fc;
  --pbt-accent:#98b5d9;
  --pbt-accent-strong:#6f97c6;
  --pbt-radius:16px;
  --pbt-shadow:0 10px 30px rgba(15,23,42,.08);
}

/* Keep the booking experience readable under Astra and page builders */
body .pbt-booking-wrap,
body .pbt-booking-form,
body .pbt-booking-container {
  color:var(--pbt-ink)!important;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body .pbt-booking-wrap,
body .pbt-booking-form {
  max-width:1180px;
  margin:32px auto;
}

body .pbt-booking-card,
body .pbt-booking-section,
body .pbt-booking-box,
body .pbt-booking-price-box {
  background:var(--pbt-surface)!important;
  border:1px solid var(--pbt-line)!important;
  border-radius:var(--pbt-radius)!important;
  box-shadow:var(--pbt-shadow)!important;
}

body .pbt-booking-card,
body .pbt-booking-section {
  padding:24px!important;
  margin-bottom:22px!important;
}

body .pbt-booking-section-title,
body .pbt-booking-title,
body .pbt-booking-card h2,
body .pbt-booking-card h3 {
  color:var(--pbt-ink)!important;
  font-weight:700!important;
  letter-spacing:-.02em;
}

body .pbt-booking-section-title {
  font-size:1.2rem!important;
  margin:28px 0 12px!important;
}

body .pbt-booking-card label,
body .pbt-field label {
  display:block;
  color:#243041!important;
  font-weight:600!important;
  margin-bottom:7px!important;
}

body .pbt-booking-card input,
body .pbt-booking-card select,
body .pbt-booking-card textarea,
body .pbt-booking-form input,
body .pbt-booking-form select,
body .pbt-booking-form textarea {
  width:100%;
  min-height:50px;
  border:1px solid #cfd8e3!important;
  border-radius:12px!important;
  background:#fff!important;
  color:var(--pbt-ink)!important;
  padding:11px 14px!important;
  box-shadow:none!important;
  transition:border-color .2s ease, box-shadow .2s ease;
}

body .pbt-booking-card textarea,
body .pbt-booking-form textarea { min-height:110px; }

body .pbt-booking-card input:focus,
body .pbt-booking-card select:focus,
body .pbt-booking-card textarea:focus,
body .pbt-booking-form input:focus,
body .pbt-booking-form select:focus,
body .pbt-booking-form textarea:focus {
  border-color:var(--pbt-accent-strong)!important;
  box-shadow:0 0 0 4px rgba(152,181,217,.22)!important;
  outline:none!important;
}

body .pbt-grid,
body .pbt-form-grid,
body .pbt-booking-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

body .pbt-vehicle-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px!important;
}

body .pbt-vehicle-card {
  overflow:hidden;
  background:#fff!important;
  border:1px solid var(--pbt-line)!important;
  border-radius:16px!important;
  box-shadow:0 8px 24px rgba(15,23,42,.06)!important;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

body .pbt-vehicle-card:hover {
  transform:translateY(-2px);
  box-shadow:0 14px 34px rgba(15,23,42,.12)!important;
}

body .pbt-vehicle-card.pbt-selected,
body .pbt-vehicle-card.selected {
  border-color:var(--pbt-accent-strong)!important;
  box-shadow:0 0 0 3px rgba(152,181,217,.22), 0 14px 34px rgba(15,23,42,.12)!important;
}

body .pbt-vehicle-image {
  width:100%!important;
  aspect-ratio:16/10;
  object-fit:cover!important;
  background:var(--pbt-soft);
}

body .pbt-vehicle-name {
  color:var(--pbt-ink)!important;
  font-size:1.05rem!important;
  font-weight:700!important;
  padding:14px 16px 6px!important;
}

body .pbt-vehicle-meta {
  color:var(--pbt-muted)!important;
  line-height:1.55!important;
  padding:0 16px 16px!important;
}

body .pbt-payment-options {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px!important;
}

body .pbt-payment-button,
body .pbt-payment-link,
body .pbt-booking-submit,
body .pbt-submit-button,
body button.pbt-button,
body .pbt-button {
  border:0!important;
  border-radius:12px!important;
  min-height:50px;
  padding:12px 18px!important;
  font-weight:700!important;
  text-decoration:none!important;
  cursor:pointer;
}

body .pbt-payment-button,
body .pbt-booking-submit,
body .pbt-submit-button,
body button.pbt-button,
body .pbt-button {
  background:var(--pbt-accent)!important;
  color:#102033!important;
}

body .pbt-payment-button:hover,
body .pbt-booking-submit:hover,
body .pbt-submit-button:hover,
body button.pbt-button:hover,
body .pbt-button:hover {
  background:var(--pbt-accent-strong)!important;
  color:#fff!important;
}

body .pbt-payment-link {
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  background:#111827!important;
  color:#fff!important;
}

body .pbt-payment-button.pbt-selected {
  background:#111827!important;
  color:#fff!important;
}

body .pbt-booking-price-box {
  padding:18px 20px!important;
  margin-top:18px!important;
}

body .pbt-booking-price-label {
  color:var(--pbt-muted)!important;
  font-size:.85rem!important;
  text-transform:uppercase;
  letter-spacing:.06em;
}

body .pbt-booking-price-amount {
  color:var(--pbt-ink)!important;
  font-size:1.75rem!important;
  font-weight:800!important;
}

body .pbt-booking-helper,
body .pbt-payment-note,
body .pbt-help-text {
  color:var(--pbt-muted)!important;
}

/* Remove Astra/page-builder dark inheritance inside the booking UI */
body .pbt-booking-wrap p,
body .pbt-booking-wrap span,
body .pbt-booking-wrap strong,
body .pbt-booking-wrap div {
  text-shadow:none;
}

@media (max-width: 900px) {
  body .pbt-vehicle-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width: 680px) {
  body .pbt-booking-wrap,
  body .pbt-booking-form { margin:16px auto; }
  body .pbt-booking-card,
  body .pbt-booking-section { padding:17px!important; }
  body .pbt-grid,
  body .pbt-form-grid,
  body .pbt-booking-grid,
  body .pbt-vehicle-grid,
  body .pbt-payment-options { grid-template-columns:1fr!important; }
  body .pbt-booking-section-title { font-size:1.08rem!important; }
}


/* PBT Limo customer booking video guide */
.pbt-video-guide{
  margin:16px 0 18px;padding:16px 18px;border:1px solid rgba(255,122,0,.65);
  border-radius:14px;background:linear-gradient(135deg,#112b55,#173d72);
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  box-shadow:0 12px 30px rgba(4,17,39,.18);color:#fff
}
.pbt-video-guide-copy{display:flex;flex-direction:column;gap:3px}
.pbt-video-kicker{font-size:11px;font-weight:800;letter-spacing:.14em;color:#ffb14a}
.pbt-video-guide-copy strong{font-size:18px;line-height:1.2;color:#fff}
.pbt-video-guide-copy small{font-size:13px;line-height:1.45;color:#dce8f8}
.pbt-video-open,.pbt-video-help-button{
  appearance:none;border:0;border-radius:10px;background:#ff7200;color:#fff;
  font-weight:800;padding:13px 18px;cursor:pointer;white-space:nowrap;
  box-shadow:0 6px 16px rgba(255,114,0,.22)
}
.pbt-video-open:hover,.pbt-video-open:focus{background:#e96200;color:#fff}
.pbt-video-modal[hidden]{display:none!important}
.pbt-video-modal{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:22px}
.pbt-video-backdrop{position:absolute;inset:0;background:rgba(2,8,20,.86);backdrop-filter:blur(5px)}
.pbt-video-dialog{
  position:relative;z-index:1;width:min(920px,96vw);max-height:92vh;overflow:auto;
  background:#071a37;border:1px solid rgba(255,122,0,.65);border-radius:18px;
  box-shadow:0 30px 80px rgba(0,0,0,.45);padding:18px
}
.pbt-video-close{
  position:absolute;right:14px;top:10px;z-index:3;width:38px;height:38px;border-radius:50%;
  border:1px solid rgba(255,255,255,.25);background:#101b31;color:#fff;font-size:27px;
  line-height:1;cursor:pointer
}
.pbt-video-modal-head{padding:4px 48px 14px 4px;color:#fff}
.pbt-video-modal-head span{color:#ff9a2f;font-size:11px;font-weight:800;letter-spacing:.15em}
.pbt-video-modal-head h2{margin:4px 0;color:#fff;font-size:25px}
.pbt-video-modal-head p{margin:0;color:#d7e2f2;font-size:14px}
.pbt-video-player{display:block;width:100%;max-height:68vh;background:#000;border-radius:12px}
.pbt-video-is-open{overflow:hidden}
@media(max-width:700px){
  .pbt-video-guide{align-items:stretch;flex-direction:column;padding:14px}
  .pbt-video-open{width:100%;white-space:normal}
  .pbt-video-dialog{padding:12px}
  .pbt-video-modal{padding:10px}
  .pbt-video-modal-head h2{font-size:21px}
}
