/* ========================================
   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;
}

/* ========================================
   VANILLAJS DATEPICKER CALENDAR STYLES
   ======================================== */

.datepicker {
  z-index: 999999 !important;
}

.datepicker-picker {
  background-color: #ffffff !important;
  color: #000000 !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5) !important;
  padding: 12px !important;
  border: 1px solid #efa186 !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

.datepicker-header {
  background: transparent !important;
}

.datepicker-title {
  color: #efa186 !important;
  font-weight: 700 !important;
}

.datepicker-controls {
  gap: 4px !important;
}

.datepicker-controls .button {
  background: #efa186 !important;
  color: #ffffff !important;
  border: 1px solid #efa186 !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
}

.datepicker-controls .button:hover {
  background: #f6925f !important;
  color: #ffffff !important;
}

.datepicker-cell.selected,
.datepicker-cell.selected:hover {
  background-color: #f6925f !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border-radius: 4px !important;
}

.datepicker-cell:hover {
  background-color: #efa186 !important;
  color: #000000 !important;
  border-radius: 4px !important;
}

.datepicker-cell.focused:not(.selected) {
  background-color: #f6925f !important;
}

.datepicker-cell {
  color: #000000 !important;
}

.datepicker-cell.prev,
.datepicker-cell.next {
  color: #000000 !important;
}

.disabled {
  color: #dcdcdc !important;
}

.dow {
  color: #efa186 !important;
  font-weight: 600 !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;
}

.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 card code */
#stripe-payment-element .p-PaymentMethodSelector {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: scroll !important;
  overflow-y: hidden !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  -webkit-overflow-scrolling: touch;
}

#stripe-payment-element .p-PaymentMethodSelector::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

#stripe-payment-element .p-PaymentMethodSelector .p-Tab {
  flex: 0 0 40% !important;
  max-width: 40% !important;
  width: 40% !important;
  min-width: 40% !important;
  box-sizing: border-box !important;
}

#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: #efa186;
}

.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: #efa186;
}

.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 — Redesigned UI
   ============================================================ */

/* Dark Theme (Default) */
.bs-driver-dashboard-wrapper[data-bs-theme="dark"] {
  --bs-bg-primary: rgba(4, 8, 20, 0.92);
  --bs-bg-card: rgba(255, 255, 255, 0.06);
  --bs-bg-card-hover: rgba(255, 255, 255, 0.10);
  --bs-bg-input: rgba(255, 255, 255, 0.08);
  --bs-bg-table-header: rgba(0, 0, 0, 0.25);
  --bs-bg-table-row-hover: rgba(255, 255, 255, 0.04);
  --bs-text-primary: #ffffff;
  --bs-text-secondary: #e5e7eb;
  --bs-text-muted: #9ca3af;
  --bs-text-heading: #ffffff;
  --bs-border: rgba(156, 163, 175, 0.35);
  --bs-border-hover: rgba(250, 204, 21, 0.30);
  --bs-border-subtle: rgba(156, 163, 175, 0.15);
  --bs-accent: #facc15;
  --bs-accent-secondary: #f59e0b;
  --bs-accent-text: #0a0a0a;
  --bs-blur: blur(28px);
  --bs-tab-inactive-bg: rgba(255, 255, 255, 0.08);
  --bs-tab-active-bg: rgb(250, 204, 21);
  --bs-tab-active-text: rgb(10, 10, 10);
  --bs-tab-inactive-text: #e5e7eb;
  --bs-modal-backdrop: rgba(0, 0, 0, 0.70);
  --bs-modal-bg: rgba(10, 12, 24, 0.96);
  --bs-modal-border: rgba(156, 163, 175, 0.25);
  --bs-input-bg: var(--bs-bg-card);
  --bs-input-text: #ffffff;
  --bs-input-border: var(--bs-border);
  --bs-success: #22c55e;
  --bs-danger: #ef4444;
  --bs-warning: #f59e0b;
  --bs-upload-bg: rgba(255, 255, 255, 0.02);
  --bs-upload-border: rgba(156, 163, 175, 0.15);
  --bs-upload-btn-bg: #4b5563;
  --bs-link-color: #ffffff;
  --bs-section-heading: #facc15;
  --bs-customer-heading: #22c55e;
  --bs-fare-color: #facc15;
  --bs-empty-text: #9ca3af;
  --bs-status-approved-bg: rgba(34, 197, 94, 0.15);
  --bs-status-approved-text: #22c55e;
  --bs-status-approved-border: rgba(34, 197, 94, 0.35);
  --bs-status-pending-bg: rgba(245, 158, 11, 0.15);
  --bs-status-pending-text: #f59e0b;
  --bs-status-pending-border: rgba(245, 158, 11, 0.35);
  --bs-status-rejected-bg: rgba(239, 68, 68, 0.15);
  --bs-status-rejected-text: #ef4444;
  --bs-status-rejected-border: rgba(239, 68, 68, 0.35);
}

/* Light Theme */
.bs-driver-dashboard-wrapper[data-bs-theme="light"] {
  --bs-bg-primary: #f3f4f6;
  --bs-bg-card: #ffffff;
  --bs-bg-card-hover: #f9fafb;
  --bs-bg-input: #f3f4f6;
  --bs-bg-table-header: #f3f4f6;
  --bs-bg-table-row-hover: #f9fafb;
  --bs-text-primary: #111827;
  --bs-text-secondary: #374151;
  --bs-text-muted: #6b7280;
  --bs-text-heading: #111827;
  --bs-border: rgba(0, 0, 0, 0.12);
  --bs-border-hover: rgba(245, 158, 11, 0.40);
  --bs-border-subtle: rgba(0, 0, 0, 0.06);
  --bs-accent: #f59e0b;
  --bs-accent-secondary: #d97706;
  --bs-accent-text: #0a0a0a;
  --bs-blur: blur(0px);
  --bs-tab-inactive-bg: #e5e7eb;
  --bs-tab-active-bg: #f59e0b;
  --bs-tab-active-text: #0a0a0a;
  --bs-tab-inactive-text: #374151;
  --bs-modal-backdrop: rgba(0, 0, 0, 0.40);
  --bs-modal-bg: #ffffff;
  --bs-modal-border: rgba(0, 0, 0, 0.12);
  --bs-input-bg: #ffffff;
  --bs-input-text: #111827;
  --bs-input-border: #d1d5db;
  --bs-success: #16a34a;
  --bs-danger: #dc2626;
  --bs-warning: #d97706;
  --bs-upload-bg: #f9fafb;
  --bs-upload-border: rgba(0, 0, 0, 0.08);
  --bs-upload-btn-bg: #6b7280;
  --bs-link-color: #1d4ed8;
  --bs-section-heading: #d97706;
  --bs-customer-heading: #16a34a;
  --bs-fare-color: #d97706;
  --bs-empty-text: #6b7280;
  --bs-status-approved-bg: rgba(22, 163, 74, 0.10);
  --bs-status-approved-text: #16a34a;
  --bs-status-approved-border: rgba(22, 163, 74, 0.30);
  --bs-status-pending-bg: rgba(217, 119, 6, 0.10);
  --bs-status-pending-text: #d97706;
  --bs-status-pending-border: rgba(217, 119, 6, 0.30);
  --bs-status-rejected-bg: rgba(220, 38, 38, 0.10);
  --bs-status-rejected-text: #dc2626;
  --bs-status-rejected-border: rgba(220, 38, 38, 0.30);
}

