/* ============================================================
   Skydive Tandem — booking engine (bookingservice plugin).
   The booking builder is a Svelte app written against a
   Tailwind-style preflight and DM Sans, both supplied by the
   old theme. The reset below sits at zero specificity, so every
   rule the app ships still wins; it only replaces the browser's
   default button look. The widgets use the theme's body font.
   ============================================================ */

#booking-builder-root,
#booking-builder-root .shell,
.bs-booking-service{
  font-family:var(--wp--preset--font-family--opensans, 'Open Sans', system-ui, sans-serif);
}

:where(#booking-builder-root, .bs-booking-service) :where(button, input, select, textarea){
  font:inherit;
  color:inherit;
  letter-spacing:inherit;
  margin:0;
}

:where(#booking-builder-root) :where(button){
  padding:0;
  background:transparent;
  border:0;
  cursor:pointer;
}

/* legacy form ([bs_booking_form], [bs_rebooking_form]): text fields like the theme's form fields */
.bs-booking-service input:is([type="text"], [type="email"], [type="tel"], [type="number"]){
  width:100%;
  padding:14px 16px;
  font-size:16px; line-height:1.5;
  color:var(--wp--preset--color--ink, #0f1720);
  background:#fff;
  border:1.5px solid #7a879b;
  border-radius:12px;
}
.bs-booking-service input:is([type="text"], [type="email"], [type="tel"], [type="number"]):focus{
  border-color:var(--wp--preset--color--navy, #243571);
  box-shadow:0 0 0 3px rgba(36,53,113,.13);
  outline:none;
}
