/* Phase 7.8 — wizard layout: single column; map lives inside price pane */

#arBookingFlow:not([data-wiz-mode="price"]),
#arBookingFlow[data-wiz-mode="price"] {
  grid-template-columns: minmax(0, 1fr) !important;
  max-width: 900px;
  width: calc(100% - 32px);
  margin-inline: auto;
  gap: 1.25rem;
}
#arBookingFlow .ar-flow-side,
#arBookingFlow .ar-flow-side-legacy {
  display: none !important;
}
#arBookingFlow[data-wiz-mode="price"] .ar-flow-main {
  max-width: 900px;
  width: 100%;
}
#arBookingFlow[data-wiz-mode="price"] .ar-price-summary-card {
  padding: 1.75rem 1.85rem 1.5rem;
  max-width: 900px;
}

body.airride-form-page,
body.airride-form-page .ar-flow,
body.airride-form-page .ar-card {
  font-size: 16px;
  line-height: 1.5;
}

.ar-wizard-progress {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}
.ar-wiz-step {
  flex: 1 1 0;
  min-width: 5.5rem;
  min-height: 44px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(89, 201, 216, 0.25);
  background: rgba(6, 17, 26, 0.35);
  color: rgba(232, 238, 245, 0.55);
  cursor: pointer;
  text-align: inherit;
}
.ar-wiz-step.is-active {
  color: #e8eef5;
  border-color: rgba(89, 201, 216, 0.85);
  background: rgba(89, 201, 216, 0.12);
  box-shadow: inset 0 0 0 1px rgba(89, 201, 216, 0.35);
}
.ar-wiz-step.is-done {
  color: rgba(232, 238, 245, 0.85);
  border-color: rgba(89, 201, 216, 0.45);
}
.ar-wiz-num {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  color: #59c9d8;
}
.ar-wiz-step.is-active .ar-wiz-num {
  font-size: 1.75rem;
}
.ar-wiz-label {
  font-size: 15px;
  font-weight: 600;
}

.ar-wiz-title,
.ar-card-head h3.ar-wiz-title,
#arOutboundTitle,
#arReturnTitle,
#arPaxTitle,
#arPricePaneTitle {
  margin: 0 0 0.4rem;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: #e8eef5;
  line-height: 1.2;
}
.ar-wiz-subtitle,
.ar-wiz-question,
.ar-card-head p {
  margin: 0 0 1rem;
  font-size: 16px;
  line-height: 1.45;
  color: rgba(232, 238, 245, 0.85);
}
.ar-field > span,
.ar-field label,
label.ar-field > span {
  font-size: 15px !important;
  line-height: 1.4;
}
.ar-flow .form-control,
.ar-flow input.form-control,
.ar-flow select.form-control,
.ar-flow input[type="text"],
.ar-flow select {
  font-size: 16px !important;
  min-height: 44px;
  line-height: 1.35;
}

.ar-leg-panel.is-collapsed .ar-leg-head {
  display: none;
}
.ar-leg-panel.is-collapsed .ar-leg-compact {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(89, 201, 216, 0.28);
  background: rgba(6, 17, 26, 0.3);
}
.ar-route-trail {
  display: flex;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem 0.45rem;
  direction: ltr !important;
  unicode-bidi: isolate;
  color: #e8eef5;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
  text-align: left;
}
.ar-route-trail-host {
  direction: ltr !important;
  unicode-bidi: isolate;
  text-align: left;
}
.ar-route-trail-lg .ar-route-trail,
.ar-route-confirmed .ar-route-trail {
  font-size: 22px;
  font-weight: 800;
}
.ar-route-node {
  display: inline-block;
  unicode-bidi: plaintext;
}
.ar-route-arrow {
  display: inline-flex;
  color: #59c9d8;
  flex: 0 0 auto;
  transform: none !important;
}
.ar-route-arrow svg {
  display: block;
  transform: none !important;
}

.ar-route-confirmed {
  margin: 1rem 0;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(89, 201, 216, 0.55);
  background: rgba(89, 201, 216, 0.1);
}

.ar-optimize-notice {
  margin: 0 0 1rem;
  padding: 1rem 1.15rem;
  max-width: 36rem;
  width: 100%;
  border: 1px solid rgba(89, 201, 216, 0.55);
  background: rgba(12, 28, 42, 0.92);
  color: #e8eef5;
  box-sizing: border-box;
}
.ar-optimize-notice .ar-opt-title,
.ar-optimize-notice strong.ar-opt-title {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
}
.ar-opt-sub {
  margin: 0 0 0.75rem;
  font-size: 16px;
  line-height: 1.4;
  color: rgba(232, 238, 245, 0.82);
}
/* Compact comparison: one panel, shared start edge (no label↔trail gulf in RTL) */
.ar-opt-compare {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  max-width: 34rem;
  width: 100%;
  margin: 0;
  padding: 0.15rem 0;
  border: 1px solid rgba(232, 238, 245, 0.18);
  border-radius: 10px;
  background: rgba(6, 17, 26, 0.4);
  overflow: hidden;
}
.ar-opt-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.3rem;
  margin: 0;
  padding: 0.65rem 0.8rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  width: 100%;
  box-sizing: border-box;
}
.ar-opt-row-rec {
  background: rgba(89, 201, 216, 0.1);
}
.ar-opt-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 1.45rem;
  padding: 0.12rem 0.5rem;
  border-radius: 4px;
  border: 1px solid rgba(232, 238, 245, 0.28);
  background: rgba(6, 17, 26, 0.55);
  color: rgba(232, 238, 245, 0.95);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1.2;
}
.ar-opt-tag-rec {
  border-color: rgba(89, 201, 216, 0.9);
  background: rgba(89, 201, 216, 0.28);
  color: #f7f8f6;
}
.ar-opt-vs {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4rem;
  margin: 0;
  padding: 0.2rem 0.8rem;
  border-top: 1px solid rgba(232, 238, 245, 0.14);
  border-bottom: 1px solid rgba(232, 238, 245, 0.14);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(89, 201, 216, 0.95);
  background: rgba(6, 17, 26, 0.25);
}
.ar-opt-vs::before {
  content: '↓';
  font-size: 13px;
  line-height: 1;
}
/* Trail must shrink to content so LTR text does not jump to the far physical left */
.ar-opt-row .ar-route-trail-host,
.ar-opt-row .ar-route-trail {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 16px !important;
  width: max-content !important;
  max-width: 100% !important;
  align-self: flex-start !important;
  text-align: left !important;
}
.ar-opt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.9rem;
  max-width: 34rem;
}
body.airride-form-page .ar-opt-actions .ar-opt-accept.btn-primary,
body.airride-form-page .ar-opt-actions button.ar-opt-accept,
.ar-opt-actions .ar-opt-accept.btn-primary,
.ar-opt-actions button.ar-opt-accept {
  min-height: 48px !important;
  padding: 0.7rem 1.2rem !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #06111a !important;
  background: #59c9d8 !important;
  border: 1px solid #3db4c4 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  opacity: 1 !important;
  cursor: pointer !important;
}
body.airride-form-page .ar-opt-actions .ar-opt-accept:hover,
body.airride-form-page .ar-opt-actions .ar-opt-accept:focus,
.ar-opt-actions .ar-opt-accept:hover,
.ar-opt-actions .ar-opt-accept:focus {
  background: #7ad7e3 !important;
  color: #06111a !important;
  outline: 2px solid #e8eef5 !important;
  outline-offset: 2px !important;
}
body.airride-form-page .ar-opt-actions .ar-opt-keep,
body.airride-form-page .ar-opt-actions button.ar-opt-keep.btn,
body.airride-form-page button.btn.ar-opt-keep,
.ar-opt-actions .ar-opt-keep,
.ar-opt-actions button.ar-opt-keep,
button.btn.ar-opt-keep {
  min-height: 48px !important;
  padding: 0.7rem 1.2rem !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  background: #101e31 !important;
  border: 1px solid rgba(89, 201, 216, 0.75) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  opacity: 1 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}