.bs-driver-dashboard-wrapper {
  background: var(--bs-bg-primary) !important;
  backdrop-filter: var(--bs-blur);
  -webkit-backdrop-filter: var(--bs-blur);
  /* min-height: 100vh; */
  padding: 0 !important;
  color: var(--bs-text-primary);
  font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.bs-driver-dashboard-wrapper .bs-dashboard-container {
  max-width: 100% !important;
  margin: 0 auto;
  padding: 24px;
  color: var(--bs-text-primary);
}

.bs-driver-dashboard-wrapper .bs-compliance-alert-bar {
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 24px;
  color: var(--bs-danger);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: none;
}

.bs-driver-dashboard-wrapper .bs-compliance-alert-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.bs-driver-dashboard-wrapper .bs-compliance-alert-text {
  flex: 1;
}

.bs-driver-dashboard-wrapper .bs-dashboard-header-card {
  background: var(--bs-bg-card);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid var(--bs-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: none;
}

.bs-driver-dashboard-wrapper .bs-dashboard-header-info {
  flex: 1;
  min-width: 200px;
}

.bs-driver-dashboard-wrapper .bs-dashboard-welcome-title {
  font-size: 22px;
  margin: 0 0 4px 0;
  color: var(--bs-text-heading) !important;
  font-weight: 700;
  border: none !important;
  padding: 0 !important;
}

.bs-driver-dashboard-wrapper .bs-dashboard-vehicle-text {
  margin: 0;
  color: var(--bs-text-muted);
  font-size: 14px;
}

.bs-driver-dashboard-wrapper .bs-dashboard-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Status Badge */
.bs-driver-dashboard-wrapper .bs-dashboard-status-badge {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: none;
  border: 1px solid;
}

.bs-driver-dashboard-wrapper .bs-dashboard-status-badge.bs-status-approved {
  background: var(--bs-status-approved-bg);
  color: var(--bs-status-approved-text);
  border-color: var(--bs-status-approved-border);
}

.bs-driver-dashboard-wrapper .bs-dashboard-status-badge.bs-status-pending {
  background: var(--bs-status-pending-bg);
  color: var(--bs-status-pending-text);
  border-color: var(--bs-status-pending-border);
}

.bs-driver-dashboard-wrapper .bs-dashboard-status-badge.bs-status-rejected {
  background: var(--bs-status-rejected-bg);
  color: var(--bs-status-rejected-text);
  border-color: var(--bs-status-rejected-border);
}

/* Edit Profile Button */
.bs-driver-dashboard-wrapper .bs-dashboard-edit-profile-btn {
  padding: 11px 18px;
  background: var(--bs-bg-card);
  color: var(--bs-text-primary);
  border: 1px solid var(--bs-border);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  box-shadow: none;
}

.bs-driver-dashboard-wrapper .bs-dashboard-edit-profile-btn:hover {
  background: var(--bs-bg-card-hover);
  border-color: var(--bs-border-hover);
}

/* Theme Toggle Button */
.bs-driver-dashboard-wrapper .bs-theme-toggle-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bs-bg-card);
  border: 1px solid var(--bs-border);
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  box-shadow: none;
  padding: 0;
}

.bs-driver-dashboard-wrapper .bs-theme-toggle-btn:hover {
  background: var(--bs-bg-card-hover);
  border-color: var(--bs-border-hover);
}

.bs-driver-dashboard-wrapper .bs-theme-toggle-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--bs-accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bs-driver-dashboard-wrapper[data-bs-theme="dark"] .bs-theme-toggle-btn .bs-icon-moon {
  display: none !important;
}

.bs-driver-dashboard-wrapper[data-bs-theme="dark"] .bs-theme-toggle-btn .bs-icon-sun {
  display: block !important;
}

.bs-driver-dashboard-wrapper[data-bs-theme="light"] .bs-theme-toggle-btn .bs-icon-sun {
  display: none !important;
}

.bs-driver-dashboard-wrapper[data-bs-theme="light"] .bs-theme-toggle-btn .bs-icon-moon {
  display: block !important;
}

/* Logout Button */
.bs-driver-dashboard-wrapper .bs-dashboard-logout-btn {
  padding: 8px 18px !important;
  background: rgba(220, 38, 38, 0.12) !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
  color: #ef4444 !important;
  border-radius: 6px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer;
  text-decoration: none !important;
  transition: background-color 0.2s ease, border-color 0.2s ease !important;
  box-shadow: none !important;
  display: inline-block;
}

.bs-driver-dashboard-wrapper .bs-dashboard-logout-btn:hover {
  background: rgba(220, 38, 38, 0.20) !important;
  border-color: rgba(239, 68, 68, 0.50) !important;
}

.bs-driver-dashboard-wrapper .bs-dashboard-summary-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.bs-driver-dashboard-wrapper .bs-summary-card {
  background: var(--bs-bg-card);
  border: 1px solid var(--bs-border);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  box-shadow: none;
}

.bs-driver-dashboard-wrapper .bs-summary-card:hover {
  background: var(--bs-bg-card-hover);
  border-color: var(--bs-border-hover);
}

.bs-driver-dashboard-wrapper .bs-summary-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--bs-text-muted);
  margin-bottom: 8px;
}

