﻿.taxi-booking-root {
  --accent: #0d47a1;
  --accent-dark: #09346a;
  --card-bg: #fff;
  --muted: #6b7280;
  --btn: #ff8c00;
  --radius: 10px;
  --border: rgba(11, 22, 40, 0.18);
  --field-shadow: rgba(13, 71, 161, 0.18);
  --page-bg: linear-gradient(135deg, #eff5ff 0%, #fdf2e6 100%);
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

.taxi-booking-root {
  background: var(--page-bg);
}

.taxi-booking-root .form-container {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: 0 20px 45px rgba(10, 30, 60, 0.12);
  padding: 10px 10px;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(13, 71, 161, 0.05);
}

/* Tabs */
.taxi-booking-root .tabs {
  display: flex;
  background: rgba(13, 71, 161, 0.08);
  border-radius: 10px;
  overflow: hidden;
  flex-wrap: nowrap;
  gap: 1px;
}

@media (min-width: 768px) {
  .taxi-booking-root .form-container {
    padding: 15px 15px;
    border-radius: 14px;
  }
}

.taxi-booking-root .tab {
  flex: 1;
  text-align: center;
  padding: 8px 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  user-select: none;
  transition: background 0.2s, font-size 0.2s;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  letter-spacing: 0.01em;
}

.taxi-booking-root .tab:last-child {
  border-right: none;
}

.taxi-booking-root .tab.active {
  background: var(--accent);
  color: #fff;
  font-size: 14px;
}

/* Form area */
.taxi-booking-root .form-area {
  padding: 0 0;
  padding-top: 12px;
  min-height: 1px;
}

.taxi-booking-root .booking-form {
  margin: 0;
  position: relative;
}

.taxi-booking-root .stepper-indicator {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  counter-reset: step;
  justify-content: space-between;
}

.taxi-booking-root .stepper-indicator li {
  flex: 1;
  padding: 6px 4px;
  background: transparent;
  color: #0f172a;
  border: none;
  border-bottom: 2px solid transparent;
  font-weight: 600;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  min-height: 32px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.taxi-booking-root .stepper-indicator li::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  border: 2px solid #dbeafe;
  color: #0f172a;
  font-weight: 700;
  font-size: 12px;
}

.taxi-booking-root .stepper-indicator li.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.taxi-booking-root .stepper-indicator li.is-active::before {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.taxi-booking-root .stepper-indicator li:hover {
  color: var(--accent);
  border-bottom-color: rgba(13, 71, 161, 0.35);
}

.taxi-booking-root .stepper-indicator li:focus-visible {
  outline: 2px dashed var(--accent);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .taxi-booking-root .stepper-indicator {
    gap: 6px;
  }
  .taxi-booking-root .stepper-indicator li {
    padding: 6px 4px;
    font-size: 11px;
    min-height: 30px;
  }
  .taxi-booking-root .stepper-indicator li::before {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }
}

/* ROW & COL SETTINGS */
.taxi-booking-root .row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: unset;
  margin-top: 12px;
}

.taxi-booking-root .col {
  flex: 1;
  min-width: 120px;
}

/* Make contact rows consistent when three fields are present */
.taxi-booking-root .step-pane[data-step="2"] .row .col {
  flex: 1 1 48%;
  min-width: 220px;
}
.taxi-booking-root .step-pane[data-step="2"] input[type="email"],
.taxi-booking-root .step-pane[data-step="2"] input[type="text"],
.taxi-booking-root .step-pane[data-step="2"] input[type="tel"] {
  width: 100%;
}

.taxi-booking-root .booking-form[data-form="outstation"] .row .col {
  flex: 0 1 calc(50% - 6px);
}

.taxi-booking-root
  .booking-form[data-form="outstation"]
  .row.route-steps-row
  .col {
  flex: 0 1 calc(50% - 6px);
}

.taxi-booking-root
  .booking-form[data-form="outstation"]
  .row.route-steps-list-row
  .col {
  flex: 0 1 100%;
}

@media (max-width: 640px) {
  .booking-form[data-form="outstation"] .row .col,
  .taxi-booking-root .booking-form[data-form="outstation"] .route-steps-header {
    flex-basis: 100%;
  }
}

.taxi-booking-root label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4px;
  font-weight: bold;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="datetime-local"],
input[type="number"],
select,
.taxi-booking-root textarea {
  width: 100%;
  padding: 10px;
  border-radius: 25px;
  border: 1px solid var(--border);
  box-sizing: border-box;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.step-actions {
  text-align: center;
}

input[disabled],
input[aria-disabled="true"] {
  background: #f4f6fb;
  color: #6b7280;
  cursor: not-allowed;
}

input:focus,
select:focus,
.taxi-booking-root textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--field-shadow);
}

