/* =========================================================================
   css/booking-style.css — styling for the third-party Chauffeur Booking
   plugin markup (.acb-*), so its widget matches the Emerald Gold system.
   Loads after components.css, before motion.css (see functions.php).
   Depends on tokens declared on .tpal9-site in style.css — does NOT
   redeclare them, so it can never drift out of sync with the rest of the
   design system.

   NOTE: this file replaces the old css/booking-style-old.css, which was
   never actually loaded (functions.php has always enqueued
   "css/booking-style.css" — the "-old" file on disk 404'd on every request,
   so the booking widget rendered with zero custom styling). That file also
   redeclared design tokens on a bare :root selector with DIFFERENT values
   than style.css (different fonts, radii, emerald shades) and duplicated
   .tpal9-hero / .tpal9-nav / .tpal9-container rules that collided with
   layout.css + components.css by load order. Neither problem exists here.
   ========================================================================= */

/* ---- Chauffeur Booking plugin: form container + inline strip ----------- */
.tpal9-site .acb-form-container,
.tpal9-site .acb-booking-strip {
  background: var(--tpal9-white);
  border: 1px solid var(--tpal9-line);
  border-radius: var(--tpal9-radius-lg);
  padding: var(--tpal9-space-4);
  box-shadow: var(--tpal9-shadow-lift);
}

.tpal9-site .acb-form-container input,
.tpal9-site .acb-form-container select,
.tpal9-site .acb-form-container textarea,
.tpal9-site .acb-booking-strip input,
.tpal9-site .acb-booking-strip select,
.tpal9-site .acb-booking-strip textarea {
  background: var(--tpal9-cream);
  border: 1px solid var(--tpal9-line);
  padding: 0.9rem 1rem;
  border-radius: var(--tpal9-radius-sm);
  color: var(--tpal9-ink);
  font-family: var(--tpal9-font-body);
  font-size: 0.95rem;
  width: 100%;
  min-height: 48px;
  transition: border-color var(--tpal9-transition), background var(--tpal9-transition), box-shadow var(--tpal9-transition);
}

.tpal9-site .acb-form-container input:focus,
.tpal9-site .acb-form-container select:focus,
.tpal9-site .acb-form-container textarea:focus,
.tpal9-site .acb-booking-strip input:focus,
.tpal9-site .acb-booking-strip select:focus {
  outline: none;
  border-color: var(--tpal9-emerald);
  background: var(--tpal9-white);
  box-shadow: 0 0 0 3px rgba(0, 155, 119, 0.14);
}

.tpal9-site .acb-form-container label,
.tpal9-site .acb-booking-strip label {
  color: var(--tpal9-ink);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  display: block;
}

.tpal9-site .acb-form-container button,
.tpal9-site .acb-submit {
  background: var(--tpal9-emerald);
  color: var(--tpal9-white);
  border: none;
  padding: 1rem 2.2rem;
  min-height: 48px;
  border-radius: var(--tpal9-radius-pill);
  font-weight: 700;
  font-family: var(--tpal9-font-display);
  cursor: pointer;
  width: 100%;
  margin-top: var(--tpal9-space-2);
  transition: background var(--tpal9-transition), transform var(--tpal9-transition), box-shadow var(--tpal9-transition);
  box-shadow: var(--tpal9-shadow-emerald);
}

.tpal9-site .acb-form-container button:hover,
.tpal9-site .acb-submit:hover {
  background: var(--tpal9-emerald-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -10px rgba(0, 155, 119, 0.55);
}

/* Compact hero strip variant sits inside .tpal9-booking-strip's card chrome
   already (components.css) — drop the duplicate outer card here so it isn't
   boxed twice. */
.tpal9-booking-strip .acb-booking-strip {
  border: 0;
  box-shadow: none;
  padding: 0;
  background: transparent;
}

/* ---- Optional standalone mobile sticky-book bar (unused unless a page
   opts in with class="tpal9-mobile-sticky") -------------------------------- */
.tpal9-mobile-sticky {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: var(--tpal9-emerald);
  color: var(--tpal9-white);
  padding: 1rem;
  border-radius: var(--tpal9-radius-md);
  text-align: center;
  z-index: 55; /* stays below .tpal9-call-bar (60) so they never fight */
  box-shadow: var(--tpal9-shadow-lift);
}
@media (min-width: 900px) { .tpal9-mobile-sticky { display: none; } }