.bs-driver-dashboard-wrapper .bs-summary-count {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: var(--bs-accent);
  line-height: 1;
}

.bs-driver-dashboard-wrapper .bs-dashboard-tabs-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 0;
  border-bottom: none;
  flex-wrap: wrap;
}

.bs-driver-dashboard-wrapper .bs-dashboard-tab-btn {
  padding: 16px 20px !important;
  background: var(--bs-tab-inactive-bg) !important;
  border: 1px solid var(--bs-border) !important;
  color: var(--bs-tab-inactive-text) !important;
  cursor: pointer;
  border-radius: 6px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
  box-shadow: none !important;
  position: relative;
  z-index: 1;
}

.bs-driver-dashboard-wrapper .bs-dashboard-tab-btn:hover,
.bs-driver-dashboard-wrapper .bs-dashboard-tab-btn:focus {
  background: var(--bs-bg-card-hover) !important;
  border-color: var(--bs-border-hover) !important;
  color: var(--bs-text-primary) !important;
}

.bs-driver-dashboard-wrapper .bs-dashboard-tab-btn.active,
.bs-driver-dashboard-wrapper .bs-dashboard-tab-btn.active:hover,
.bs-driver-dashboard-wrapper .bs-dashboard-tab-btn.active:focus {
  background: var(--bs-tab-active-bg) !important;
  color: var(--bs-tab-active-text) !important;
  border-color: var(--bs-tab-active-bg) !important;
  font-weight: 700 !important;
}

.bs-driver-dashboard-wrapper .bs-dashboard-tab-btn[disabled] {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
}

/* Dashboard Panels */
.bs-driver-dashboard-wrapper .bs-driver-dash-panel.bs-panel-hidden {
  display: none;
}

/* Bookings List */
.bs-driver-dashboard-wrapper .bs-dashboard-bookings-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Booking Card */
.bs-driver-dashboard-wrapper .bs-dashboard-booking-card {
  background: var(--bs-bg-card);
  border: 1px solid var(--bs-border);
  border-radius: 8px;
  padding: 24px;
  transition: border-color 0.2s ease;
  box-shadow: none;
}

.bs-driver-dashboard-wrapper .bs-dashboard-booking-card:hover {
  border-color: var(--bs-border-hover);
}

/* Card Header */
.bs-driver-dashboard-wrapper .bs-dashboard-booking-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid var(--bs-border-subtle);
  padding-bottom: 14px;
  margin-bottom: 16px;
}

.bs-driver-dashboard-wrapper .bs-dashboard-booking-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--bs-text-heading);
  margin: 0;
}

/* Status Select */
.bs-driver-dashboard-wrapper .bs-dashboard-status-select-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bs-driver-dashboard-wrapper .bs-dashboard-status-select-label {
  font-size: 13px;
  color: var(--bs-text-muted);
  font-weight: 600;
}

.bs-driver-dashboard-wrapper .bs-dashboard-status-select {
  padding: 6px 12px;
  border-radius: 6px;
  background: var(--bs-input-bg);
  border: 1px solid var(--bs-input-border);
  color: var(--bs-input-text);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: none;
  transition: border-color 0.2s ease;
}

.bs-driver-dashboard-wrapper .bs-dashboard-status-select:focus {
  outline: none;
  border-color: var(--bs-accent);
}

.bs-driver-dashboard-wrapper[data-bs-theme="dark"] .bs-dashboard-status-select option {
  background: #0a0c18;
  color: #ffffff;
}

/* Booking Grid (Journey + Customer columns) */
.bs-driver-dashboard-wrapper .driver-booking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