/* Mobile-friendly datetime placeholders */
.tbtf-datetime-field {
  position: relative;
  width: 100%;
}

@media (max-width: 768px) {
  .tbtf-datetime-field::after {
    content: attr(data-placeholder);
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 12px;
    pointer-events: none;
    transition: opacity 0.15s ease;
  }

  .tbtf-datetime-field.is-active::after,
  .tbtf-datetime-field.is-filled::after {
    opacity: 0;
  }
}

/* Icon affordances for text-like inputs (exclude selects/datetime/number) */
.taxi-booking-root input[type="text"]:not([type="datetime-local"]),
.taxi-booking-root input[type="email"],
.taxi-booking-root input[type="tel"] {
  background-repeat: no-repeat;
  background-position: calc(100% - 14px) 50%;
  background-size: 18px;
  padding-right: 46px;
}

.taxi-booking-root input[name="customerName"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%230d47a1' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M5 19c1.6-2.4 4.1-3.8 7-3.8s5.4 1.4 7 3.8'/%3E%3C/svg%3E");
}

.taxi-booking-root input[name="mobileNumber"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%230d47a1' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Cpath d='M7 3h10a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z'/%3E%3Cpath d='M9 4.5h6'/%3E%3Ccircle cx='12' cy='18' r='0.9'/%3E%3C/svg%3E");
}

.taxi-booking-root input[name="customerEmail"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%230d47a1' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1z'/%3E%3Cpath d='M4 7l8 6 8-6'/%3E%3C/svg%3E");
}

.taxi-booking-root input[name="pickupLocation"],
.taxi-booking-root input[name="dropLocation"],
.taxi-booking-root input[name="location"],
.taxi-booking-root [data-stop-location] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%230d47a1' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Cpath d='M12 3a6 6 0 0 0-6 6c0 4 6 12 6 12s6-8 6-12a6 6 0 0 0-6-6z'/%3E%3Ccircle cx='12' cy='9' r='2.4'/%3E%3C/svg%3E");
}

.taxi-booking-root input[type="text"]:not([name]):not([type="datetime-local"]) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%230d47a1' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Cpath d='M4 20h16'/%3E%3Cpath d='M6 16l10.5-10.5a1.7 1.7 0 0 1 2.4 0l1.6 1.6a1.7 1.7 0 0 1 0 2.4L10 20H6v-4z'/%3E%3C/svg%3E");
}

.taxi-booking-root textarea {
  resize: none;
  min-height: 70px;
}

.taxi-booking-root .field {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.taxi-booking-root .field-icon {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  pointer-events: none;
  z-index: 2;
}

.taxi-booking-root .field-icon svg {
  width: 20px;
  height: 20px;
}

.taxi-booking-root .vehicle-restriction-message {
  margin-top: 6px;
  font-size: 12px;
  color: #b71c1c;
  text-align: left;
}

.taxi-booking-root .quote-reference {
  margin-top: 8px;
  text-align: center;
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}

.taxi-booking-root .quote-reference[hidden] {
  display: none !important;
}

.taxi-booking-root .field-input {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  padding: 10px 64px 10px 10px;
}

.taxi-booking-root select.field-input {
  padding: 10px 64px 10px 10px;
}

.taxi-booking-root .btn {
  padding: 12px 18px;
  border-radius: 12px;
  text-align: center;
  background: var(--btn);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  border: none;
  margin-top: 12px;
  transition: background 0.25s ease, transform 0.12s ease, box-shadow 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.01em;
}

.taxi-booking-root .btn:hover {
  background: #ff7200;
  box-shadow: 0 10px 20px rgba(255, 140, 0, 0.25);
}

.taxi-booking-root .btn:active {
  transform: translateY(1px);
}

.taxi-booking-root .btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.taxi-booking-root .btn.secondary {
  background: rgba(13, 71, 161, 0.1);
  color: var(--accent);
}

.taxi-booking-root .btn.secondary:hover {
  background: rgba(13, 71, 161, 0.18);
}

.taxi-booking-root .btn.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #0b3990 100%);
  box-shadow: 0 12px 24px rgba(13, 71, 161, 0.25);
}