body.airride-form-page .ar-opt-actions .ar-opt-keep:hover,
body.airride-form-page .ar-opt-actions .ar-opt-keep:focus,
body.airride-form-page button.btn.ar-opt-keep:hover,
body.airride-form-page button.btn.ar-opt-keep:focus,
.ar-opt-actions .ar-opt-keep:hover,
.ar-opt-actions .ar-opt-keep:focus,
button.btn.ar-opt-keep:hover,
button.btn.ar-opt-keep:focus {
  background: #162845 !important;
  border-color: #59c9d8 !important;
  color: #ffffff !important;
  outline: 2px solid #59c9d8 !important;
  outline-offset: 2px !important;
}
body.airride-form-page .ar-opt-actions .ar-opt-keep[disabled],
body.airride-form-page button.btn.ar-opt-keep[disabled] {
  opacity: 1 !important;
  cursor: pointer !important;
}
@media (max-width: 700px) {
  .ar-opt-actions {
    flex-direction: column;
  }
  .ar-opt-actions .btn,
  .ar-opt-actions .ar-opt-accept,
  .ar-opt-actions .ar-opt-keep {
    width: 100%;
  }
}

/* Banner trip segmented control — beats prototype tab underline */
.booking .modes.ar-trip-seg,
.modes.ar-trip-seg {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0.55rem !important;
  margin: 0 0 1rem !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}
.booking .modes.ar-trip-seg > button,
.modes.ar-trip-seg > button,
.modes.ar-trip-seg > button:last-child {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.65rem !important;
  min-height: 64px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0.75rem 0.9rem !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.28) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: 10px !important;
  background: rgba(12, 23, 40, 0.92) !important;
  color: #e8eef5 !important;
  text-align: start !important;
  cursor: pointer !important;
  box-shadow: none !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}
.booking .modes.ar-trip-seg > button:hover,
.modes.ar-trip-seg > button:hover {
  border-color: rgba(89, 201, 216, 0.7) !important;
  background: rgba(22, 40, 69, 0.98) !important;
  box-shadow: none !important;
}
.booking .modes.ar-trip-seg > button:focus,
.booking .modes.ar-trip-seg > button:focus-visible,
.modes.ar-trip-seg > button:focus-visible {
  outline: 2px solid #59c9d8 !important;
  outline-offset: 2px !important;
}
.booking .modes.ar-trip-seg > button.active,
.booking .modes.ar-trip-seg > button[aria-pressed="true"],
.modes.ar-trip-seg > button.active,
.modes.ar-trip-seg > button[aria-pressed="true"] {
  border-color: #59c9d8 !important;
  background: rgba(16, 40, 52, 0.98) !important;
  background-image: linear-gradient(180deg, rgba(89, 201, 216, 0.28), rgba(89, 201, 216, 0.12)) !important;
  box-shadow: inset 0 0 0 1px rgba(89, 201, 216, 0.55) !important;
}
.modes.ar-trip-seg .ar-trip-indicator {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.12rem;
  border-radius: 50%;
  border: 2px solid rgba(232, 238, 245, 0.5);
  background: transparent;
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}
.modes.ar-trip-seg > button.active .ar-trip-indicator,
.modes.ar-trip-seg > button[aria-pressed="true"] .ar-trip-indicator {
  border-color: #06111a;
  background: #59c9d8;
}
.modes.ar-trip-seg > button.active .ar-trip-indicator::after,
.modes.ar-trip-seg > button[aria-pressed="true"] .ar-trip-indicator::after {
  content: '✓';
  position: static;
  inset: auto;
  border-radius: 0;
  background: transparent;
  color: #06111a;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}
.modes.ar-trip-seg .ar-trip-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  pointer-events: none;
}
.modes.ar-trip-seg .ar-trip-copy b,
.modes.ar-trip-seg > button b {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #f7f8f6 !important;
  line-height: 1.25 !important;
}
.modes.ar-trip-seg .ar-trip-copy small,
.modes.ar-trip-seg > button small {
  display: block !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  color: rgba(232, 238, 245, 0.8) !important;
  white-space: normal !important;
}
@media (max-width: 700px) {
  .booking .modes.ar-trip-seg,
  .modes.ar-trip-seg {
    grid-template-columns: 1fr !important;
  }
  .booking .modes.ar-trip-seg > button,
  .modes.ar-trip-seg > button {
    min-height: 52px !important;
  }
}

/* Round-trip first-leg direction chooser (banner) */
.ar-round-first-leg {
  margin: 0 0 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 14px;
  background: rgba(16, 30, 49, 0.85);
}
.ar-round-first-q {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  color: #f7f8f6;
}
.ar-round-first-opts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ar-round-first-btn {
  display: block;
  width: 100%;
  min-height: 64px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  background: #0c1728;
  color: #f7f8f6;
  text-align: start;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.35;
}
.ar-round-first-btn:hover,
.ar-round-first-btn:focus-visible {
  border-color: #59c9d8;
  outline: none;
}
.ar-round-first-btn.active,
.ar-round-first-btn[aria-checked="true"] {
  border-color: #59c9d8;
  box-shadow: inset 0 0 0 1px #59c9d8;
  background: #122735;
}
@media (max-width: 700px) {
  .ar-round-first-opts {
    grid-template-columns: 1fr;
  }
}