/* Section Titles */
.bs-driver-dashboard-wrapper .bs-dashboard-section-title {
  margin: 0 0 12px 0;
  color: var(--bs-section-heading);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.bs-driver-dashboard-wrapper .bs-dashboard-section-title.bs-customer-title {
  color: var(--bs-customer-heading);
}

/* Detail Items */
.bs-driver-dashboard-wrapper .bs-dashboard-detail-item {
  margin: 6px 0;
  font-size: 14px;
  color: var(--bs-text-secondary);
  line-height: 1.5;
}

.bs-driver-dashboard-wrapper .bs-dashboard-detail-item strong {
  color: var(--bs-text-primary);
  font-weight: 600;
}

.bs-driver-dashboard-wrapper .bs-dashboard-detail-item.bs-detail-note {
  color: var(--bs-text-muted);
  font-style: italic;
}

/* Customer Card */
.bs-driver-dashboard-wrapper .bs-dashboard-customer-card {
  background: var(--bs-upload-bg);
  border: 1px solid var(--bs-border-subtle);
  border-radius: 8px;
  padding: 16px;
  box-shadow: none;
}

/* Contact Links */
.bs-driver-dashboard-wrapper .bs-dashboard-contact-link {
  color: var(--bs-link-color) !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.bs-driver-dashboard-wrapper .bs-dashboard-contact-link:hover {
  color: var(--bs-accent) !important;
}

/* Available Booking Cards */
.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-info {
  flex: 1;
  min-width: 250px;
}

.bs-driver-dashboard-wrapper .bs-dashboard-booking-action {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
}

.bs-driver-dashboard-wrapper .bs-dashboard-booking-fare {
  font-size: 24px;
  font-weight: 700;
  color: var(--bs-fare-color);
}

/* Accept Booking Button */
.bs-driver-dashboard-wrapper .bs-accept-booking-btn {
  padding: 10px 24px !important;
  font-size: 14px !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  cursor: pointer;
  background: linear-gradient(90deg, rgb(250, 204, 21), rgb(245, 158, 11)) !important;
  border: none !important;
  color: rgb(10, 10, 10) !important;
  transition: opacity 0.2s ease !important;
  box-shadow: none !important;
  width: auto !important;
  margin-top: 0 !important;
}

.bs-driver-dashboard-wrapper .bs-accept-booking-btn:hover,
.bs-driver-dashboard-wrapper .bs-accept-booking-btn:focus {
  background: linear-gradient(90deg, rgb(250, 204, 21), rgb(245, 158, 11)) !important;
  color: rgb(10, 10, 10) !important;
  border: none !important;
  opacity: 0.9 !important;
}

.bs-driver-dashboard-wrapper .bs-accept-booking-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.bs-driver-dashboard-wrapper .bs-dashboard-empty-state {
  background: var(--bs-bg-card);
  border: 1px solid var(--bs-border);
  border-radius: 8px;
  padding: 40px 24px;
  text-align: center;
  color: var(--bs-empty-text);
  font-size: 15px;
  box-shadow: none;
}

.bs-driver-dashboard-wrapper .bs-dashboard-empty-state.bs-compliance-locked {
  color: var(--bs-danger);
  font-weight: 600;
}

.bs-driver-dashboard-wrapper .bs-dashboard-empty-text {
  margin: 0 0 16px 0;
  color: var(--bs-empty-text);
}

/* View Available Bookings Button inside empty state */
.bs-driver-dashboard-wrapper .bs-dashboard-view-btn {
  padding: 16px 24px !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  cursor: pointer;
  display: inline-block;
  background: linear-gradient(90deg, rgb(250, 204, 21), rgb(245, 158, 11)) !important;
  border: none !important;
  color: rgb(10, 10, 10) !important;
  font-size: 14px !important;
  box-shadow: none !important;
  width: auto !important;
  margin-top: 0 !important;
  transition: opacity 0.2s ease !important;
}

.bs-driver-dashboard-wrapper .bs-dashboard-view-btn:hover,
.bs-driver-dashboard-wrapper .bs-dashboard-view-btn:focus {
  background: linear-gradient(90deg, rgb(250, 204, 21), rgb(245, 158, 11)) !important;
  color: rgb(10, 10, 10) !important;
  border: none !important;
  opacity: 0.9 !important;
}

/* Desktop Table */
.bs-driver-dashboard-wrapper .bs-dashboard-table-wrapper {
  background: var(--bs-bg-card);
  border-radius: 8px;
  border: 1px solid var(--bs-border);
  overflow-x: auto;
  box-shadow: none;
}

.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 thead tr {
  background: var(--bs-bg-table-header);
}

.bs-driver-dashboard-wrapper .bs-dashboard-table th {
  padding: 14px 16px;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--bs-text-muted);
  border-bottom: 1px solid var(--bs-border);
}

.bs-driver-dashboard-wrapper .bs-dashboard-table tbody tr {
  border-bottom: 1px solid var(--bs-border-subtle);
  transition: background-color 0.15s ease;
}

.bs-driver-dashboard-wrapper .bs-dashboard-table tbody tr:last-child {
  border-bottom: none;
}

.bs-driver-dashboard-wrapper .bs-dashboard-table tbody tr:hover {
  background: var(--bs-bg-table-row-hover);
}

.bs-driver-dashboard-wrapper .bs-dashboard-table td {
  padding: 14px 16px;
  color: var(--bs-text-secondary);
  vertical-align: top;
}

.bs-driver-dashboard-wrapper .bs-dashboard-table td:first-child {
  font-weight: 700;
  color: var(--bs-text-primary);
}

.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: 700;
  color: var(--bs-fare-color);
}

/* History Status Badges */
.bs-driver-dashboard-wrapper .bs-dashboard-history-status {
  font-weight: 700;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 12px;
  display: inline-block;
}

.bs-driver-dashboard-wrapper .bs-dashboard-history-status.status-completed {
  background: var(--bs-status-approved-bg);
  color: var(--bs-status-approved-text);
}

.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 {
  background: var(--bs-status-rejected-bg);
  color: var(--bs-status-rejected-text);
}

/* Mobile History Cards */
.bs-driver-dashboard-wrapper .bs-dashboard-table .bs-history-mobile-label {
  display: none;
}

/* Modal Overlay */
.bs-profile-modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 0 !important;
  background: var(--bs-modal-backdrop) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 99999999 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px 16px !important;
  box-sizing: border-box !important;
  overflow-y: auto !important;
}

.bs-profile-modal-overlay.bs-modal-active {
  display: flex !important;
}

/* WordPress Admin Bar Spacing when logged in as admin/editor */
.admin-bar .bs-profile-modal-overlay {
  padding-top: calc(32px + 24px) !important;
}

@media screen and (max-width: 782px) {
  .admin-bar .bs-profile-modal-overlay {
    padding-top: calc(46px + 16px) !important;
  }
}

/* Ensure datepicker opened from within modal is on top of modal */
.datepicker {
  z-index: 100000000 !important;
}

body.bs-modal-open {
  overflow: hidden !important;
}

.bs-driver-dashboard-wrapper .bs-profile-modal-container,
.bs-profile-modal-container {
  background: var(--bs-modal-bg);
  border: 1px solid var(--bs-modal-border);
  border-radius: 12px;
  width: min(850px, 95vw);
  max-height: calc(100vh - 60px);
  max-height: calc(100dvh - 60px);
  display: flex;
  flex-direction: column;
  box-shadow: none;
  overflow: hidden;
  margin: auto;
  position: relative;
  z-index: 2;
}

.bs-driver-dashboard-wrapper .bs-profile-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--bs-border-subtle);
  flex-shrink: 0;
}

.bs-driver-dashboard-wrapper .bs-profile-modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--bs-text-heading);
}

.bs-driver-dashboard-wrapper .bs-profile-modal-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bs-bg-card);
  border: 1px solid var(--bs-border);
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
  color: var(--bs-text-muted);
  transition: background-color 0.2s ease, border-color 0.2s ease;
  box-shadow: none;
  padding: 0;
  line-height: 1;
}

.bs-driver-dashboard-wrapper .bs-profile-modal-close:hover {
  background: var(--bs-bg-card-hover);
  border-color: var(--bs-border-hover);
  color: var(--bs-text-primary);
}

.bs-driver-dashboard-wrapper .bs-profile-modal-body {
  overflow-y: auto;
  padding: 24px;
  flex: 1;
}

.bs-driver-dashboard-wrapper .bs-profile-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--bs-border-subtle);
  flex-shrink: 0;
}

.bs-driver-dashboard-wrapper .bs-profile-modal-cancel {
  padding: 10px 20px;
  background: var(--bs-bg-card);
  border: 1px solid var(--bs-border);
  color: var(--bs-text-primary);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  box-shadow: none;
}

.bs-driver-dashboard-wrapper .bs-profile-modal-cancel:hover {
  background: var(--bs-bg-card-hover);
  border-color: var(--bs-border-hover);
}

