/* ========================================
   FORM STYLES ONLY - NO ANIMATIONS
   ======================================== */

body {
  font-family: Arial, Helvetica, sans-serif !important;
}

.form-main {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Heading Font */
.form-box span,
.heading_h2 {
  font-family: Arial, Helvetica, sans-serif !important;
}

.form-box span {
  color: #ffffff;
  font-size: 14px;
}

.heading_h2 {
  margin: 10px 0 10px 0;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif !important;
}
.form-box {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}
.form-group {
  background: #afcddd;
  border-radius: 5px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 2px solid #efa186;
}

.field-container {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  width: 100%;
}

.field {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.field-label span {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 14px;
  font-weight: 700;
  color: #000000;
}

.input-wrapper {
  position: relative;
  width: 100%;
}

.field input {
  width: 100%;
  border: 1px solid #666666;
  border-radius: 5px;
  padding: 10px 10px 10px 45px;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #fff;
  outline: none;
}

.field input:focus {
  border-color: rgba(30, 39, 46, 0.85);
  box-shadow: 0 0 5px rgba(55, 143, 217, 0.3);
}

.input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.input-icon svg {
  width: 20px;
  height: 20px;
  fill: #666666;
}

/* All Buttons Font */
.action-btn,
button[type="submit"] {
  font-family: Arial, Helvetica, sans-serif;
}

.action-btn {
  padding: 0;
  width: 28px;
  height: 28px;
  border-radius: 360px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
  position: relative;
}

.add-btn::before,
.add-btn::after,
.remove-btn::before {
  content: "";
  position: absolute;
  background-color: #ffffff;
}

.add-btn::before {
  width: 14px;
  height: 2px;
}
.add-btn::after {
  width: 2px;
  height: 14px;
}

.remove-btn::before {
  width: 14px;
  height: 2px;
}

.action-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.action-btn:active {
  transform: scale(0.95);
}

.add-btn {
  background: #282828;
  color: #ffffff;
}

.add-btn:hover {
  background: #3a3a3a;
}

/* ── Swap Locations Button ──────────────────────────────────────────────── */
.bs-swap-row {
  display: flex;
  justify-content: center;
  align-items: center;
  /* Compensate for form-group gap so it sits tight between the two fields */
  margin: 8px 0 -8px 0;
  position: relative;
  z-index: 1;
}

.bs-swap-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #555;
  background: #282828;
  color: #ffffff;
  cursor: pointer;
  padding: 0;
  transition:
    background 0.18s ease,
    transform 0.22s ease,
    box-shadow 0.18s ease;
  outline: none;
}

.bs-swap-btn:hover {
  background: #efa186;
  border-color: #efa186;
  transform: rotate(180deg);
  box-shadow: 0 4px 14px rgba(26, 86, 219, 0.4);
}

.bs-swap-btn:active {
  transform: rotate(180deg) scale(0.92);
}

.bs-swap-btn:focus-visible {
  outline: 2px solid #efa186;
  outline-offset: 2px;
}

.bs-swap-btn svg {
  display: block;
  flex-shrink: 0;
  transform: rotate(90deg);
}

/* Spinning animation triggered by JS for feedback */
.bs-swap-btn.bs-swap-spin {
  animation: bs-swap-rotate 0.35s ease forwards;
}

@keyframes bs-swap-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(180deg);
  }
}

.remove-btn {
  background: #d93737;
  color: #ffffff;
}

.remove-btn:hover {
  background: #e85050;
}

button[type="submit"] {
  margin-top: 20px;
  background: #efa186;
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
}

button[type="submit"]:not(:disabled):hover {
  background: #f6925f;
  color: #fff;
  box-shadow: 0 6px 20px rgba(246, 146, 95, 0.4);
}

button[type="submit"]:not(:disabled):active {
  box-shadow: 0 2px 8px rgba(246, 146, 95, 0.3);
}

button[type="submit"]:disabled {
  background: #555;
  color: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}

/* ========================================
   SUMMARY CONTAINER STYLES (NO ANIMATIONS)
   ======================================== */

#summary-container {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#summary-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.summary-item {
  background: rgb(43, 116, 179);
  color: white;
  padding: 7px 14px;
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