/* —— Banner progressive disclosure —— */
.booking.ar-banner-pd {
  grid-template-columns: minmax(220px, 30%) minmax(0, 1fr) !important;
  align-items: stretch;
}
.booking.ar-banner-pd .booking-title {
  width: auto;
  min-height: 100%;
}
.booking.ar-banner-pd .ar-banner-form {
  padding: 28px 32px 32px !important;
  display: flex;
  justify-content: center;
}
.booking.ar-banner-pd .ar-banner-inner {
  width: 100%;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ar-pd-title {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.25;
  font-weight: 800;
  color: #f7f8f6;
  letter-spacing: -0.02em;
}
.ar-pd-step-num {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #59c9d8;
}
.ar-pd-step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ar-pd-step[hidden] {
  display: none !important;
}
.ar-pd-hint {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  color: rgba(247, 248, 246, 0.92);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.ar-pd-hint-arrow {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-inline-start: 2px;
  color: rgba(185, 74, 67, 0.9);
  animation: ar-pd-hint-bounce 1.4s ease-in-out infinite;
}
.ar-pd-hint-arrow::before {
  content: '↓';
  font-size: 16px;
  line-height: 1;
}
@keyframes ar-pd-hint-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}
.ar-pd-choices {
  display: grid;
  gap: 12px;
}
.ar-pd-choices-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ar-pd-choices-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ar-pd-choice {
  --ar-smoke-red: #9f3935;
  --ar-smoke-red-bright: #b94a43;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 118px;
  padding: 16px 16px 14px;
  border: 2px solid rgba(159, 57, 53, 0.55);
  border-radius: 14px;
  background: #0c1728;
  color: #f7f8f6;
  text-align: start;
  cursor: pointer;
  font: inherit;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.ar-pd-choice:hover {
  transform: translateY(-2px);
  border-color: rgba(185, 74, 67, 0.9);
  background: #1a1520;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}
.ar-pd-choice:focus-visible {
  outline: 3px solid rgba(185, 74, 67, 0.65);
  outline-offset: 2px;
}
.ar-pd-choice:active {
  transform: translateY(0);
  background: #1c1824;
}
.ar-pd-choice.active,
.ar-pd-choice.is-selected,
.ar-pd-choice[aria-checked="true"] {
  border-color: #59c9d8;
  background: #0f3a42;
  box-shadow: inset 0 0 0 1px rgba(89, 201, 216, 0.65), 0 8px 20px rgba(0, 0, 0, 0.25);
}
.ar-pd-choice-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.ar-pd-choice-icon {
  color: var(--ar-smoke-red-bright);
  display: inline-flex;
}
.ar-pd-choice.active .ar-pd-choice-icon,
.ar-pd-choice.is-selected .ar-pd-choice-icon,
.ar-pd-choice[aria-checked="true"] .ar-pd-choice-icon {
  color: #59c9d8;
}
.ar-pd-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(185, 74, 67, 0.55);
  flex: none;
  position: relative;
}
.ar-pd-choice.active .ar-pd-radio,
.ar-pd-choice.is-selected .ar-pd-radio,
.ar-pd-choice[aria-checked="true"] .ar-pd-radio {
  border-color: #59c9d8;
}
.ar-pd-choice.active .ar-pd-radio::after,
.ar-pd-choice.is-selected .ar-pd-radio::after,
.ar-pd-choice[aria-checked="true"] .ar-pd-radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #59c9d8;
}
.ar-pd-choice-kicker {
  font-size: 12px;
  font-weight: 800;
  color: var(--ar-smoke-red-bright);
  letter-spacing: 0.02em;
}
.ar-pd-choice.active .ar-pd-choice-kicker,
.ar-pd-choice.is-selected .ar-pd-choice-kicker,
.ar-pd-choice[aria-checked="true"] .ar-pd-choice-kicker {
  color: #59c9d8;
}
.ar-pd-choice b {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
}
.ar-pd-choice small {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(232, 238, 245, 0.78);
}
.ar-pd-choice-action {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--ar-smoke-red-bright);
}
.ar-pd-choice.active .ar-pd-choice-action,
.ar-pd-choice.is-selected .ar-pd-choice-action,
.ar-pd-choice[aria-checked="true"] .ar-pd-choice-action {
  color: #7ddec9;
}
.ar-pd-choice-chevron::before {
  content: '';
}
html[dir="ltr"] .ar-pd-choice-chevron::before,
[dir="ltr"] .ar-pd-choice-chevron::before {
  content: '';
}
.ar-pd-choice-check {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #59c9d8;
  color: #062028;
  font-size: 14px;
  font-weight: 900;
  display: none;
  align-items: center;
  justify-content: center;
}
.ar-pd-choice.active .ar-pd-choice-check,
.ar-pd-choice.is-selected .ar-pd-choice-check,
.ar-pd-choice[aria-checked="true"] .ar-pd-choice-check {
  display: inline-flex;
}
.ar-route-od {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ar-route-od-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.ar-route-od-mark {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #122735;
  border: 1px solid #59c9d8;
  color: #59c9d8;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ar-route-od-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ar-route-od-label {
  font-size: 12px;
  font-weight: 800;
  color: #59c9d8;
}
.ar-route-od-stop .ar-route-od-mark {
  border-color: rgba(89, 201, 216, 0.55);
  color: #b7eef5;
  background: #0c2230;
}
.ar-pd-optimized {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  border-inline-start: 4px solid #59c9d8;
  background: #102f39;
  color: #f7f8f6;
}
.ar-pd-optimized[hidden] {
  display: none !important;
}
.ar-pd-optimized-check {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #59c9d8;
  color: #07131d;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ar-pd-optimized-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ar-pd-optimized-body > strong {
  font-size: 15px;
}
.ar-pd-optimized-route .ar-route-od {
  gap: 8px;
}
.ar-pd-opt-revert {
  align-self: flex-start;
  margin-top: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #7ddec9;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}
.ar-pd-opt-revert[hidden] {
  display: none !important;
}
.ar-pd-deviation {
  margin-top: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(185, 74, 67, 0.45);
  background: #1a1520;
  color: #f7f8f6;
}
.ar-pd-deviation[hidden] {
  display: none !important;
}
.ar-pd-deviation-msg {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.45;
}
.ar-pd-deviation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ar-pd-dev-keep,
.ar-pd-dev-remove {
  padding: 8px 14px;
  border-radius: 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.ar-pd-dev-keep {
  border: 1px solid rgba(89, 201, 216, 0.55);
  background: #0f3a42;
  color: #b7eef5;
}
.ar-pd-dev-remove {
  border: 1px solid rgba(185, 74, 67, 0.55);
  background: transparent;
  color: #e8b4b0;
}
.ar-pd-stops-opt {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #7ddec9;
}
.ar-pd-stops-opt[hidden] {
  display: none !important;
}
.ar-pd-summary-route {
  align-items: flex-start;
}
.ar-pd-summary-route-body {
  flex: 1;
  min-width: 0;
}
.ar-pd-banner-stops {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ar-pd-add-stop,
.ar-pd-stop-remove {
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: transparent;
  color: #59c9d8;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ar-pd-stop-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: #081321;
}
.ar-flight-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 12px 14px;
  border: 1px solid rgba(89, 201, 216, 0.35);
  border-radius: 10px;
  background: #0f2230;
}
.ar-flight-summary-label {
  font-weight: 700;
}
.ar-flight-summary-value {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  letter-spacing: 0.04em;
}
.ar-pd-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(89, 201, 216, 0.28);
  border-radius: 12px;
  background: rgba(89, 201, 216, 0.08);
}
.ar-pd-summary[hidden] {
  display: none !important;
}
.ar-pd-summary-text {
  font-size: 15px;
  font-weight: 700;
  color: #e8f7fa;
  line-height: 1.35;
}
.ar-pd-change {
  flex: none;
  border: 0;
  background: transparent;
  color: #59c9d8;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ar-pd-route-hint {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: rgba(232, 238, 245, 0.72);
}
.ar-pd-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}
.ar-pd-field > span {
  font-size: 13px;
  font-weight: 700;
  color: rgba(232, 238, 245, 0.88);
}
.ar-pd-field input,
.ar-pd-field select {
  width: 100%;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: #081321;
  color: #fff;
  padding: 0 14px;
  font: inherit;
}
.ar-pd-when-row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 14px;
}
.ar-pd-date {
  width: 190px;
  flex: none;
}
.ar-pd-time {
  width: 208px;
  flex: none;
}
.ar-pd-flight {
  width: 200px;
  flex: none;
}
.ar-pd-flight[hidden] {
  display: none !important;
}
.booking.ar-banner-pd .airride-time-control {
  display: grid;
  grid-template-columns: 92px 12px 92px;
  align-items: center;
  width: 208px;
  direction: ltr;
}
.booking.ar-banner-pd .airride-time-control select {
  width: 92px;
  height: 52px;
  min-width: 0;
}
.booking.ar-banner-pd .airride-time-control .time-separator {
  text-align: center;
  color: #59c9d8;
  font-weight: 800;
}
.ar-pd-lead,
.booking.ar-banner-pd .ar-lead-hint-inline {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #b7c9d3 !important;
  opacity: 1 !important;
}
.ar-pd-place-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-top: 4px;
}
.ar-pd-place-actions[hidden] {
  display: none !important;
}
.ar-pd-place-ok {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #7ddec9;
}
.ar-pd-place-ok[hidden] {
  display: none !important;
}
.ar-pd-place-miss {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #ffc5c0;
}
.ar-pd-place-miss[hidden] {
  display: none !important;
}
.booking.ar-banner-pd .ar-pd-place-confirm {
  width: 100%;
  max-width: 420px;
  align-self: flex-start;
}
.booking.ar-banner-pd .ar-pickup-note-toggle {
  display: inline-flex;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #59c9d8;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ar-pd-cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-top: 4px;
}
.ar-pd-cta[hidden] {
  display: none !important;
}
.ar-pd-miss,
.booking.ar-banner-pd .form-message {
  min-height: 1.2em;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #ffc5c0;
}
.booking.ar-banner-pd .quote-button {
  width: 100%;
  max-width: 320px;
  height: 54px;
  border: 0;
  border-radius: 12px;
  background: #59c9d8;
  color: #06111a !important;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  align-self: flex-start;
}
.booking.ar-banner-pd .quote-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.ar-pickup-note-toggle {
  display: inline-flex;
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #59c9d8;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.ar-pickup-note-toggle[hidden] {
  display: none !important;
}