.taxi-booking-root .btn.btn-primary:hover {
  background: linear-gradient(135deg, #0e4fb6 0%, #0a3575 100%);
}

.taxi-booking-root .btn.btn-accent {
  background: linear-gradient(135deg, #ff8c00 0%, #ff6200 100%);
  box-shadow: 0 12px 24px rgba(255, 140, 0, 0.35);
}

.taxi-booking-root .btn.btn-accent:hover {
  background: linear-gradient(135deg, #ff9e25 0%, #ff6f12 100%);
}

.taxi-booking-root .btn.btn-ghost {
  background: rgba(13, 71, 161, 0.08);
  color: var(--accent);
  border: 1px dashed rgba(13, 71, 161, 0.3);
  box-shadow: none;
}

.taxi-booking-root .btn.btn-ghost:hover {
  background: rgba(13, 71, 161, 0.14);
  border-color: rgba(13, 71, 161, 0.45);
}

.taxi-booking-root .form-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 12px;
  justify-content: flex-end;
  align-items: center;
}

.taxi-booking-root .form-actions .btn {
  flex: 0 0 auto;
  min-width: auto;
  margin-top: 0;
  padding: 10px 14px;
}

@media (max-width: 640px) {
  .taxi-booking-root .form-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 6px;
    justify-content: flex-end;
  }

  .taxi-booking-root .form-actions .btn {
    width: auto;
    max-width: none;
    padding: 9px 12px;
  }
}

.taxi-booking-root .radio-row {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 10px;
  font-size: 14px;
}

.taxi-booking-root .checkbox-container {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.taxi-booking-root .checkbox-container label {
  font-size: 13px;
  color: var(--muted);
}

.taxi-booking-root .link-button {
  background: none;
  border: none;
  padding: 0;
  color: var(--btn);
  text-decoration: none;
  font: inherit;
  cursor: pointer;
}

.link-button:hover,
.taxi-booking-root .link-button:focus {
  text-decoration: underline;
}

.taxi-booking-root .price-summary {
  margin-top: 12px;
  padding: 12px 12px;
  padding-top: 0;
  border-radius: 0px;
  border: 1px solid rgba(13, 71, 161, 0.12);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(236, 244, 255, 0.95) 100%
  );
  box-shadow: 0 18px 35px rgba(13, 71, 161, 0.12);
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease,
    background 0.3s ease;
  outline: none;
}

.taxi-booking-root .price-summary.is-placeholder {
  background: rgba(13, 71, 161, 0.05);
  box-shadow: none;
  padding: 10px 10px;
  border-radius: 0px;
}

.taxi-booking-root .price-summary.is-loading {
  background: linear-gradient(
    145deg,
    rgba(239, 247, 255, 0.96) 0%,
    rgba(255, 250, 244, 0.96) 100%
  );
  border-color: rgba(13, 71, 161, 0.18);
}

.taxi-booking-root .price-summary.is-ready {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(242, 252, 255, 0.95) 100%
  );
}

.taxi-booking-root .price-summary.is-error {
  border-color: rgba(220, 53, 69, 0.35);
  background: rgba(255, 245, 247, 0.95);
  box-shadow: none;
}

.taxi-booking-root .price-summary.is-active {
  box-shadow: 0 0 0 4px rgba(13, 71, 161, 0.16),
    0 20px 50px rgba(13, 71, 161, 0.2);
  transform: translateY(-2px);
}

.taxi-booking-root .price-summary .price-placeholder {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.45;
}

.taxi-booking-root .price-summary .price-placeholder__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex: 0 0 auto;
  margin-top: 2px;
}

.taxi-booking-root .price-summary .price-placeholder__icon svg {
  width: 18px;
  height: 18px;
}

.taxi-booking-root .price-summary .price-placeholder__text {
  flex: 1 1 auto;
}

.taxi-booking-root .price-summary .loading {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
}

.taxi-booking-root .price-summary .spinner-ring {
  position: relative;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.taxi-booking-root .price-summary .spinner-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(13, 71, 161, 0.16);
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}

.taxi-booking-root .price-summary .spinner-ring::after {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(13, 71, 161, 0.18);
}

.taxi-booking-root .price-summary .loading-text strong {
  display: block;
  font-size: 15px;
  color: var(--accent);
}