.edit-icon {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.edit-icon:hover {
  opacity: 0.8;
}

/* Vehicle Card */
.vehicle-card {
  background: #4f5974;
  border-radius: 12px;
  padding: 10px;
  color: white;
  width: 100%;
}

.vehicle-top {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.thumbnail {
  width: 30%;
}
.thumbnail img {
  width: 100%;
  object-fit: contain;
  border-radius: 5px;
  height: 100%;
}
.detail {
  width: 70%;
}
.detail h3 {
  font-family: Arial, Helvetica, sans-serif;
  color: #fff;
  margin: 0 !important;
  font-size: 18px !important;
}

.detail p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: #ccc;
  margin-top: 5px;
  margin: 0 !important;
}

/* Price Options */
.price-options {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.price-btn {
  background: #efa186;
  border: 1px solid #efa186;
  color: #fff;
  flex: 1;
  padding: 10px 12px;
  border-radius: 8px;
  display: flex;
  cursor: pointer;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  position: relative;
  text-align: center;
}
.price-btn span {
  color: #fff;
}

.price-btn:hover {
  background-color: #f6925f;
  border: 1px solid #f6925f;
}

.return-btn .discount-tag {
  position: absolute;
  background: #121f42;
  color: #fff;
  padding: 2px 6px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  border-radius: 4px;
  position: absolute;
  top: 0px;
  right: 20px;
  transform: translate(40%, -40%) rotate(0deg);
}

.old-price {
  text-decoration: line-through;
  opacity: 0.5;
  margin-right: 5px;
  font-family: Arial, Helvetica, sans-serif;
}

.price-group {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Edit Route Button */
.edit-route-btn {
  margin-top: 20px;
  background: #efa186;
  color: #fff;
  border: 1px solid #efa186;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.edit-route-btn span {
  color: #fff;
}
.edit-route-btn:hover {
  background-color: #f6925f;
  border: 1px solid #f6925f;
}
.edit-route-btn:hover svg {
  fill: #fff !important;
}

.icon-return {
  width: 18px;
  height: 18px;
  fill: currentColor;
  vertical-align: middle;
}

/* Map Container */
#map-container {
  width: 100%;
  height: 200px;
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  z-index: 2 !important;
}

/* Hide Leaflet attribution control */
.leaflet-control-attribution {
  display: none !important;
}

/* Hide the custom OSM attribution row added in summary */
.osm-attribution {
  display: none !important;
}

.spinner-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  fill: currentColor;
}
.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
  text-decoration: none !important;
}
.leaflet-control-zoom-in span,
.leaflet-control-zoom-out span {
  color: #000;
}
/* ========================================
   PASSENGER DETAILS CONTAINER STYLES
   ======================================== */

#passenger-details-container {
  margin-bottom: 20px;
}

.details-form-box {
  background: #afcddd;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 2px solid #efa186;
}
.user-details-box {
  background: #afcddd;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 2px solid #efa186;
}