@media (max-width: 1050px) {
  .booking.ar-banner-pd {
    grid-template-columns: 1fr !important;
  }
  .booking.ar-banner-pd .booking-title {
    padding: 22px 24px;
  }
  .ar-pd-choices-3 {
    grid-template-columns: 1fr;
  }
  .ar-pd-choice {
    min-height: 118px;
  }
}
@media (max-width: 700px) {
  .booking.ar-banner-pd .ar-banner-form {
    padding: 18px 16px 22px !important;
  }
  .ar-pd-choices-2 {
    grid-template-columns: 1fr;
  }
  .ar-pd-choice {
    min-height: 120px;
  }
  .ar-pd-choice-action {
    white-space: nowrap;
  }
  .ar-pd-when-row {
    flex-direction: column;
    align-items: stretch;
  }
  .ar-pd-date,
  .ar-pd-time,
  .ar-pd-flight {
    width: 100%;
  }
  .booking.ar-banner-pd .airride-time-control {
    width: 100%;
    grid-template-columns: 1fr 12px 1fr;
  }
  .booking.ar-banner-pd .airride-time-control select {
    width: 100%;
  }
  .booking.ar-banner-pd .quote-button {
    max-width: none;
  }
}

/* Places: hotel/POI subline + optional pickup note */
.ar-place-subline {
  margin: 0.35rem 0 0;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(232, 238, 245, 0.72);
}
.ar-pickup-note-wrap {
  margin-top: 0.65rem;
}
.ar-pickup-note-wrap .ar-field span {
  font-size: 13px;
  font-weight: 600;
  color: rgba(232, 238, 245, 0.8);
}
.ar-pickup-note-wrap .ar-pickup-note {
  margin-top: 0.25rem;
}

/* Google pac dropdown on dark booking UI */
.pac-container {
  z-index: 10060 !important;
  border: 1px solid #365261;
  border-radius: 10px;
  background: #0d1d2b;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  font-family: Heebo, Manrope, Arial, sans-serif;
}
.pac-item {
  padding: 10px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #d7e2e8;
  line-height: 1.35;
  cursor: pointer;
}
.pac-item:first-child {
  border-top: 0;
}
.pac-item:hover,
.pac-item-selected {
  background: #153544;
}
.pac-item-query {
  color: #f4f7f8;
  font-weight: 700;
}
.pac-matched {
  color: #58c6d7;
  font-weight: 800;
}
.pac-icon {
  margin-top: 2px;
}