.taxi-booking-root .price-summary .loading-text span {
  display: block;
  font-size: 13px;
  margin-top: 2px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.taxi-booking-root .price-summary .price-breakdown {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.taxi-booking-root .price-summary .price-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(13, 71, 161, 0.08);
}

.taxi-booking-root .price-summary .price-line:first-child {
  padding-top: 4px;
}

.taxi-booking-root .price-summary .price-line:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.taxi-booking-root .price-summary .price-line-label {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  font-weight: 600;
  font-size: 13.5px;
  color: #0c1a32;
  min-width: 0;
  text-wrap: balance;
}

.taxi-booking-root .price-summary .price-line-title {
  display: inline;
}

.taxi-booking-root .price-summary .price-line-detail {
  display: inline;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  text-wrap: balance;
}

.taxi-booking-root .price-summary .price-line-value {
  font-weight: 600;
  font-size: 13.5px;
  color: #0c1a32;
  text-align: right;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.taxi-booking-root .price-summary .price-line--highlight {
  border: 1px solid rgba(13, 71, 161, 0.2);
  border-radius: 12px;
  background: rgba(13, 71, 161, 0.06);
  padding: 12px;
  margin-top: 4px;
  margin-bottom: 4px;
  border-bottom: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.taxi-booking-root .price-summary .price-line--highlight + .price-line {
  border-top: none;
}

.taxi-booking-root .price-summary .price-line--highlight .price-line-title {
  color: var(--accent);
}

.taxi-booking-root .price-summary .price-line--highlight .price-line-value {
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
}

.taxi-booking-root .price-summary .price-line--total {
  border-top: 1px solid rgba(13, 71, 161, 0.28);
  margin-top: 4px;
  padding-top: 14px;
  border-bottom: none;
}

.taxi-booking-root .price-summary .price-line--total .price-line-label {
  color: var(--accent);
  font-weight: 700;
}

.taxi-booking-root .price-summary .price-line--total .price-line-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

@media (max-width: 560px) {
  .taxi-booking-root .price-summary .price-line {
    grid-template-columns: minmax(0, 1fr) minmax(0, 120px);
  }

  .taxi-booking-root .price-summary .price-line-value {
    white-space: normal;
  }
}

.taxi-booking-root .price-summary .price-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.taxi-booking-root .autocomplete-panel {
  position: relative;
}

.taxi-booking-root .autocomplete-panel .autocomplete-list {
  position: absolute;
  z-index: 999;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  display: none;
  max-height: 220px;
  overflow-y: auto;
  border: 1px solid rgba(13, 71, 161, 0.2);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(13, 71, 161, 0.18);
  padding: 6px 0;
}

.taxi-booking-root .autocomplete-panel.is-visible .autocomplete-list {
  display: block;
}

.taxi-booking-root .autocomplete-item {
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
  color: #0c1a32 !important;
  line-height: 1.35;
  transition: background 0.15s ease;
}

.taxi-booking-root .autocomplete-item .autocomplete-primary {
  font-weight: 600;
}

.taxi-booking-root .autocomplete-item .autocomplete-secondary {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.autocomplete-item:hover,
.taxi-booking-root .autocomplete-item.is-active {
  background: rgba(13, 71, 161, 0.08);
}

.taxi-booking-root .autocomplete-empty {
  padding: 8px 14px;
  font-size: 12px;
  color: var(--muted);
}

.taxi-booking-root .route-steps-header {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  height: 100%;
  justify-content: flex-start;
}

.taxi-booking-root .route-steps-field {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  margin-top: 0;
}

.taxi-booking-root .route-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0px 0;
  width: 100%;
}

.taxi-booking-root .route-steps::before {
  content: none;
}

.taxi-booking-root .route-steps-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 38px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0px;
  border: 1px dashed var(--border);
  background: #fff;
  color: var(--accent);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.taxi-booking-root .route-steps-add:hover {
  border-color: var(--accent);
  background: rgba(13, 71, 161, 0.05);
}

.taxi-booking-root .route-steps-add:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--field-shadow);
}

.taxi-booking-root .route-steps-add:active {
  background: rgba(13, 71, 161, 0.12);
}

/* Vehicle cards */
.vehicle-card-list {
  display: grid;
  gap: 5px;
}

.vehicle-card-list .loader-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px dashed rgba(13, 71, 161, 0.25);
  border-radius: 12px;
  background: rgba(13, 71, 161, 0.04);
  color: var(--muted);
}