.details-form-box label {
  display: block;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 13px;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

/* Input with icon wrapper */
.input-with-icon {
  position: relative;
  background: #fff;
  border: 1px solid #999;
  border-radius: 4px;
  display: flex;
  align-items: center;
}

.input-with-icon:focus-within {
  border-color: rgba(30, 39, 46, 0.85);
  box-shadow: 0 0 5px rgba(55, 143, 217, 0.3);
}

.input-icon-inner {
  padding-left: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  pointer-events: none;
}

.input-icon-inner svg,
.Bs-icons {
  width: 20px;
  height: 20px;
  fill: #666;
  stroke: #fff;
}

.input-with-icon input,
.details-form-box select {
  width: 100%;
  padding: 10px 10px 10px 5px;
  border: none;
  background: #fff;
  outline: none;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif !important;
  border-radius: 4px;
}

.input-with-icon input {
  padding-left: 5px;
}

/* Full width field */
.full-field {
  width: 100%;
}

/* Split fields (two columns) */
.split-fields {
  display: flex;
  gap: 10px;
}

.half-field {
  flex: 1;
}

/* Select dropdown styling */
.details-form-box select {
  width: 100%;
  border: 1px solid #999;
  border-radius: 4px;
  padding: 0 10px 0 10px;
  font-size: 14px;
  background-color: #fff;
  outline: none;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif !important;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 1em;
}

.details-form-box select:focus {
  border-color: rgba(30, 39, 46, 0.85);
  box-shadow: 0 0 5px rgba(55, 143, 217, 0.3);
}

/* Continue to Basket Button */
.continue-basket-btn {
  background: rgba(30, 39, 46, 0.85);
  color: white;
  border: none;
  padding: 15px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 5px;
  width: 100%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.continue-basket-btn:hover {
  background: #2b74b3;
}

.continue-basket-btn svg {
  width: 20px;
  height: 20px;
}

.continue-basket-btn:disabled {
  background: #555;
  cursor: not-allowed;
  opacity: 0.6;
}

/* ========================================
   INTL-TEL-INPUT SPECIFIC STYLES
   ======================================== */

.iti {
  width: 100%;
}

.iti input {
  width: 100% !important;
  padding-left: 52px !important;
  border: 1px solid #999 !important;
  border-radius: 4px !important;
  height: 44px;
  background: #fff !important;
}
#passenger_mobile .iti__tel-input {
  padding-left: 52px !important;
}

.iti__country-list {
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #ccc;
  z-index: 1000;
}

.iti input::placeholder {
  color: #999;
  opacity: 1;
}

.iti__search-input {
  padding-left: 10px !important;
}

/* ========================================
   FLATPICKR CALENDAR STYLES
   ======================================== */

.flatpickr-calendar {
  background: #333333 !important;
  border: none !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  font-family: Arial, Helvetica, sans-serif !important;
  width: 315px !important;
}

.flatpickr-months {
  background: #efa186 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.flatpickr-prev-month,
.flatpickr-next-month {
  padding: 10px !important;
  fill: #000000 !important;
  cursor: pointer !important;
}

.flatpickr-prev-month svg,
.flatpickr-next-month svg {
  fill: #000000 !important;
  width: 20px !important;
  height: 20px !important;
}

.flatpickr-month {
  background: #efa186 !important;
  /* height: auto !important; */
}

.flatpickr-current-month {
  font-size: 110% !important;
  line-height: inherit !important;
  font-weight: 700 !important;
  color: #111111 !important;
  padding: 5px 0 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
}

.flatpickr-monthDropdown-months {
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 700 !important;
  color: #000 !important;
  background: #efa186 !important;
  border: none !important;
  font-size: 14px !important;
  cursor: pointer !important;
}

.numInputWrapper {
  position: relative !important;
  display: inline-block !important;
}

.numInputWrapper input {
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: bold !important;
  color: #000 !important;
  background: #efa186 !important;
  border: none !important;
  font-size: 14px !important;
  width: 50px !important;
  text-align: center !important;
}

.numInputWrapper .arrowUp,
.numInputWrapper .arrowDown {
  position: absolute !important;
  right: 2px !important;
  width: 12px !important;
  height: 50% !important;
  cursor: pointer !important;
  opacity: 0.6 !important;
}

.numInputWrapper .arrowUp {
  top: 0 !important;
  border-bottom: 1px solid #000 !important;
}

.numInputWrapper .arrowDown {
  bottom: 0 !important;
}

.flatpickr-innerContainer {
  background: #fff !important;
}

.flatpickr-weekdays {
  background: #fff !important;
  padding: 10px 0 !important;
}

.flatpickr-weekdaycontainer {
  display: flex !important;
  justify-content: space-around !important;
}

.flatpickr-weekday {
  background: #fff !important;
  color: #000 !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  text-align: center !important;
  flex: 1 !important;
}

.flatpickr-days {
  background: #ffffff !important;
  padding: 5px !important;
}

.dayContainer {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  gap: 2px !important;
}

.flatpickr-day {
  color: #000000 !important;
  font-size: 13px !important;
  text-align: center !important;
  padding: 8px 0 !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  background: transparent !important;
  border: none !important;
}

.flatpickr-day:hover {
  background: #efa186 !important;
}

.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
  color: #666666 !important;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
  background: rgb(246, 146, 95) !important;
  color: white !important;
}

.flatpickr-day.today {
  border: 1px solid #efa186 !important;
  background: transparent !important;
}

.flatpickr-day.today.selected {
  border: 1px solid rgba(30, 39, 46, 0.85) !important;
}
.flatpickr-day {
  width: unset !important;
}
.flatpickr-time {
  background: #ffffff !important;
  border-top: 1px solid #444 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px !important;
  gap: 5px !important;
}

.flatpickr-time .numInputWrapper {
  flex: 1 !important;
}

.flatpickr-time input {
  color: #000000 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  background: #ffffff !important;
  border: 1px solid #555 !important;
  border-radius: 4px !important;
  text-align: center !important;
  padding: 8px !important;
  width: 100% !important;
}

.flatpickr-time input:hover {
  background: #f6925f !important;
}

.flatpickr-time-separator {
  color: #ffffff !important;
  font-weight: bold !important;
}

.flatpickr-am-pm {
  color: #000000 !important;
  background: #ffffff !important;
  border: 1px solid #555 !important;
  border-radius: 4px !important;
  padding: 8px !important;
  cursor: pointer !important;
  font-size: 12px !important;
  text-align: center !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.flatpickr-am-pm:hover {
  background: #f6925f !important;
}

.flatpickr-confirm {
  background: #efa186 !important;
  padding: 12px 15px !important;
  border-top: 1px solid #efa186 !important;
  cursor: pointer !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  color: #000 !important;
  text-transform: uppercase !important;
}

.flatpickr-confirm:hover {
  background: #f6925f !important;
}

.flatpickr-confirm.visible {
  display: flex !important;
}

.flatpickr-confirm.darkTheme {
  background: #f6925f !important;
}

.flatpickr-calendar.open {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* ========================================
   ICON HIDE ON INPUT TYPING
   ======================================== */

.input-with-icon:has(input:not(:placeholder-shown)) .input-icon-inner {
  opacity: 0;
  transform: translateX(-25px);
  width: 0;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.input-with-icon:has(input:not(:placeholder-shown)) .input-icon-inner svg,
.input-with-icon:has(input:not(:placeholder-shown)) .Bs-icons {
  opacity: 0;
  transform: translateX(-15px);
  transition: all 0.3s ease;
}

.iti:has(input:not(:placeholder-shown)) .iti__flag-container {
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.3s ease;
}

.input-with-icon:has(input:not(:placeholder-shown)) input {
  padding-left: 12px !important;
  transition: all 0.3s ease;
}

.iti:has(input:not(:placeholder-shown)) input {
  padding-left: 50px !important;
  transition: all 0.3s ease;
}
.iti--show-flags .iti__tel-input {
  padding-left: 50px !important;
}

/* Show icons normally when empty */
.input-with-icon .input-icon-inner {
  opacity: 1;
  transform: translateX(0);
  width: auto;
  min-width: 40px;
  padding-left: 12px;
  transition: all 0.3s ease;
}

.iti .iti__flag-container {
  opacity: 1;
  transform: translateX(0);
  transition: all 0.3s ease;
}

.input-with-icon input {
  transition: all 0.3s ease;
}

/* Validation Border Bottom Animation */
.input-with-icon,
.iti {
  position: relative;
}

.input-with-icon::after,
.iti::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: transparent;
  transition:
    width 0.3s ease,
    background 0.3s ease;
  z-index: 2;
  border-radius: 0 0 4px 4px;
}

.input-with-icon.is-valid::after,
.iti.is-valid::after {
  width: 100%;
  background: #28a745;
}

.input-with-icon.is-invalid::after,
.iti.is-invalid::after {
  width: 100%;
  background: #dc3545;
}

#via-fields-container .via-field-item:nth-child(n + 2) {
  padding-top: 10px;
}
/* ========================================
   CHECKOUT FLOW BUTTONS — MATCH QUOTE NOW
   ======================================== */

/* Continue to Basket button */
.continue-basket-btn {
  width: 100%;
  gap: 8px;
  margin-top: 20px;
  font-size: 16px;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
}

/* Pay Now button — identical style to Quote Now */
.bs-pay-btn {
  display: block;
  width: 100%;
  margin-top: 20px;
  background: #efa186;
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
  border-radius: 5px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.bs-pay-btn:not(:disabled):hover {
  background: #f6925f;
  color: #fff;
  box-shadow: 0 6px 20px rgba(246, 146, 95, 0.4);
}

.bs-pay-btn:not(:disabled):active {
  box-shadow: 0 2px 8px rgba(246, 146, 95, 0.3);
}

.bs-pay-btn:disabled {
  background: #555;
  color: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}

/* Checkout Summary content block */
.bs-checkout-summary {
  color: white;
  font-size: 16px;
  line-height: 1.8;
  padding: 10px 0;
}

.bs-checkout-summary p {
  margin: 0 0 6px 0;
}

.bs-checkout-summary strong {
  font-weight: bold;
}

/* Terms section */
.terms-section label {
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
}

/* Payment methods container WC overrides */
#payment-methods-container .wc_payment_methods {
  list-style: none;
  padding: 0;
  margin: 0;
}

#payment-methods-container .wc_payment_methods li {
  color: white;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

#payment-methods-container .wc_payment_methods li:last-child {
  border-bottom: none;
}

#payment-methods-container label {
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  cursor: pointer;
}