.ar-contact-primary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  max-width: 28rem;
  margin-bottom: 0.85rem;
}
.ar-add-extra-contact {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0 0 1rem;
  padding: 0.35rem 0;
  font-size: 16px;
  font-weight: 700;
  color: #59c9d8;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.ar-add-extra-contact:hover,
.ar-add-extra-contact:focus {
  text-decoration: underline;
  outline: none;
}
.ar-extra-contact {
  margin-bottom: 1rem;
  padding: 0.85rem 0 0;
  border-top: 1px solid rgba(89, 201, 216, 0.25);
}
.ar-checkout .has-error .form-control,
.ar-checkout .ar-field.has-error .form-control {
  border-color: #e08a84 !important;
}

.ar-quote-invalidate-msg,
.ar-quote-calculating-msg {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}
.ar-quote-invalidate-msg {
  border: 1px solid rgba(232, 163, 156, 0.55);
  background: rgba(196, 92, 84, 0.12);
  color: #f0c7c2;
}
.ar-quote-calculating-msg {
  border: 1px solid rgba(89, 201, 216, 0.45);
  background: rgba(89, 201, 216, 0.08);
  color: #e8eef5;
}

.ar-wizard-hidden-hosts,
.ar-legacy-quote.ar-wizard-hidden-hosts,
button.ar-wizard-hidden-hosts {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}

.ar-pax-trip-strip {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 1.25rem;
  padding: 0;
  border: 0;
  background: transparent;
}
.ar-pax-sum {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(232, 238, 245, 0.12);
  border-radius: 12px;
  background: rgba(14, 28, 46, 0.92);
  border-inline-start: 3px solid #2a9aa8;
}
.ar-pax-sum-ret {
  border-inline-start-color: #c46a5a;
}
.ar-pax-sum-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 40px;
  padding: 0.45rem 0.85rem;
  border-bottom: 1px solid rgba(232, 238, 245, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.ar-pax-sum-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 0.55rem;
  border-radius: 999px;
  background: rgba(42, 154, 168, 0.22);
  color: #9ee7f0;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.02em;
}
.ar-pax-sum-badge-ret {
  background: rgba(196, 106, 90, 0.22);
  color: #f0c2b8;
}
.ar-pax-sum-when {
  flex: 1;
  min-width: 0;
  color: #e8eef5;
  font-size: 15px;
  font-weight: 650;
}
.ar-pax-sum-edit {
  color: #59c9d8 !important;
  text-decoration: underline;
  font-size: 14px;
  font-weight: 650;
  background: none;
  border: 0;
  cursor: pointer;
  min-height: 36px;
}
.ar-pax-sum-body {
  display: grid;
  gap: 0.25rem;
  min-height: 0;
  padding: 0.7rem 0.85rem 0.75rem;
  font-size: 16px;
  line-height: 1.45;
  color: #e8eef5;
}
.ar-pax-sum-body p {
  margin: 0;
}
.ar-pax-sum-via {
  color: rgba(232, 238, 245, 0.82);
}
.ar-pax-sum-points {
  margin: 0;
  padding: 0 0.85rem 0.65rem;
  border: 0;
}
.ar-pax-sum-points > summary {
  cursor: pointer;
  list-style: none;
  color: #59c9d8;
  font-size: 14px;
  font-weight: 700;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}
.ar-pax-sum-points > summary::-webkit-details-marker {
  display: none;
}
.ar-pax-sum-points-body {
  margin-top: 0.35rem;
}
.ar-pax-points-list {
  margin: 0;
  padding: 0.25rem 0 0.15rem 1.1rem;
  color: rgba(232, 238, 245, 0.88);
  font-size: 15px;
  line-height: 1.45;
}
.ar-pax-points-list li {
  margin: 0.15rem 0;
}
.ar-lead-hint {
  margin: 0.45rem 0 0.55rem;
  color: #9fb5be;
  font-size: 14px;
  line-height: 1.4;
}
.ar-lead-bump {
  margin: 0 0 0.75rem;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  border-inline-start: 3px solid #59c9d8;
  background: #102f39;
  color: #e8eef5;
  font-size: 15px;
}
.ar-route-coach {
  margin: 0 0 0.85rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(89, 201, 216, 0.35);
  background: rgba(16, 47, 57, 0.55);
  color: #dff6fa;
  font-size: 15px;
  font-weight: 650;
}
.ar-stops-decision {
  margin: 0 0 1rem;
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(232, 238, 245, 0.12);
  background: rgba(8, 18, 32, 0.55);
}
.ar-stops-decision-q {
  margin: 0 0 0.65rem;
  color: #e8eef5;
  font-size: 16px;
  font-weight: 700;
}
.ar-stops-decision-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.ar-continue-miss {
  margin: 0 0 0.45rem;
  color: #f0c2b8;
  font-size: 14px;
  font-weight: 650;
  min-height: 1.2em;
}
.ar-coach-target {
  outline: 2px solid rgba(89, 201, 216, 0.85);
  outline-offset: 3px;
  border-radius: 10px;
  box-shadow: 0 0 0 4px rgba(89, 201, 216, 0.18);
}
@keyframes ar-coach-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(89, 201, 216, 0.12);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(89, 201, 216, 0.28);
  }
}
.ar-coach-pulse {
  animation: ar-coach-pulse 0.8s ease-in-out 3;
}
@media (prefers-reduced-motion: reduce) {
  .ar-coach-pulse {
    animation: none;
  }
}