.vehicle-card-list .loader-ring {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid rgba(13, 71, 161, 0.18);
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

.vehicle-card-list .loader-copy strong {
  display: block;
  color: #0c1a32;
  font-size: 13px;
  margin-bottom: 2px;
}

.vehicle-card-list .loader-copy span {
  display: block;
  font-size: 12px;
}

.vehicle-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 5px !important;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  margin: unset !important;
}

.vehicle-card:hover {
  border-color: var(--accent);
  box-shadow: 0 16px 32px rgba(13, 71, 161, 0.15);
}

.vehicle-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.vehicle-card__choice {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.vehicle-card__choice input[type="radio"] {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
}

.vehicle-card__name {
  font-weight: 800;
  font-size: 15px;
  color: #0f172a;
}

.vehicle-card__price {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
}

.vehicle-card__sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  align-items: flex-start;
}

.vehicle-card__sections li {
  margin-bottom: unset !important;
}

.vehicle-card__body {
  display: none;
  margin-top: 10px;
  border-top: 1px solid #e5e7eb;
  padding-top: 10px;
}

.vehicle-card.is-active .vehicle-card__body {
  display: block;
}

.vehicle-card__details {
  list-style: disc;
  padding-left: 16px;
  color: #4b5563;
  font-size: 13px;
  display: grid;
  gap: 6px;
}

.vehicle-card__notes {
  color: #4b5563;
  font-size: 13px;
  margin: 8px 0;
}

.vehicle-card__section h5 {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.vehicle-card__section ul {
  padding-left: 16px;
  margin: 0;
  color: #4b5563;
  font-size: 13px;
  display: grid;
  gap: 4px;
  list-style: disc;
}

/* Ensure bullet markers render inside vehicle cards even when theme resets lists */
.taxi-booking-root .vehicle-card__section ul,
.taxi-booking-root .vehicle-card__details {
  list-style: disc !important;
  list-style-position: outside;
  padding-left: 18px !important;
  margin: 0 !important;
}

.taxi-booking-root .vehicle-card__section ul li::marker,
.taxi-booking-root .vehicle-card__details li::marker {
  color: #6b7280;
}

.vehicle-card__actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.vehicle-card__actions .btn {
  min-width: 160px;
}

.vehicle-card.is-active {
  border-color: var(--accent);
  box-shadow: 0 14px 30px rgba(13, 71, 161, 0.18);
}

@media (max-width: 640px) {
  .vehicle-card__header {
    flex-direction: row;
    align-items: flex-start;
  }

  .vehicle-card__price {
    font-size: 15px;
  }

  .vehicle-card__actions {
    justify-content: center;
  }
}

.taxi-booking-root .route-steps-add-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.taxi-booking-root .route-steps-add-icon svg {
  width: 100%;
  height: 100%;
  color: var(--accent);
}

.taxi-booking-root .route-steps-add-text {
  line-height: 1;
}

.taxi-booking-root .route-stop {
  display: flex;
  align-items: center;
  gap: 3px;
  width: 100%;
  cursor: grab;
  padding: 0px 0px;
  border-radius: 0px;
  border: 1px solid rgba(13, 71, 161, 0.1);
  background: #f8fbff;
  box-shadow: inset 0 1px 0 rgba(13, 71, 161, 0.04);
}

.taxi-booking-root .route-stop:active {
  cursor: grabbing;
}

.taxi-booking-root .route-stop.is-dragging {
  opacity: 0.6;
}

.taxi-booking-root .route-stop .autocomplete-panel {
  flex: 1;
  min-width: 0;
}

.taxi-booking-root .route-stop-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(13, 71, 161, 0.45);
  user-select: none;
  padding: 4px;
  flex-shrink: 0;
}

.taxi-booking-root .route-stop-handle svg {
  width: 16px;
  height: 16px;
}

.taxi-booking-root .route-stop-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}

.taxi-booking-root .route-stop [data-stop-remove] {
  align-self: center;
  flex-shrink: 0;
}

.taxi-booking-root .icon-button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  font-size: 16px;
  line-height: 1;
  padding: 0;
}

.taxi-booking-root .icon-button:hover {
  background: rgba(13, 71, 161, 0.08);
}

.taxi-booking-root .icon-button:active {
  background: rgba(13, 71, 161, 0.16);
}