.bs-driver-dashboard-wrapper .bs-profile-modal-save {
  padding: 10px 24px !important;
  background: linear-gradient(90deg, rgb(250, 204, 21), rgb(245, 158, 11)) !important;
  color: rgb(10, 10, 10) !important;
  border: none !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer;
  transition: opacity 0.2s ease !important;
  box-shadow: none !important;
  width: auto !important;
  margin-top: 0 !important;
}

.bs-driver-dashboard-wrapper .bs-profile-modal-save:hover,
.bs-driver-dashboard-wrapper .bs-profile-modal-save:focus {
  background: linear-gradient(90deg, rgb(250, 204, 21), rgb(245, 158, 11)) !important;
  color: rgb(10, 10, 10) !important;
  border: none !important;
  opacity: 0.9 !important;
}

/* Profile Form */
.bs-driver-dashboard-wrapper .bs-driver-profile-form {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.bs-driver-dashboard-wrapper .bs-driver-profile-form .heading_h2 {
  display: none;
}

/* Form Sections */
.bs-driver-dashboard-wrapper .bs-form-section {
  margin-bottom: 28px;
}

.bs-driver-dashboard-wrapper .bs-form-section h3 {
  color: var(--bs-section-heading);
  border-bottom: 1px solid var(--bs-border-subtle);
  padding-bottom: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Form Fields */
.bs-driver-dashboard-wrapper .bs-driver-profile-form .full-field {
  margin-bottom: 14px;
}

.bs-driver-dashboard-wrapper .bs-driver-profile-form .split-fields {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
}

.bs-driver-dashboard-wrapper .bs-driver-profile-form .half-field {
  flex: 1;
}

.bs-driver-dashboard-wrapper .bs-driver-profile-form label {
  display: block;
  color: var(--bs-text-primary);
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
}

.bs-driver-dashboard-wrapper .bs-driver-profile-form input[type="text"],
.bs-driver-dashboard-wrapper .bs-driver-profile-form input[type="email"],
.bs-driver-dashboard-wrapper .bs-driver-profile-form input[type="password"],
.bs-driver-dashboard-wrapper .bs-driver-profile-form input[type="tel"],
.bs-driver-dashboard-wrapper .bs-driver-profile-form select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid var(--bs-input-border);
  background: var(--bs-input-bg);
  color: var(--bs-input-text);
  font-size: 14px;
  box-shadow: none;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.bs-driver-dashboard-wrapper .bs-driver-profile-form input:focus,
.bs-driver-dashboard-wrapper .bs-driver-profile-form select:focus {
  outline: none;
  border-color: var(--bs-accent);
  box-shadow: none;
}

/* Dark Mode Form Inputs */
.bs-driver-dashboard-wrapper[data-bs-theme="dark"] .bs-driver-profile-form input[type="text"],
.bs-driver-dashboard-wrapper[data-bs-theme="dark"] .bs-driver-profile-form input[type="email"],
.bs-driver-dashboard-wrapper[data-bs-theme="dark"] .bs-driver-profile-form input[type="password"],
.bs-driver-dashboard-wrapper[data-bs-theme="dark"] .bs-driver-profile-form input[type="tel"],
.bs-driver-dashboard-wrapper[data-bs-theme="dark"] .bs-driver-profile-form select {
  background: var(--bs-bg-card);
  color: var(--bs-text-primary);
  border: 1px solid var(--bs-border);
}

.bs-driver-dashboard-wrapper[data-bs-theme="dark"] .bs-driver-profile-form input::placeholder {
  color: var(--bs-text-muted);
}

.bs-driver-dashboard-wrapper[data-bs-theme="dark"] .bs-driver-profile-form select option {
  background: #0a0c18;
  color: #ffffff;
}

/* Error and Success Messages */
.bs-driver-dashboard-wrapper .bs-error-msg {
  color: var(--bs-danger);
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 14px;
}

.bs-driver-dashboard-wrapper .bs-success-msg {
  color: var(--bs-success);
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 14px;
}

/* File Upload Blocks */
.bs-driver-dashboard-wrapper .file-upload-block {
  margin-bottom: 16px;
  padding: 16px;
  background: var(--bs-upload-bg);
  border: 1px solid var(--bs-upload-border);
  border-radius: 8px;
  box-shadow: none;
}

.bs-driver-dashboard-wrapper .file-upload-block label {
  display: block;
  color: var(--bs-text-primary);
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 13px;
}

.bs-driver-dashboard-wrapper .file-upload-block .bs-upload-helper {
  font-size: 11px;
  color: var(--bs-text-muted);
  display: block;
  margin-bottom: 8px;
}

.bs-driver-dashboard-wrapper .file-upload-block .bs-upload-preview {
  margin-bottom: 10px;
}

.bs-driver-dashboard-wrapper .file-upload-block .bs-upload-preview-label {
  font-size: 12px;
  color: var(--bs-text-muted);
  margin-bottom: 4px;
}

.bs-driver-dashboard-wrapper .file-upload-block .bs-upload-preview img {
  max-width: 100px;
  max-height: 100px;
  border-radius: 6px;
  border: 1px solid var(--bs-border);
  object-fit: cover;
}

.bs-driver-dashboard-wrapper .file-upload-block .bs-upload-preview a {
  color: var(--bs-link-color) !important;
  text-decoration: underline;
}

.bs-driver-dashboard-wrapper .bs-ajax-file-input {
  display: none !important;
}

.bs-driver-dashboard-wrapper .upload-action-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.bs-driver-dashboard-wrapper .bs-trigger-upload-btn {
  padding: 6px 14px;
  background: var(--bs-upload-btn-bg);
  border: none;
  color: #ffffff;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: opacity 0.2s ease;
  box-shadow: none;
}

.bs-driver-dashboard-wrapper .bs-trigger-upload-btn:hover {
  opacity: 0.85;
}

.bs-driver-dashboard-wrapper .upload-filename-status {
  font-size: 13px;
  color: var(--bs-text-muted);
}

/* Document Status Badges */
.bs-driver-dashboard-wrapper .bs-doc-status-badge {
  font-weight: 700;
  margin-left: 8px;
  font-size: 12px;
}

.bs-driver-dashboard-wrapper .bs-doc-status-badge.bs-doc-approved {
  color: var(--bs-success);
}

.bs-driver-dashboard-wrapper .bs-doc-status-badge.bs-doc-expired,
.bs-driver-dashboard-wrapper .bs-doc-status-badge.bs-doc-rejected {
  color: var(--bs-danger);
}

.bs-driver-dashboard-wrapper .bs-doc-status-badge.bs-doc-pending {
  color: var(--bs-warning);
}

/* Compliance helper text */
.bs-driver-dashboard-wrapper .bs-compliance-helper {
  color: var(--bs-text-muted);
  font-size: 12px;
  margin-bottom: 16px;
  font-style: italic;
}

/* Profile form submit button at bottom (hidden when in modal as modal footer has the button) */
.bs-driver-dashboard-wrapper .bs-profile-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.bs-driver-dashboard-wrapper .bs-profile-form-actions .submit-btn {
  padding: 12px 30px !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  cursor: pointer;
  font-size: 15px !important;
  min-width: 200px;
  background: linear-gradient(90deg, rgb(250, 204, 21), rgb(245, 158, 11)) !important;
  color: rgb(10, 10, 10) !important;
  border: none !important;
  box-shadow: none !important;
  width: auto !important;
  margin-top: 0 !important;
  transition: opacity 0.2s ease !important;
}

.bs-driver-dashboard-wrapper .bs-profile-form-actions .submit-btn:hover,
.bs-driver-dashboard-wrapper .bs-profile-form-actions .submit-btn:focus {
  background: linear-gradient(90deg, rgb(250, 204, 21), rgb(245, 158, 11)) !important;
  color: rgb(10, 10, 10) !important;
  border: none !important;
  opacity: 0.9 !important;
}

.bs-driver-dashboard-wrapper .bs-profile-modal-container .bs-profile-form-actions {
  display: none !important;
}

.bs-driver-dashboard-wrapper .bs-password-field-container {
  position: relative;
  width: 100%;
}

.bs-driver-dashboard-wrapper .bs-password-toggle-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.bs-driver-dashboard-wrapper .bs-password-toggle-svg {
  width: 20px;
  height: 20px;
  stroke: var(--bs-text-muted) !important;
  fill: none;
  transition: opacity 0.2s ease;
}

.bs-driver-dashboard-wrapper .bs-password-toggle-icon:hover .bs-password-toggle-svg {
  opacity: 0.7;
}

/* ============================================================
   DRIVER DASHBOARD — Responsive
   ============================================================ */

/* Tablet */
@media (max-width: 768px) {
  .bs-driver-dashboard-wrapper .bs-dashboard-container {
    padding: 16px;
  }

  .bs-driver-dashboard-wrapper .bs-dashboard-header-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .bs-driver-dashboard-wrapper .bs-dashboard-header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .bs-driver-dashboard-wrapper .bs-dashboard-summary-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .bs-driver-dashboard-wrapper .bs-summary-card {
    padding: 14px 10px;
  }

  .bs-driver-dashboard-wrapper .bs-summary-count {
    font-size: 26px;
  }

  .bs-driver-dashboard-wrapper .bs-dashboard-tabs-nav {
    gap: 6px;
  }

  .bs-driver-dashboard-wrapper .bs-dashboard-tab-btn {
    padding: 16px 14px !important;
    font-size: 12px !important;
  }

  .bs-driver-dashboard-wrapper .driver-booking-grid {
    grid-template-columns: 1fr;
  }

  .bs-driver-dashboard-wrapper .bs-dashboard-booking-card {
    padding: 18px;
  }

  .bs-driver-dashboard-wrapper .bs-dashboard-booking-card.bs-available-card {
    flex-direction: column;
    align-items: stretch;
  }

  .bs-driver-dashboard-wrapper .bs-dashboard-booking-action {
    align-items: stretch;
    text-align: left;
    flex-direction: row;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--bs-border-subtle);
  }

  .bs-driver-dashboard-wrapper .bs-driver-profile-form .split-fields {
    flex-direction: column;
    gap: 0;
  }

  .bs-driver-dashboard-wrapper .bs-profile-modal-container {
    width: 95vw;
    max-height: 95vh;
  }

  .bs-driver-dashboard-wrapper .bs-profile-modal-body {
    padding: 16px;
  }
}

/* Mobile */
@media (max-width: 550px) {
  .bs-driver-dashboard-wrapper .bs-dashboard-container {
    padding: 12px;
  }

  .bs-driver-dashboard-wrapper .bs-dashboard-header-card {
    padding: 16px;
  }

  .bs-driver-dashboard-wrapper .bs-dashboard-welcome-title {
    font-size: 18px;
  }

  .bs-driver-dashboard-wrapper .bs-dashboard-summary-cards {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .bs-driver-dashboard-wrapper .bs-summary-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 14px 16px;
  }

  .bs-driver-dashboard-wrapper .bs-summary-label {
    margin-bottom: 0;
  }

  .bs-driver-dashboard-wrapper .bs-summary-count {
    font-size: 24px;
  }

  .bs-driver-dashboard-wrapper .bs-dashboard-tabs-nav {
    flex-direction: column;
    gap: 6px;
  }

  .bs-driver-dashboard-wrapper .bs-dashboard-tab-btn {
    width: 100% !important;
    text-align: center !important;
  }

  .bs-driver-dashboard-wrapper .bs-dashboard-booking-card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .bs-driver-dashboard-wrapper .bs-dashboard-empty-state {
    padding: 24px 16px;
  }

  /* History table → card layout on mobile */
  .bs-driver-dashboard-wrapper .bs-dashboard-table-wrapper {
    background: transparent;
    border: none;
    overflow: visible;
  }

  .bs-driver-dashboard-wrapper .bs-dashboard-table {
    display: block;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .bs-driver-dashboard-wrapper .bs-dashboard-table thead {
    display: none;
  }

  .bs-driver-dashboard-wrapper .bs-dashboard-table tbody {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .bs-driver-dashboard-wrapper .bs-dashboard-table tbody tr {
    display: flex;
    flex-direction: column;
    background: var(--bs-bg-card);
    border: 1px solid var(--bs-border);
    border-radius: 8px;
    padding: 14px 16px;
    gap: 6px;
  }

  .bs-driver-dashboard-wrapper .bs-dashboard-table tbody tr:hover {
    border-color: var(--bs-border-hover);
  }

  .bs-driver-dashboard-wrapper .bs-dashboard-table td {
    padding: 2px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
  }

  .bs-driver-dashboard-wrapper .bs-dashboard-table td::before {
    content: attr(data-label);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--bs-text-muted);
    min-width: 70px;
    flex-shrink: 0;
  }

  .bs-driver-dashboard-wrapper .bs-dashboard-table td:first-child {
    font-weight: 700;
  }

  .bs-driver-dashboard-wrapper .bs-profile-modal-overlay,
  .bs-profile-modal-overlay {
    padding: 16px 8px !important;
  }

  .bs-driver-dashboard-wrapper .bs-profile-modal-container,
  .bs-profile-modal-container {
    width: 100%;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    border-radius: 8px;
    margin: auto;
  }

  .bs-driver-dashboard-wrapper .bs-profile-modal-body {
    padding: 12px;
  }

  .bs-driver-dashboard-wrapper .bs-profile-modal-footer {
    flex-direction: column;
  }

  .bs-driver-dashboard-wrapper .upload-action-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .bs-driver-dashboard-wrapper .bs-dashboard-booking-action {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Small mobile */
@media (max-width: 375px) {
  .bs-driver-dashboard-wrapper .bs-dashboard-container {
    padding: 8px;
  }

  .bs-driver-dashboard-wrapper .bs-dashboard-header-card {
    padding: 12px;
  }

  .bs-driver-dashboard-wrapper .bs-dashboard-header-actions {
    gap: 6px;
  }

  .bs-driver-dashboard-wrapper .bs-dashboard-booking-card {
    padding: 14px;
  }
}

/* ============================================================
   DRIVER AUTHENTICATION — Login, Register, Forgot Password
   ============================================================ */

.bs-driver-landing-wrapper {
  --bs-bg-card: rgba(255, 255, 255, 0.06);
  box-sizing: border-box;
  width: 100%;
  padding: 40px 16px;
  font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #ffffff;
}

.bs-driver-landing-wrapper *,
.bs-driver-landing-wrapper *::before,
.bs-driver-landing-wrapper *::after {
  box-sizing: border-box;
}

.bs-driver-landing-wrapper .bs-driver-auth-container {
  width: 100%;
  margin: 0 auto;
}

/* Card Container */
.bs-driver-landing-wrapper .bs-driver-auth-card {
  background: rgba(30, 39, 46, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  box-shadow: none !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin: 0 auto;
}

.bs-driver-landing-wrapper #bs-driver-login-box.bs-driver-auth-card,
.bs-driver-landing-wrapper #bs-driver-forgot-box.bs-driver-auth-card {
  max-width: 500px;
  padding: 36px 32px;
}

.bs-driver-landing-wrapper #bs-driver-register-box.bs-driver-auth-card {
  max-width: 860px;
  padding: 40px 36px;
}

/* Header & Typography */
.bs-driver-landing-wrapper .bs-driver-auth-header {
  margin-bottom: 26px;
  text-align: left;
}

.bs-driver-landing-wrapper .bs-auth-title {
  color: #ffffff !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  margin: 0 0 6px 0 !important;
  padding: 0 !important;
  border: none !important;
  line-height: 1.3 !important;
}

.bs-driver-landing-wrapper .bs-auth-subtitle {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 14px !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}

/* Top Navigation Link (Register Screen) */
.bs-driver-landing-wrapper .bs-driver-auth-top-nav {
  margin-bottom: 18px;
}

.bs-driver-landing-wrapper .bs-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #efa186 !important;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  transition: color 0.2s ease;
  cursor: pointer;
}

.bs-driver-landing-wrapper .bs-back-link:hover {
  color: #f6925f !important;
  text-decoration: underline !important;
}

.bs-driver-landing-wrapper .bs-back-arrow {
  font-size: 16px;
  line-height: 1;
}

/* Section Headings in Registration */
.bs-driver-landing-wrapper .bs-form-section {
  margin-bottom: 30px;
}

.bs-driver-landing-wrapper .bs-section-title {
  color: #efa186 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding-bottom: 8px !important;
  margin: 0 0 16px 0 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.bs-driver-landing-wrapper .bs-section-helper {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 12px !important;
  margin: -8px 0 16px 0 !important;
  font-style: italic !important;
  line-height: 1.4 !important;
}

/* Form Fields & Grid */
.bs-driver-landing-wrapper .full-field {
  margin-bottom: 18px;
}

.bs-driver-landing-wrapper .split-fields {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
}

.bs-driver-landing-wrapper .half-field {
  flex: 1;
  min-width: 0;
}

.bs-driver-landing-wrapper .bs-sub-field {
  margin-top: 12px;
}

.bs-driver-landing-wrapper .bs-form-label {
  display: block;
  color: #ffffff;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.bs-driver-landing-wrapper .bs-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.bs-driver-landing-wrapper .bs-label-row .bs-form-label {
  margin-bottom: 0;
}

.bs-driver-landing-wrapper .bs-forgot-link {
  color: #efa186 !important;
  font-size: 13px;
  text-decoration: none !important;
  cursor: pointer;
  transition: color 0.2s ease;
}

.bs-driver-landing-wrapper .bs-forgot-link:hover {
  color: #f6925f !important;
  text-decoration: underline !important;
}

/* Input Fields & Selects */
.bs-driver-landing-wrapper .bs-form-input,
.bs-driver-landing-wrapper .bs-form-select,
.bs-driver-landing-wrapper input[type="text"],
.bs-driver-landing-wrapper input[type="email"],
.bs-driver-landing-wrapper input[type="password"],
.bs-driver-landing-wrapper input[type="tel"],
.bs-driver-landing-wrapper select {
  width: 100%;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--bs-bg-card) !important;
  color: #ffffff !important;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: none !important;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.bs-driver-landing-wrapper .bs-form-input:focus,
.bs-driver-landing-wrapper .bs-form-select:focus,
.bs-driver-landing-wrapper input[type="text"]:focus,
.bs-driver-landing-wrapper input[type="email"]:focus,
.bs-driver-landing-wrapper input[type="password"]:focus,
.bs-driver-landing-wrapper input[type="tel"]:focus,
.bs-driver-landing-wrapper select:focus {
  outline: none;
  border-color: #efa186 !important;
  box-shadow: none !important;
}

.bs-driver-landing-wrapper .bs-form-input::placeholder,
.bs-driver-landing-wrapper input::placeholder {
  color: rgba(255, 255, 255, 0.45) !important;
}

.bs-driver-landing-wrapper select option {
  background: #1e272e;
  color: #ffffff;
}

/* Password Toggle Icon */
.bs-driver-landing-wrapper .bs-password-field-container {
  position: relative;
  width: 100%;
}

.bs-driver-landing-wrapper .bs-password-field-container .bs-password-input {
  padding-right: 44px !important;
}

.bs-driver-landing-wrapper .bs-password-toggle-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding: 4px;
}

.bs-driver-landing-wrapper .bs-password-toggle-svg {
  width: 20px;
  height: 20px;
  stroke: rgba(255, 255, 255, 0.6) !important;
  fill: none;
  transition: stroke 0.2s ease;
}

.bs-driver-landing-wrapper .bs-password-toggle-icon:hover .bs-password-toggle-svg {
  stroke: #ffffff !important;
}

/* OTP Input */
.bs-driver-landing-wrapper .bs-otp-field-container {
  text-align: center;
}

.bs-driver-landing-wrapper .bs-otp-input {
  letter-spacing: 6px;
  font-size: 22px !important;
  font-weight: 700 !important;
  text-align: center;
  max-width: 240px;
  margin: 0 auto;
  display: block;
}

/* File Upload Blocks */
.bs-driver-landing-wrapper .file-upload-block {
  margin-bottom: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  box-shadow: none !important;
  transition: border-color 0.2s ease;
}

.bs-driver-landing-wrapper .file-upload-block .bs-form-label,
.bs-driver-landing-wrapper .file-upload-block label {
  display: block;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 13px;
}

.bs-driver-landing-wrapper .bs-upload-helper {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  display: block;
  margin-bottom: 10px;
  font-style: italic;
  line-height: 1.4;
}

.bs-driver-landing-wrapper .upload-action-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.bs-driver-landing-wrapper .bs-trigger-upload-btn {
  padding: 7px 16px !important;
  background-color: #efa186 !important;
  border: 1px solid #efa186 !important;
  color: #ffffff !important;
  border-radius: 4px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer;
  box-shadow: none !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
}

.bs-driver-landing-wrapper .bs-trigger-upload-btn:hover {
  background-color: #ffffff !important;
  border-color: #ffffff !important;
  color: #f6925f !important;
}

.bs-driver-landing-wrapper .upload-filename-status {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

/* Primary & Secondary Buttons */
.bs-driver-landing-wrapper .bs-auth-btn-row {
  margin-top: 24px;
}

.bs-driver-landing-wrapper .submit-btn.bs-auth-submit-btn,
.bs-driver-landing-wrapper .bs-auth-submit-btn {
  width: 100% !important;
  padding: 12px 24px !important;
  background-color: #efa186 !important;
  color: #ffffff !important;
  border: 1px solid #efa186 !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  cursor: pointer;
  box-shadow: none !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
  text-align: center;
  display: block;
}

.bs-driver-landing-wrapper .submit-btn.bs-auth-submit-btn:hover,
.bs-driver-landing-wrapper .bs-auth-submit-btn:hover {
  background-color: #ffffff !important;
  color: #f6925f !important;
  border-color: #ffffff !important;
}

.bs-driver-landing-wrapper .bs-secondary-btn {
  flex: 1;
  padding: 12px 20px !important;
  background-color: transparent !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  cursor: pointer;
  box-shadow: none !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
  text-align: center;
}

.bs-driver-landing-wrapper .bs-secondary-btn:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  color: #ffffff !important;
}

.bs-driver-landing-wrapper .forgot-action-buttons {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.bs-driver-landing-wrapper .forgot-action-buttons .bs-auth-submit-btn {
  flex: 1;
}

/* Switcher Footer (Login → Register) */
.bs-driver-landing-wrapper .bs-auth-switch-footer {
  text-align: center;
  margin-top: 22px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.bs-driver-landing-wrapper .bs-driver-to-register-link,
.bs-driver-landing-wrapper .bs-driver-to-login-link {
  color: #efa186 !important;
  font-weight: 500;
  text-decoration: underline !important;
  cursor: pointer;
  transition: color 0.2s ease;
}

.bs-driver-landing-wrapper .bs-driver-to-register-link:hover,
.bs-driver-landing-wrapper .bs-driver-to-login-link:hover {
  color: #f6925f !important;
}

/* Messages */
.bs-driver-landing-wrapper .bs-error-msg {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #ef4444;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.4;
}

.bs-driver-landing-wrapper .bs-success-msg {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #22c55e;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.4;
}

/* ============================================================
   DRIVER AUTHENTICATION — Responsive Media Queries
   ============================================================ */
@media (max-width: 768px) {
  .bs-driver-landing-wrapper {
    padding: 24px 12px;
  }

  .bs-driver-landing-wrapper #bs-driver-login-box.bs-driver-auth-card,
  .bs-driver-landing-wrapper #bs-driver-forgot-box.bs-driver-auth-card {
    padding: 28px 20px;
  }

  .bs-driver-landing-wrapper #bs-driver-register-box.bs-driver-auth-card {
    padding: 28px 20px;
  }

  .bs-driver-landing-wrapper .split-fields {
    flex-direction: column;
    gap: 0;
  }

  .bs-driver-landing-wrapper .half-field {
    margin-bottom: 18px;
  }
}

@media (max-width: 550px) {
  .bs-driver-landing-wrapper {
    padding: 16px 8px;
  }

  .bs-driver-landing-wrapper #bs-driver-login-box.bs-driver-auth-card,
  .bs-driver-landing-wrapper #bs-driver-forgot-box.bs-driver-auth-card,
  .bs-driver-landing-wrapper #bs-driver-register-box.bs-driver-auth-card {
    padding: 22px 16px;
    border-radius: 8px;
  }

  .bs-driver-landing-wrapper .bs-auth-title {
    font-size: 20px !important;
  }

  .bs-driver-landing-wrapper .forgot-action-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .bs-driver-landing-wrapper .upload-action-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .bs-driver-landing-wrapper .bs-trigger-upload-btn {
    width: 100%;
    text-align: center;
  }

  .bs-driver-landing-wrapper .bs-otp-input {
    max-width: 100%;
  }
}
.space-top{
  margin-top: 20px;
}