/* Map container hidden by default */
#map-container {
  display: none;
}

.submit-btn:focus,
button[type="submit"]:focus,
.price-btn:focus,
.edit-route-btn:focus,
.continue-basket-btn:focus,
.bs-pay-btn:focus {
  outline: none;
}
.flatpickr-day {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.icon-pencil,
.icon-basket {
  fill: #fff;
}

.bs-summary-pricing-row {
  background: rgba(27, 41, 117, 0.3)
    linear-gradient(
      110deg,
      rgba(255, 255, 255, 0.1) 0,
      rgba(255, 255, 255, 0.1) calc(100% - 85px),
      #131f43 calc(100% - 85px)
    );
  padding: 4px 8px;
  display: flex;
  justify-content: space-between;
  border-radius: 5px;
  margin-bottom: 8px;
  align-items: center;
}
.bs-summary-pricing-row p {
  margin: 0 !important;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}
.bs-summary-pricing-row.total-fare-row p {
  font-size: 18px;
}
.iti__country .iti__country-name,
.iti__country .iti__dial-code {
  color: #000 !important;
}

/* Stripe custom fields styling */
#stripe-custom-fields {
  margin: 20px 0;
  background: #555;
  border-radius: 5px;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.stripe-field-group {
  margin-bottom: 12px;
}

.stripe-field-group label {
  color: white !important;
  display: block;
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 5px;
  font-family: Arial, Helvetica, sans-serif;
}

.stripe-field-group input {
  width: 100%;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  background-color: #fff !important;
  color: #000 !important;
  outline: none;
  box-sizing: border-box;
}

.stripe-field-group input:focus {
  border-color: #efa186 !important;
  box-shadow: 0 0 5px rgba(239, 161, 134, 0.5) !important;
}

.stripe-error-message {
  color: #ff8b8b;
  font-size: 11px;
  margin-top: 4px;
  display: none;
}
.disabled-apply {
  pointer-events: none !important;
  opacity: 0.5 !important;
}

/* ========================================
   GOOGLE PLACES AUTOCOMPLETE ENHANCEMENTS
   ======================================== */

/* Force full-width and dark theme on the PAC dropdown */
.pac-container {
  background: #2a2a2a !important;
  border: 1px solid #3d3d3d !important;
  border-top: none !important;
  border-radius: 0 0 8px 8px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  box-sizing: border-box !important;
  max-height: 380px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding-bottom: 0 !important;
  /* width and left are overridden via JS to match input exactly */
}

.pac-item {
  background: #2a2a2a !important;
  color: #bdbdbd !important;
  border-top: 1px solid #3a3a3a !important;
  padding: 9px 12px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  transition: background 0.15s ease !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
}

.pac-item:first-child {
  border-top: none !important;
}

.pac-item:hover,
.pac-item.pac-item-selected {
  background: #363636 !important;
}

/* Left side text block */
.pac-item > span:not(.bs-location-badge) {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pac-item-query {
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding-right: 0 !important;
}

.pac-matched {
  color: #efa186 !important;
  font-weight: 700 !important;
}

/* Hide Google's default icon and powered-by logo */
.pac-icon,
.pac-icon-marker {
  display: none !important;
}

.pac-logo::after {
  display: none !important;
}

/* ---- Location Type Badges ---- */
.bs-location-badge {
  display: inline-flex !important;
  align-items: center !important;
  padding: 2px 8px !important;
  border-radius: 20px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  margin-left: 6px !important;
  line-height: 1.6 !important;
}

.bs-badge-airport {
  border-color: #1565c0;
  color: #4998e7;
  background: rgba(21, 101, 192, 0.15);
}
.bs-badge-train {
  border-color: #ef6c00;
  color: #ffa532;
  background: rgba(239, 108, 0, 0.15);
}
.bs-badge-bus {
  border-color: #2e7d32;
  color: #67c16b;
  background: rgba(46, 125, 50, 0.15);
}
.bs-badge-hotel {
  border-color: #6a1b9a;
  color: #c780ff;
  background: rgba(106, 27, 154, 0.15);
}
.bs-badge-hospital {
  border-color: #00897b;
  color: #15eccc;
  background: rgba(0, 137, 123, 0.15);
}
.bs-badge-edu {
  border-color: #0d47a1;
  color: #47b2ff;
  background: rgba(13, 71, 161, 0.15);
}
.bs-badge-port {
  border-color: #006064;
  color: #00fffa;
  background: rgba(0, 96, 100, 0.15);
}
.bs-badge-city {
  border-color: #de249b;
  color: #f66bcf;
  background: rgba(222, 36, 155, 0.15);
}
.bs-badge-location {
  border-color: #7c40e7;
  color: #a88ff6;
  background: rgba(124, 64, 231, 0.15);
}

/* ---- Loading Spinner on Location Inputs ---- */
.bs-loc-spinner {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: 2px solid rgba(239, 161, 134, 0.2);
  border-top-color: #efa186;
  border-radius: 50%;
  animation: bsLocSpin 0.65s linear infinite;
  display: none;
  z-index: 5;
  pointer-events: none;
}

@keyframes bsLocSpin {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

/* STRIPE INDEPENDENT PAYMENTS STYLING */
#stripe-payment-element {
  background: rgba(30, 39, 46, 0.85);
  border: 2px solid #efa186;
  padding: 20px;
  border-radius: 8px;
  margin-top: 10px;
}

#stripe-confirm-payment-btn {
  background-color: rgba(30, 39, 46, 0.85);
  border: none;
  font-weight: 700;
  text-transform: uppercase;
  color: white;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#stripe-confirm-payment-btn:hover {
  background-color: #2b74b3;
}

.stripe-error-message {
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.2);
  padding: 10px 15px;
  border-radius: 4px;
  font-size: 14px;
  margin-bottom: 15px;
}