.ar-price-pane-body.ar-itin {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 100%;
}
.ar-price-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
  gap: 1.15rem;
  align-items: start;
}
.ar-price-legs {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-width: 0;
}
.ar-price-map-col {
  min-width: 0;
  padding: 0.85rem 0.9rem 1rem;
  border: 1px solid rgba(232, 238, 245, 0.12);
  border-radius: 14px;
  background: rgba(8, 18, 32, 0.72);
}
.ar-price-map-title {
  margin: 0 0 0.65rem;
  font-size: 16px;
  font-weight: 800;
  color: #f7f8f6;
}
.ar-price-map-host,
#arBookingFlow #routeMap.ar-price-map-host {
  height: 400px;
  min-height: 360px;
  max-height: 440px;
  border-radius: 12px;
  overflow: hidden;
  background: #07131d;
}
.ar-map-leg-stats {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.75rem;
  font-size: 14px;
  color: rgba(232, 238, 245, 0.78);
}
.ar-map-stat {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}
.ar-map-stat strong {
  color: #f7f8f6;
  font-weight: 700;
}
.ar-price-summary-sub {
  margin: 0.35rem 0 0;
  font-size: 16px;
  line-height: 1.45;
  color: rgba(232, 238, 245, 0.78);
}
.ar-itin-card {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(232, 238, 245, 0.14);
  border-radius: 14px;
  background: rgba(8, 18, 32, 0.72);
  box-shadow: none;
}
.ar-itin-out,
html[dir="ltr"] .ar-itin-out,
.ar-itin-ret,
html[dir="ltr"] .ar-itin-ret {
  box-shadow: none;
}
.ar-itin-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem 1rem;
  margin: 0;
  padding: 0.85rem 1.05rem;
  color: #f7f8f6;
}
.ar-itin-out .ar-itin-head {
  background: linear-gradient(90deg, #14515c 0%, #0f3d46 100%);
}
.ar-itin-ret .ar-itin-head {
  background: linear-gradient(90deg, #6a3430 0%, #4d2623 100%);
}
.ar-itin-body {
  padding: 1rem 1.1rem 1.05rem;
}
.ar-itin-head-main {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}
.ar-itin-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.85rem;
  height: 1.85rem;
  padding: 0 0.35rem;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.ar-itin-badge {
  display: none;
}
.ar-itin-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  flex: 1 1 auto;
  min-width: 0;
}
.ar-itin-price {
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  white-space: nowrap;
  unicode-bidi: isolate;
  justify-self: end;
}
.ar-itin-when {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-size: 15px;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.92);
  direction: ltr;
  unicode-bidi: isolate;
  justify-content: center;
  text-align: center;
  justify-self: center;
}
.ar-itin-when::before {
  display: none;
}
html[dir="rtl"] .ar-itin-when {
  justify-content: center;
  flex-direction: row;
}
.ar-pay-discount strong,
#arPricePaneDiscount {
  direction: ltr !important;
  unicode-bidi: isolate !important;
  text-align: end;
}
.ar-itin-tl {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  display: grid;
  gap: 0;
}
.ar-itin-tl-compact {
  margin-top: 0.45rem;
  margin-bottom: 0.35rem;
}
.ar-itin-tl-item {
  display: grid;
  grid-template-columns: 1.35rem minmax(0, 1fr);
  column-gap: 0.7rem;
  align-items: start;
  position: relative;
  min-height: 2rem;
  padding-bottom: 0.85rem;
}
.ar-itin-tl-compact .ar-itin-tl-item {
  min-height: 1.65rem;
  padding-bottom: 0.55rem;
}
.ar-itin-tl-item:last-child {
  padding-bottom: 0;
}
.ar-itin-tl-item:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 1.15rem;
  inset-inline-start: 0.55rem;
  width: 2px;
  bottom: 0.1rem;
  background: rgba(89, 201, 216, 0.45);
}
.ar-itin-ret .ar-itin-tl-item:not(:last-child)::before {
  background: rgba(196, 110, 102, 0.45);
}
.ar-itin-dot {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  border-radius: 50%;
  border: 2px solid #59c9d8;
  background: #59c9d8;
  color: #06111a;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  position: relative;
}
.ar-itin-tl-stop .ar-itin-dot {
  background: #0c1728;
  color: #59c9d8;
}
.ar-itin-tl-dest .ar-itin-dot {
  background: transparent;
  border-color: #59c9d8;
  box-shadow: inset 0 0 0 3px #0c1728;
}
.ar-itin-ret .ar-itin-dot {
  border-color: #d08880;
  background: #d08880;
}
.ar-itin-ret .ar-itin-tl-stop .ar-itin-dot {
  background: #0c1728;
  color: #d08880;
}
.ar-itin-ret .ar-itin-tl-dest .ar-itin-dot {
  background: transparent;
  border-color: #d08880;
  box-shadow: inset 0 0 0 3px #0c1728;
}
.ar-itin-label {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
  color: #f0f4f8;
  padding-top: 0.05rem;
}
.ar-itin-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ar-itin-role {
  font-size: 11px;
  font-weight: 800;
  color: #59c9d8;
  letter-spacing: 0.02em;
}
.ar-itin-tl-stop .ar-itin-label {
  color: rgba(232, 238, 245, 0.92);
}
.ar-itin-meta {
  margin: 0 0 0.75rem;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(232, 238, 245, 0.72);
}
.ar-itin-bd {
  margin: 0 0 0.65rem;
  border: 0;
  background: transparent;
}
.ar-itin-bd > summary {
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 700;
  color: #59c9d8;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}
.ar-itin-bd > summary::-webkit-details-marker {
  display: none;
}
.ar-itin-bd-body {
  margin-top: 0.45rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(89, 201, 216, 0.22);
  border-radius: 8px;
  background: rgba(6, 17, 26, 0.35);
  font-size: 15px;
}
.ar-itin-bd-body .ar-bd-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.28rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 15px;
}
.ar-itin-bd-body .ar-bd-row:last-child {
  border-bottom: 0;
}
.ar-itin-edit {
  margin-top: 0.15rem;
  font-size: 15px;
}

/* Compact hosts (mirror / pax strip / opt) reuse vertical itinerary */
.ar-route-trail-host .ar-itin-tl,
.ar-mirror-route .ar-itin-tl,
.ar-compact-route .ar-itin-tl,
.ar-optimized-route .ar-itin-tl {
  margin-bottom: 0;
}
.ar-route-arrow,
.ar-route-trail {
  display: none !important;
}

@media (max-width: 960px) {
  .ar-price-layout {
    grid-template-columns: 1fr;
  }
  .ar-price-map-col {
    order: 3;
  }
  .ar-price-legs {
    order: 1;
  }
  #arPricePaneTotals {
    order: 4;
  }
  .ar-price-pane-body.ar-itin {
    display: flex;
  }
  .ar-itin-head {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      'title title'
      'when price';
  }
  .ar-itin-head-main {
    grid-area: title;
  }
  .ar-itin-when {
    grid-area: when;
    justify-self: start;
    text-align: start;
  }
  .ar-itin-price {
    grid-area: price;
  }
  .ar-price-map-host,
  #arBookingFlow #routeMap.ar-price-map-host {
    height: 320px;
    min-height: 280px;
  }
}