/* Modals */
.taxi-booking-root .modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.taxi-booking-root .modal-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.taxi-booking-root .modal {
  background: linear-gradient(160deg, #ffffff 0%, #f5f8ff 55%, #fdf7f0 100%);
  padding: 26px 28px 24px;
  border-radius: 16px;
  border: 1px solid rgba(13, 71, 161, 0.08);
  min-width: 280px;
  max-width: min(520px, 92%);
  max-height: 82vh;
  overflow-y: auto;
  box-shadow: 0 26px 60px rgba(12, 32, 68, 0.22);
  text-align: center;
  position: relative;
}

@supports (backdrop-filter: blur(16px)) {
  .taxi-booking-root .modal {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
  }
}

.taxi-booking-root .modal h3 {
  margin: 0 0 12px;
  font-size: 18px;
  color: var(--accent);
}

.taxi-booking-root .modal .message {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

.taxi-booking-root .modal-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.taxi-booking-root .modal-status-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #0a3f8f 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 16px 30px rgba(13, 71, 161, 0.28);
}

.taxi-booking-root .modal-message h3 {
  margin: 0;
  font-size: 20px;
  color: #0b3575;
  letter-spacing: 0.01em;
}

.taxi-booking-root .modal-message p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

.taxi-booking-root .modal-message__cta {
  font-weight: 600;
  color: #0b3575;
}

.taxi-booking-root .modal-message a {
  color: var(--accent);
  text-decoration: none;
}

.taxi-booking-root .modal-message a:hover {
  text-decoration: underline;
}

.taxi-booking-root .modal .btn {
  width: auto;
  min-width: 120px;
  padding: 10px 18px;
  margin-top: 0;
}

.taxi-booking-root .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
}

.taxi-booking-root .modal-actions .btn {
  min-width: 140px;
}

@media (max-width: 480px) {
  .taxi-booking-root .modal {
    padding: 24px 20px 20px;
  }
  .taxi-booking-root .modal-actions {
    flex-wrap: wrap;
  }
  .taxi-booking-root .modal-status-icon {
    width: 56px;
    height: 56px;
    font-size: 26px;
  }
}

.taxi-booking-root .terms-content {
  text-align: left;
  max-height: 260px;
  overflow-y: auto;
  margin: 12px 0;
  font-size: 13px;
  color: var(--muted);
  padding-right: 6px;
}

.taxi-booking-root .terms-content ol {
  margin: 0;
  padding-left: 18px;
}

.taxi-booking-root .terms-content li + li {
  margin-top: 8px;
}

.taxi-booking-root .terms-content p {
  margin: 0 0 8px;
}

.taxi-booking-root .is-hidden {
  display: none !important;
}
.taxi-booking-root .step-pane {
  position: relative;
  transition: opacity 0.2s ease, transform 0.2s ease;
  opacity: 1;
  transform: translateY(0);
}

.taxi-booking-root .step-pane.is-hidden {
  display: block !important;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  height: 0;
  overflow: hidden;
}

/* Mobile form rows stack vertically but tabs remain horizontal */
@media (max-width: 768px) {
  .taxi-booking-root .row {
    flex-direction: column;
  }
}

.taxi-booking-root .price-accordion {
  margin-top: 5px;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 5px;
  background-color: #fff;
  overflow: hidden;
}

.taxi-booking-root .accordion-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: none;
  border: 0;
  padding: 5px 12px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text, #1e293b);
  font-size: 14px;
}