/* PREMIUM STATUS PAGES STYLING (SUCCESS / FAILED) */
.bs-status-card {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  max-width: 600px;
  margin: 40px auto;
}

.success-card {
  background: rgba(30, 39, 46, 0.85);
  border-top: 4px solid #4cd137;
}

.failed-card {
  background: rgba(30, 39, 46, 0.85);
  border-top: 4px solid #e84118;
}

/* =====================================================
   BOOKING FORM BUTTONS — Animated sweep hover effect
   ===================================================== */

/* ---- submit-btn (Quote Now) : salmon #EFA186 scheme ---- */
/* =====================================================
   BOOKING FORM & DRIVER PORTAL BUTTONS — Simple hover effect
   ===================================================== */

.submit-btn,
.price-btn,
.price-btn.return-btn,
.edit-route-btn,
.continue-basket-btn,
.bs-pay-btn,
.bs-driver-tab-btn,
.bs-driver-dash-tab,
#login-form .bs-driver-tab-btn,
#dashboard .bs-driver-dash-tab {
  border: 1px solid #efa186 !important;
  border-radius: 0 !important;
  background-color: #efa186 !important;
  color: #ffffff !important;
  cursor: pointer !important;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease !important;
  box-shadow: none !important;
  position: relative;
  z-index: 1;
}