.ar-pay-box {
  margin-top: 0.25rem;
  padding: 1.15rem 1.2rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(89, 201, 216, 0.35);
  background: linear-gradient(180deg, rgba(16, 40, 52, 0.55), rgba(8, 18, 32, 0.92));
}
.ar-pay-title {
  margin: 0 0 0.85rem;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(232, 238, 245, 0.75);
}
.ar-pay-rows {
  display: grid;
  gap: 0.45rem;
}
.ar-pay-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: 16px;
  color: rgba(232, 238, 245, 0.9);
}
.ar-pay-row strong {
  font-weight: 700;
  color: #f7f8f6;
  unicode-bidi: isolate;
  white-space: nowrap;
}
.ar-pay-discount strong {
  color: #7ad7e3;
}
.ar-pay-divider {
  height: 1px;
  margin: 0.85rem 0;
  background: rgba(232, 238, 245, 0.18);
}
.ar-pay-grand {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.ar-pay-grand > span {
  font-size: 18px;
  font-weight: 700;
  color: #e8eef5;
}
.ar-pay-grand > strong {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.05;
  color: #59c9d8;
  unicode-bidi: isolate;
  white-space: nowrap;
}
body.airride-form-page .ar-pay-cta.btn-primary,
.ar-pay-cta {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px !important;
  padding: 0.85rem 1.25rem !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  border-radius: 12px !important;
  text-align: center;
}
.ar-pay-trust {
  margin: 0.75rem 0 0;
  font-size: 15px;
  line-height: 1.4;
  color: rgba(232, 238, 245, 0.7);
  text-align: center;
}
.ar-pay-recalc {
  width: 100%;
  margin-top: 0.75rem;
}

.ar-price-pane-body {
  display: grid;
  gap: 1rem;
}
.ar-price-leg-block {
  display: none;
}

.ar-mirror-panel {
  border: 1px solid rgba(89, 201, 216, 0.35);
  padding: 1rem;
  margin: 0 0 1rem;
}
.ar-mirror-panel .ar-mirror-option {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  min-height: 48px;
  margin: 0.35rem 0;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(89, 201, 216, 0.25);
  background: rgba(6, 17, 26, 0.25);
  cursor: pointer;
  font-size: 17px;
}
.ar-mirror-panel .ar-mirror-option:has(input:checked) {
  border-color: rgba(89, 201, 216, 0.85);
  background: rgba(89, 201, 216, 0.12);
}
.ar-mirror-panel .ar-mirror-option input {
  width: 1.15rem;
  height: 1.15rem;
}

.ar-step-actions {
  margin-top: 1.25rem;
}
.ar-step-actions .btn-primary,
#arGetQuoteBtnMain,
#arBtnContinueCheckout,
.ar-flow .btn.btn-primary {
  min-height: 48px;
  font-size: 17px !important;
  font-weight: 700;
  padding: 0.75rem 1.35rem;
  line-height: 1.3;
}

/* No transform/zoom shrink; no nested scroll traps */
body.airride-form-page .airride-form-surface,
body.airride-form-page .ar-flow,
body.airride-form-page .ar-wizard-shell,
body.airride-form-page .ar-wizard-pane {
  transform: none !important;
  zoom: normal !important;
  max-height: none;
  overflow: visible;
}
body.airride-form-page.airride-iframe .airride-form-surface {
  max-height: none !important;
  overflow: visible !important;
}

@media (max-width: 900px) {
  #arBookingFlow,
  #arBookingFlow[data-wiz-mode="price"] {
    grid-template-columns: 1fr !important;
  }
  #arBookingFlow[data-wiz-mode="price"] .ar-flow-side {
    order: 2;
  }
  .ar-wiz-title,
  .ar-card-head h3.ar-wiz-title,
  #arOutboundTitle,
  #arReturnTitle,
  #arPaxTitle,
  #arPricePaneTitle {
    font-size: 26px;
  }
  .ar-itin-title {
    font-size: 20px;
  }
  .ar-itin-price {
    font-size: 20px;
  }
  .ar-pay-grand > strong {
    font-size: 32px;
  }
  .ar-itin-label {
    font-size: 16px;
  }
  .ar-route-trail {
    font-size: 17px;
  }
  .ar-route-trail-lg .ar-route-trail,
  .ar-route-confirmed .ar-route-trail {
    font-size: 19px;
  }
  .ar-grid-2,
  .ar-grid-3 {
    grid-template-columns: 1fr;
  }
  .ar-opt-actions {
    flex-direction: column;
  }
  .ar-opt-actions .btn {
    width: 100%;
  }
  .ar-step-actions .btn-primary,
  #arGetQuoteBtnMain,
  #arBtnContinueCheckout {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .ar-wiz-title,
  #arOutboundTitle,
  #arReturnTitle,
  #arPaxTitle,
  #arPricePaneTitle {
    font-size: 24px;
  }
}

/* Phase 7.8 — approved mockup presentation */
body.airride-form-page .ar-flow .ar-wizard-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
body.airride-form-page .ar-flow .ar-wiz-step {
  min-width: 0;
  min-height: 48px;
  flex-direction: row;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: #0a1722;
}
body.airride-form-page .ar-flow .ar-wiz-step.is-active {
  background: #153544;
  box-shadow: none;
}
body.airride-form-page .ar-flow .ar-wiz-num,
body.airride-form-page .ar-flow .ar-wiz-step.is-active .ar-wiz-num {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  place-items: center;
  border-radius: 50%;
  background: #172d3b;
  color: #a9bdc6;
  font-size: 13px;
}
body.airride-form-page .ar-flow .ar-wiz-step.is-active .ar-wiz-num {
  background: #59c9d8;
  color: #07131d;
}
body.airride-form-page .ar-flow .ar-wiz-step.is-done .ar-wiz-num {
  background: #287687;
  color: #fff;
}

body.airride-form-page .ar-flow .ar-optimized {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 20px 0;
  padding: 15px 16px;
  border-inline-start: 4px solid #59c9d8;
  border-radius: 12px;
  background: #102f39;
  color: #f7f8f6;
}
body.airride-form-page .ar-flow .ar-check {
  display: grid;
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  place-items: center;
  border-radius: 50%;
  background: #59c9d8;
  color: #07131d;
  font-weight: 800;
}
body.airride-form-page .ar-flow .ar-optimized strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}
body.airride-form-page .ar-flow .ar-optimized-route {
  margin: 0;
  color: #d5e8ec;
  font-size: 15px;
  line-height: 1.5;
}
body.airride-form-page .ar-flow .ar-optimized .ar-linkish {
  margin-top: 5px;
  color: #77d6e4;
  text-decoration: underline;
}

body.airride-form-page .ar-flow .ar-mirror-panel {
  margin: 0 0 20px;
  padding: 16px;
  border: 0;
  border-radius: 12px;
  background: #122735;
  color: #d9e5e9;
  font-size: 17px;
}
body.airride-form-page .ar-flow .ar-mirror-panel > strong {
  display: block;
  margin-bottom: 6px;
  color: #f7f8f6;
}
body.airride-form-page .ar-flow .ar-mirror-route {
  margin-bottom: 4px;
  font-size: 16px;
}
body.airride-form-page .ar-flow .ar-mirror-panel > .ar-linkish {
  color: #77d6e4;
  text-decoration: underline;
}