.taxi-booking-root .accordion-toggle:focus {
  outline: 2px solid var(--primary, #2563eb);
  outline-offset: 2px;
}

.taxi-booking-root .accordion-toggle .accordion-icon::before {
  content: "\002b";
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.taxi-booking-root .accordion-toggle.is-open .accordion-icon::before {
  content: "\2212";
}

.taxi-booking-root .accordion-panel {
  padding: 5px 12px 0px;
  background-color: #fff;
}

.taxi-booking-root .accordion-panel[hidden] {
  display: none;
}

.taxi-booking-root .accordion-section + .accordion-section {
  margin-top: 12px;
}

.taxi-booking-root .accordion-section h4 {
  margin: 0 0 0px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1em;
  color: var(--text, #1e293b);
}

.taxi-booking-root .accordion-section ul {
  margin: 0;
  padding-left: 18px;
  list-style: disc;
  font-size: 13px;
  color: var(--muted, #475569);
}

.taxi-booking-root .accordion-section ul li {
  display: list-item !important;
}

.taxi-booking-root .accordion-section li + li {
  margin-top: 4px;
}

/* Enforce plugin visuals when host themes apply broad element styles */
body .taxi-booking-root {
  font-family: "Segoe UI", Roboto, Arial, sans-serif !important;
}

body .taxi-booking-root .form-container {
  background: var(--card-bg) !important;
  border-radius: var(--radius) !important;
  box-shadow: 0 20px 45px rgba(10, 30, 60, 0.12) !important;
  border: 1px solid rgba(13, 71, 161, 0.05) !important;
  padding: 10px 10px !important;
}

body .taxi-booking-root .tabs {
  background: rgba(13, 71, 161, 0.08) !important;
  gap: 1px !important;
}

body .taxi-booking-root .tab {
  background: transparent !important;
  color: var(--muted) !important;
  border-right: 1px solid rgba(0, 0, 0, 0.05) !important;
}

body .taxi-booking-root .tab.active {
  background: var(--accent) !important;
  color: #fff !important;
}

body .taxi-booking-root .field-input,
body .taxi-booking-root select.field-input,
body .taxi-booking-root textarea.field-input {
  position: relative !important;
  z-index: 1 !important;
  background: #fff !important;
  border-radius: 25px !important;
  border: 1px solid rgba(13, 71, 161, 0.22) !important;
  padding: 10px 48px 10px 14px !important;
  box-shadow: 0 10px 25px rgba(13, 71, 161, 0.12) !important;
}

body .taxi-booking-root .terms-content ol {
  list-style: decimal !important;
  padding-left: 18px !important;
  margin: 0 !important;
}

body .taxi-booking-root .terms-content ul {
  list-style: disc !important;
  padding-left: 18px !important;
  margin: 0 !important;
}

body .taxi-booking-root .btn {
  border-radius: 28px !important;
  font-weight: 600 !important;
  box-shadow: 0 16px 30px rgba(13, 71, 161, 0.2) !important;
}

body .taxi-booking-root .btn.btn-primary {
  background: #0d47a1 !important;
  color: #fff !important;
}

body .taxi-booking-root .btn.btn-accent {
  background: var(--btn) !important;
  color: #fff !important;
}

body .taxi-booking-root .field-icon {
  position: absolute !important;
  top: 50% !important;
  right: 14px !important;
  transform: translateY(-50%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 2 !important;
}

body .taxi-booking-root .field-icon svg {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  stroke: currentColor !important;
  fill: none !important;
}

body .taxi-booking-root .accordion-section ul {
  list-style: disc !important;
  padding-left: 18px !important;
  margin: 0 !important;
}

body .taxi-booking-root .accordion-toggle .accordion-icon::before {
  font-family: inherit !important;
  font-weight: 600 !important;
}

body .taxi-booking-root .price-summary .price-breakdown {
  gap: 5px !important;
  margin-top: 12px !important;
}

body .taxi-booking-root .price-summary .price-line {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: flex-start !important;
  gap: 0px !important;
  padding: 0px 0 !important;
  border-bottom: 0px solid rgba(13, 71, 161, 0.08) !important;
}

body .taxi-booking-root .price-summary .price-line--highlight {
  border: 1px solid rgba(13, 71, 161, 0.2) !important;
  border-radius: 12px !important;
  background: rgba(13, 71, 161, 0.06) !important;
  padding: 12px !important;
  margin: 4px 0 !important;
  border-bottom: none !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
}

body
  .taxi-booking-root
  .price-summary
  .price-line--highlight
  .price-line-title {
  color: var(--accent) !important;
}

body
  .taxi-booking-root
  .price-summary
  .price-line--highlight
  .price-line-value {
  color: var(--accent) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
}

body .taxi-booking-root .price-summary .price-line-label {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 4px 8px !important;
  font-size: 13.5px !important;
  min-width: 0 !important;
  text-wrap: balance !important;
}

body .taxi-booking-root .price-summary .price-line-detail {
  display: inline !important;
  font-size: 12px !important;
  color: var(--muted) !important;
  font-weight: 500 !important;
}

body .taxi-booking-root .price-summary .price-line-value {
  font-weight: 600 !important;
  font-size: 13.5px !important;
  text-align: right !important;
  white-space: nowrap !important;
  letter-spacing: 0.01em !important;
}

body .taxi-booking-root .price-summary .price-line--total {
  border-top: 0px solid rgba(13, 71, 161, 0.28) !important;
  border-bottom: none !important;
  padding-top: 0px !important;
}

body .taxi-booking-root .price-summary .price-line--total .price-line-label {
  color: var(--accent) !important;
  font-weight: 700 !important;
}

body .taxi-booking-root .price-summary .price-line--total .price-line-value {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--accent) !important;
}

@media (max-width: 560px) {
  body .taxi-booking-root .price-summary .price-line {
    grid-template-columns: minmax(0, 1fr) minmax(0, 120px) !important;
  }

  body .taxi-booking-root .price-summary .price-line-value {
    white-space: normal !important;
  }
}

/* Checkout summary and layout */
.tbtf-thankyou-summary {
  margin: 0 0 18px;
  background: #fff;
  border: 1px solid rgba(13, 71, 161, 0.12);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 12px 30px rgba(12, 32, 68, 0.08);
}

.tbtf-thankyou-summary h2 {
  margin: 0 0 12px;
  font-size: 18px;
  color: #0b3575;
}

.tbtf-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.tbtf-summary-card {
  background: #f8fafc;
  border: 1px solid rgba(13, 71, 161, 0.08);
  border-radius: 12px;
  padding: 12px;
}

.tbtf-summary-card h3 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.tbtf-summary-card ul {
  margin: 0;
  padding-left: 16px;
  color: #4b5563;
  font-size: 13px;
  display: grid;
  gap: 6px;
  list-style: disc;
}

.tbtf-summary-card p {
  margin: 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.5;
}

.tbtf-summary-card.tbtf-summary-payments {
  background: #fff7ec;
  border-color: rgba(255, 140, 0, 0.25);
}

.tbtf-summary-card.tbtf-summary-payments ul {
  list-style: none;
  padding: 0;
}

.tbtf-summary-card.tbtf-summary-payments li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: baseline;
  color: #0f172a;
}

.tbtf-summary-card.tbtf-summary-payments li + li {
  margin-top: 6px;
}

body.tbtf-checkout-layout .woocommerce-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px;
  align-items: start;
}

body.tbtf-checkout-layout .woocommerce-checkout #customer_details {
  grid-column: 1;
  width: 100%;
  background: #fff;
  border: 1px solid rgba(13, 71, 161, 0.12);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 12px 28px rgba(12, 32, 68, 0.08);
}

body.tbtf-checkout-layout .woocommerce-checkout #customer_details .col-1,
body.tbtf-checkout-layout .woocommerce-checkout #customer_details .col-2 {
  float: none;
  width: 100%;
}