.submit-btn:hover,
.submit-btn:focus,
.price-btn:hover,
.price-btn:focus,
.price-btn.return-btn:hover,
.price-btn.return-btn:focus,
.edit-route-btn:hover,
.edit-route-btn:focus,
.continue-basket-btn:hover,
.continue-basket-btn:focus,
.bs-pay-btn:hover,
.bs-pay-btn:focus,
.bs-driver-tab-btn:hover,
.bs-driver-tab-btn:focus,
.bs-driver-dash-tab:hover,
.bs-driver-dash-tab:focus,
#login-form .bs-driver-tab-btn:hover,
#login-form .bs-driver-tab-btn:focus,
#dashboard .bs-driver-dash-tab:hover,
#dashboard .bs-driver-dash-tab:focus {
  border: 1px solid #ffffff !important;
  background-color: #ffffff !important;
  color: #f6925f !important;
}

.submit-btn span,
.price-btn span,
.price-btn.return-btn span,
.edit-route-btn span,
.continue-basket-btn span,
.bs-pay-btn span,
.bs-driver-tab-btn span,
.bs-driver-dash-tab span {
  color: inherit !important;
}

.submit-btn svg,
.submit-btn:hover svg,
.price-btn svg,
.price-btn:hover svg,
.price-btn.return-btn svg,
.edit-route-btn svg,
.edit-route-btn:hover svg,
.continue-basket-btn svg,
.continue-basket-btn:hover svg,
.bs-pay-btn svg,
.bs-pay-btn:hover svg,
.bs-driver-tab-btn svg,
.bs-driver-tab-btn:hover svg,
.bs-driver-dash-tab svg,
.bs-driver-dash-tab:hover svg {
  fill: currentColor !important;
  color: inherit !important;
  stroke: currentColor !important;
}

/* disabled state for continue-basket-btn */
.continue-basket-btn:disabled {
  background-color: #555 !important;
  cursor: not-allowed;
  opacity: 0.6;
}
.continue-basket-btn:disabled::before {
  display: none;
}

/* STRIPE LOADER AND SPINNER */
.stripe-loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 15px;
  background: rgba(30, 39, 46, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 20px;
}

.stripe-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(250, 204, 21, 0.1);
  border-top-color: rgb(250, 204, 21);
  border-radius: 50%;
  animation: stripeSpin 0.8s linear infinite;
}