body.airride-form-page .ar-flow .ar-dategrid,
body.airride-form-page .ar-flow .ar-datetime-group {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 18px;
  max-width: none;
  overflow: visible;
}
body.airride-form-page .ar-flow .ar-dategrid-date {
  flex: 0 0 190px;
  width: 190px;
  min-width: 180px;
  max-width: 190px;
}
body.airride-form-page .ar-flow .ar-dategrid-date .ar-date-input {
  width: 100%;
  max-width: 190px;
  height: 54px;
}
body.airride-form-page .ar-flow .ar-dategrid-time {
  flex: 0 0 auto;
  min-width: 208px;
  overflow: visible;
}
body.airride-form-page .ar-flow .ar-dategrid .airride-time-control,
body.airride-form-page .ar-flow .ar-datetime-group .airride-time-control {
  direction: ltr;
  display: grid;
  grid-template-columns: 92px 12px 92px;
  align-items: center;
  gap: 6px;
  width: 208px;
  min-width: 208px;
  max-width: 208px;
  overflow: visible;
}
body.airride-form-page .ar-flow .ar-dategrid .airride-time-control select,
body.airride-form-page .ar-flow .ar-datetime-group .airride-time-control select {
  width: 92px;
  min-width: 92px;
  max-width: 92px;
  height: 54px;
  overflow: visible;
}

body.airride-form-page .ar-flow .ar-counters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}
body.airride-form-page .ar-flow .ar-counter {
  padding: 18px;
  border: 1px solid #294553;
  border-radius: 15px;
  background: #0a1722;
}
body.airride-form-page .ar-flow .ar-counter h3 {
  margin: 0 0 5px;
  color: #f7f8f6;
  font-size: 20px;
}
body.airride-form-page .ar-flow .ar-counter p {
  margin: 0 0 16px;
  color: #9fb5be;
  font-size: 14px;
}
body.airride-form-page .ar-flow .ar-countercontrol {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 50px;
  align-items: center;
  gap: 8px;
}
body.airride-form-page .ar-flow .ar-countercontrol button {
  height: 46px;
  padding: 0;
  border: 1px solid #3d5b69;
  border-radius: 10px;
  background: #142a38;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 24px;
}
body.airride-form-page .ar-flow .ar-countercontrol button:hover,
body.airride-form-page .ar-flow .ar-countercontrol button:focus-visible {
  border-color: #59c9d8;
  outline: 2px solid rgba(89, 201, 216, 0.3);
}
body.airride-form-page .ar-flow .ar-count {
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  text-align: center;
}

body.airride-form-page .ar-flow .ar-vehicle-card {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  min-height: 180px;
  overflow: hidden;
  border: 1px solid #31515f;
  border-radius: 17px;
  background: #102936;
}
body.airride-form-page .ar-flow .ar-vehiclevisual {
  position: relative;
  min-height: 180px;
}
body.airride-form-page .ar-flow .ar-vehiclevisual img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #071722;
}
body.airride-form-page .ar-flow .ar-vehiclevisual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 19, 29, 0.05), rgba(7, 19, 29, 0.68));
  content: "";
}
html[dir="ltr"] body.airride-form-page .ar-flow .ar-vehiclevisual::after {
  background: linear-gradient(270deg, rgba(7, 19, 29, 0.05), rgba(7, 19, 29, 0.68));
}
body.airride-form-page .ar-flow .ar-vehiclecopy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 25px 25px 22px;
}
body.airride-form-page .ar-flow .ar-vehicleeyebrow {
  margin-bottom: 8px;
  color: #59c9d8;
  font-size: 14px;
  font-weight: 700;
}
body.airride-form-page .ar-flow .ar-vehiclecopy > strong {
  display: block;
  margin-bottom: 8px;
  color: #f7f8f6;
  font-size: 23px;
}
body.airride-form-page .ar-flow .ar-vehiclecopy > span {
  color: #c0d2d9;
  font-size: 16px;
  line-height: 1.55;
}
body.airride-form-page .ar-flow .ar-vehiclefit {
  margin-top: 14px;
  color: #fff;
  font-size: 14px;
}

@media (max-width: 700px) {
  body.airride-form-page .ar-flow .ar-wizard-progress {
    gap: 4px;
  }
  body.airride-form-page .ar-flow .ar-wiz-step {
    justify-content: center;
    padding: 8px 4px;
  }
  body.airride-form-page .ar-flow .ar-wiz-label {
    display: none;
  }
  body.airride-form-page .ar-flow .ar-dategrid,
  body.airride-form-page .ar-flow .ar-datetime-group,
  body.airride-form-page .ar-flow .ar-counters,
  body.airride-form-page .ar-flow .ar-vehicle-card {
    grid-template-columns: 1fr;
    max-width: none;
  }
  body.airride-form-page .ar-flow .ar-dategrid,
  body.airride-form-page .ar-flow .ar-datetime-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  body.airride-form-page .ar-flow .ar-dategrid-date {
    flex: 1 1 auto;
    width: 100%;
  }
  body.airride-form-page .ar-flow .ar-dategrid-date .ar-date-input {
    max-width: none;
  }
  body.airride-form-page .ar-flow .ar-dategrid-time {
    width: 208px;
    min-width: 208px;
  }
  body.airride-form-page .ar-flow .ar-dategrid .airride-time-control,
  body.airride-form-page .ar-flow .ar-datetime-group .airride-time-control {
    width: 208px;
    min-width: 208px;
    max-width: 208px;
    grid-template-columns: 92px 12px 92px;
  }
  body.airride-form-page .ar-flow .ar-dategrid .airride-time-control select,
  body.airride-form-page .ar-flow .ar-datetime-group .airride-time-control select {
    width: 92px;
    min-width: 92px;
    max-width: 92px;
    height: 54px;
  }
  body.airride-form-page .ar-flow .ar-vehiclevisual {
    min-height: 180px;
  }
  body.airride-form-page .ar-flow .ar-vehiclevisual::after,
  html[dir="ltr"] body.airride-form-page .ar-flow .ar-vehiclevisual::after {
    background: linear-gradient(0deg, rgba(7, 19, 29, 0.62), rgba(7, 19, 29, 0.02));
  }
  body.airride-form-page .ar-flow .ar-vehiclecopy {
    padding: 20px;
  }
}