body.tbtf-checkout-layout .woocommerce-billing-fields__field-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.tbtf-checkout-layout
  .woocommerce-billing-fields__field-wrapper
  .form-row-wide {
  grid-column: 1 / -1;
}

body.tbtf-checkout-layout
  .woocommerce-billing-fields__field-wrapper
  .form-row-first,
body.tbtf-checkout-layout
  .woocommerce-billing-fields__field-wrapper
  .form-row-last {
  float: none;
  width: auto;
}

body.tbtf-checkout-layout .woocommerce-checkout #order_review_heading,
body.tbtf-checkout-layout .woocommerce-checkout .tbtf-thankyou-summary,
body.tbtf-checkout-layout .woocommerce-checkout #order_review {
  grid-column: 2;
}

body.tbtf-checkout-layout .woocommerce-checkout #order_review_heading {
  margin: 0;
}

body.tbtf-checkout-layout .woocommerce-checkout #order_review {
  background: #fff;
  border: 1px solid rgba(13, 71, 161, 0.12);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 12px 28px rgba(12, 32, 68, 0.08);
}

body.tbtf-checkout-layout .woocommerce-checkout #order_review .shop_table {
  margin: 0 0 12px;
}

body.tbtf-checkout-layout
  .woocommerce-checkout
  .woocommerce-checkout-review-order-table
  td,
body.tbtf-checkout-layout
  .woocommerce-checkout
  .woocommerce-checkout-review-order-table
  th {
  padding: 8px 0;
}

@media (max-width: 960px) {
  body.tbtf-checkout-layout .woocommerce-checkout {
    grid-template-columns: 1fr;
  }

  body.tbtf-checkout-layout .woocommerce-checkout #order_review_heading,
  body.tbtf-checkout-layout .woocommerce-checkout .tbtf-thankyou-summary,
  body.tbtf-checkout-layout .woocommerce-checkout #order_review {
    grid-column: 1;
  }
}

@media (max-width: 640px) {
  body.tbtf-checkout-layout .woocommerce-billing-fields__field-wrapper {
    grid-template-columns: 1fr;
  }
}