.stripe-loading-text {
  color: #ffffff;
  margin-top: 15px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

@keyframes stripeSpin {
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   DRIVER PORTAL & DASHBOARD STYLES
   ========================================================================== */

/* Driver Portal Status Screens */
.bs-status-screen {
  padding: 40px 20px;
  text-align: center;
}
.bs-status-screen .bs-status-box {
  background: rgba(30, 39, 46, 0.85);
  border-radius: 8px;
  padding: 45px 30px;
  max-width: 500px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.bs-status-screen .bs-status-box.bs-pending-box,
.bs-status-screen .bs-status-box.bs-rejected-box {
  max-width: 600px;
}
.bs-status-screen .bs-status-emoji {
  font-size: 50px;
  margin-bottom: 20px;
}
.bs-status-screen .bs-status-emoji.bs-pending-emoji {
  color: #f5a623;
}
.bs-status-screen .bs-status-emoji.bs-rejected-emoji {
  color: #e84118;
}
.bs-status-screen .bs-status-title {
  font-size: 24px;
  margin-bottom: 20px;
  color: #fff;
}
.bs-status-screen .bs-status-title.bs-error-title {
  color: #ff6b6b;
}
.bs-status-screen .bs-status-title.bs-pending-title {
  color: #f5a623;
}
.bs-status-screen .bs-status-title.bs-rejected-title {
  color: #e84118;
}
.bs-status-screen .bs-status-desc {
  color: #bbb;
  font-size: 15px;
  margin-bottom: 30px;
}
.bs-status-screen .bs-status-desc-highlight {
  color: #dcdde1;
  font-size: 16px;
  margin-bottom: 20px;
}

/* ==========================================================================
   DRIVER DASHBOARD — scoped under .bs-driver-dashboard-wrapper for
   specificity matching the previous inline styles, restoring exact appearance.
   ========================================================================== */

.bs-driver-dashboard-wrapper .bs-dashboard-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  color: #fff;
}
.bs-driver-dashboard-wrapper .bs-dashboard-header-card {
  background: rgba(30, 39, 46, 0.85);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 25px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}
.bs-driver-dashboard-wrapper .bs-dashboard-welcome-title {
  font-size: 24px;
  margin: 0;
  color: #fff;
}
.bs-driver-dashboard-wrapper .bs-dashboard-vehicle-text {
  margin: 5px 0 0 0;
  color: #aaa;
  font-size: 14px;
}
.bs-driver-dashboard-wrapper .bs-dashboard-header-actions {
  display: flex;
  gap: 10px;
}
.bs-driver-dashboard-wrapper .bs-dashboard-status-badge {
  background: #2ed573;
  color: #fff;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: bold;
  align-self: center;
}
.bs-driver-dashboard-wrapper .bs-dashboard-logout-btn {
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  border-radius: 0;
  font-size: 14px;
  font-weight: bold;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}
.bs-driver-dashboard-wrapper .bs-dashboard-logout-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}
.bs-driver-dashboard-wrapper .bs-dashboard-tabs-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}
.bs-driver-dashboard-wrapper .bs-dashboard-tab-btn {
  padding: 10px 20px;
  background: rgba(30, 39, 46, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  border-radius: 4px;
  font-weight: 600;
}
.bs-driver-dashboard-wrapper .bs-dashboard-tab-btn.active,
.bs-driver-toggle-tabs .bs-driver-tab-btn.active {
  background: rgba(30, 39, 46, 0.85) !important;
  border-color: rgba(30, 39, 46, 0.85) !important;
}
.bs-driver-dashboard-wrapper .bs-dashboard-empty-state {
  background: rgba(30, 39, 46, 0.85);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #bbb;
}
.bs-driver-dashboard-wrapper .bs-dashboard-empty-text {
  margin: 0 0 15px 0;
}
.bs-driver-dashboard-wrapper .bs-dashboard-view-btn {
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  display: inline-block;
}
.bs-driver-dashboard-wrapper .bs-dashboard-bookings-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.bs-driver-dashboard-wrapper .bs-dashboard-booking-card {
  background: rgba(30, 39, 46, 0.85);
  border-radius: 8px;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.bs-driver-dashboard-wrapper .bs-dashboard-booking-card.bs-available-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.bs-driver-dashboard-wrapper .bs-dashboard-booking-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 10px;
}
.bs-driver-dashboard-wrapper .bs-dashboard-booking-title {
  margin: 0;
  font-size: 18px;
  color: #fff;
}
.bs-driver-dashboard-wrapper
  .bs-dashboard-booking-card.bs-available-card
  .bs-dashboard-booking-title {
  margin: 0 0 10px 0;
}
.bs-driver-dashboard-wrapper .bs-dashboard-status-select-container {
  display: flex;
  align-items: center;
  gap: 15px;
}
.bs-driver-dashboard-wrapper .bs-dashboard-status-select-label {
  font-size: 14px;
  color: #aaa;
}
.bs-driver-dashboard-wrapper .bs-dashboard-status-select {
  padding: 5px 10px;
  border-radius: 4px;
  background: #222;
  border: 1px solid #555;
  color: #fff;
}
.bs-driver-dashboard-wrapper .bs-dashboard-section-title {
  margin: 0 0 10px 0;
  color: #f5a623;
  font-size: 14px;
  text-transform: uppercase;
}
.bs-driver-dashboard-wrapper .bs-dashboard-section-title.bs-customer-title {
  color: #2ed573;
}
.bs-driver-dashboard-wrapper .bs-dashboard-detail-item {
  margin: 6px 0;
  font-size: 14px;
  color: #ddd;
}
.bs-driver-dashboard-wrapper .bs-dashboard-detail-item.bs-detail-note {
  color: #aaa;
  font-style: italic;
}
.bs-driver-dashboard-wrapper .bs-dashboard-customer-card {
  background: rgba(255, 255, 255, 0.02);
  padding: 15px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.bs-driver-dashboard-wrapper .bs-dashboard-contact-link {
  color: rgba(255, 255, 255);
  text-decoration: none;
}
.bs-driver-dashboard-wrapper .bs-dashboard-booking-info {
  flex: 1;
  min-width: 280px;
}
.bs-driver-dashboard-wrapper .bs-dashboard-booking-action {
  text-align: right;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}
.bs-driver-dashboard-wrapper .bs-dashboard-booking-fare {
  font-size: 20px;
  font-weight: bold;
  color: #f5a623;
}
.bs-driver-dashboard-wrapper .bs-dashboard-table-wrapper {
  background: rgba(30, 39, 46, 0.85);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow-x: auto;
}
.bs-driver-dashboard-wrapper .bs-dashboard-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
.bs-driver-dashboard-wrapper .bs-dashboard-table tr:first-child {
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.bs-driver-dashboard-wrapper .bs-dashboard-table th {
  padding: 15px;
}
.bs-driver-dashboard-wrapper .bs-dashboard-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.bs-driver-dashboard-wrapper .bs-dashboard-table td {
  padding: 15px;
}
.bs-driver-dashboard-wrapper .bs-dashboard-table td:first-child {
  font-weight: bold;
}
.bs-driver-dashboard-wrapper .bs-dashboard-table td:nth-child(3) {
  font-size: 13px;
}
.bs-driver-dashboard-wrapper
  .bs-dashboard-table
  td:nth-child(3)
  > div:last-child {
  margin-top: 4px;
}
.bs-driver-dashboard-wrapper .bs-dashboard-table td:nth-child(5) {
  font-weight: bold;
  color: #f5a623;
}
.bs-driver-dashboard-wrapper .bs-dashboard-history-status {
  font-weight: bold;
}
.bs-driver-dashboard-wrapper .bs-dashboard-history-status.status-completed {
  color: #2ed573;
}
.bs-driver-dashboard-wrapper .bs-dashboard-history-status.status-cancelled,
.bs-driver-dashboard-wrapper .bs-dashboard-history-status.status-refunded,
.bs-driver-dashboard-wrapper .bs-dashboard-history-status.status-failed {
  color: #ff7675;
}

/* Driver booking two-column grid (journey + customer) */
.bs-driver-dashboard-wrapper .driver-booking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.bs-dashboard-logout-btn {
  background-color: #c30b0b !important;
  text-decoration: none !important;
}
.bs-dashboard-logout-btn:hover {
  background-color: #af1010 !important;
}
.flatpickr-current-month {
  position: relative !important;
  height: auto !important; /* changed from 0 to auto */
  top: 5px !important;
}

/* ============================================================
   PASSWORD SHOW/HIDE TOGGLE STYLES
   ============================================================ */
.bs-password-field-container {
  position: relative;
  width: 100%;
}
.bs-password-toggle-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  user-select: none;
  background: transparent;
  border: none;
  padding: 0;
}
.bs-password-toggle-svg {
  width: 20px;
  height: 20px;
  stroke: #ffffff !important;
  fill: none;
  transition: opacity 0.2s ease;
  display: block;
}
.bs-password-toggle-icon:hover .bs-password-toggle-svg {
  opacity: 0.7;
}
.bs-driver-toggle-tabs {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 15px;
}
.bs-driver-profile-form {
  background: rgba(30, 39, 46, 0.85);
  border-radius: 8px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.bs-driver-login-form,
.bs-driver-register-form {
  background: rgba(30, 39, 46, 0.85);
  border-radius: 8px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive */
@media (max-width: 768px) {
  .split-fields {
    flex-direction: column;
  }

  .price-options {
    flex-direction: column;
    gap: 30px;
  }
}
@media (max-width: 550px) {
  .bs-driver-dashboard-wrapper .bs-dashboard-header-card {
    padding: 20px 10px;
  }
  .bs-driver-toggle-tabs {
    flex-direction: column;
  }
  .bs-driver-login-form,
  .bs-driver-register-form {
    padding: 20px 10px;
  }
  .form-box {
    padding: 20px 10px;
  }
  .bs-driver-dashboard-wrapper .bs-dashboard-container {
    padding: 20px 10px;
  }
  .bs-driver-dashboard-wrapper .bs-dashboard-tabs-nav {
    flex-direction: column;
  }
  .bs-driver-dashboard-wrapper .bs-dashboard-empty-state {
    padding: 20px 10px;
  }
  .bs-driver-dashboard-wrapper .bs-dashboard-table {
    max-width: 900px;
    min-width: 900px;
  }
  .bs-driver-profile-form {
    padding: 20px 10px;
  }
  .input[type="date"] {
    padding: 2px 16px;
  }
}
