:root {
  --transport-bg: #edf3ff;
  --transport-surface: #ffffff;
  --transport-surface-2: #f6faff;
  --transport-surface-3: #eef4ff;
  --transport-text: #0b1324;
  --transport-muted: #4a5d78;
  --transport-border: #d7e0ef;
  --transport-primary: #0f6dff;
  --transport-primary-strong: #0050cc;
  --transport-accent: #1db4a5;
  --transport-danger: #d94848;
  --transport-warning: #b7791f;
  --transport-shadow: 0 20px 46px rgba(13, 36, 84, 0.1);
  --transport-shadow-soft: 0 8px 24px rgba(15, 33, 70, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

body.transport-booking-page {
  background:
    radial-gradient(1200px 540px at 95% -20%, rgba(15, 109, 255, 0.16), transparent 56%),
    radial-gradient(900px 460px at -10% 34%, rgba(29, 180, 165, 0.14), transparent 56%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(237, 243, 255, 0.92)),
    var(--transport-bg);
  color: var(--transport-text);
  font-family: 'Manrope', 'Segoe UI', sans-serif;
  line-height: 1.5;
}

.transport-booking-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(244, 248, 255, 0.86);
  border-bottom: 1px solid rgba(11, 19, 36, 0.1);
  box-shadow: 0 6px 18px rgba(8, 28, 62, 0.08);
}

.transport-booking-header__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.transport-booking-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--transport-text);
  min-width: 0;
}

.transport-booking-brand__logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(145deg, #0f6dff, #1db4a5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
  flex: 0 0 auto;
}

.transport-booking-brand__text {
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.transport-booking-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.transport-booking-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--transport-border);
  background: rgba(255, 255, 255, 0.92);
  color: var(--transport-text);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
}

.transport-booking-nav a.is-active {
  border-color: rgba(15, 109, 255, 0.42);
  background: rgba(15, 109, 255, 0.12);
  color: #0b4ab2;
}

.transport-booking-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 18px 34px;
  min-width: 0;
}

.transport-booking-page .footer-referral {
  margin-top: 8px;
}

.transport-booking-page .app-footer {
  max-width: 1180px;
  margin: 10px auto 18px;
}

.transport-hero {
  margin-bottom: 16px;
  border: 1px solid rgba(15, 109, 255, 0.2);
  background:
    linear-gradient(130deg, rgba(15, 109, 255, 0.15), rgba(29, 180, 165, 0.09)),
    #ffffff;
  border-radius: 22px;
  padding: 22px 22px 18px;
  box-shadow: var(--transport-shadow-soft);
}

.transport-hero h1 {
  margin: 0;
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.transport-hero p {
  margin: 8px 0 0;
  color: var(--transport-muted);
  font-size: 15px;
  max-width: 860px;
}

.transport-booking-shell {
  border: 1px solid rgba(15, 109, 255, 0.17);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.98)),
    var(--transport-surface);
  box-shadow: var(--transport-shadow);
  overflow: hidden;
}

.transport-booking-form {
  display: grid;
  gap: 16px;
  padding: 20px;
  min-width: 0;
}

.transport-section {
  border: 1px solid rgba(15, 109, 255, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(180deg, #ffffff, var(--transport-surface-2));
  padding: 14px;
  min-width: 0;
  box-shadow: var(--transport-shadow-soft);
}

.transport-section h2 {
  margin: 0;
  font-size: 15px;
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  letter-spacing: 0;
}

.transport-return-leg {
  margin-top: 12px;
  border: 1px solid rgba(15, 109, 255, 0.26);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(15, 109, 255, 0.08), rgba(15, 109, 255, 0.03));
  padding: 12px;
}

.transport-return-leg h3 {
  margin: 0;
  font-size: 13px;
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
}

.transport-return-extras-mode {
  margin-top: 12px;
  border: 1px solid rgba(15, 109, 255, 0.22);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(15, 109, 255, 0.08), rgba(15, 109, 255, 0.02));
  padding: 10px 12px;
}

.transport-return-extras-toggle {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  color: #24466c;
  cursor: pointer;
}

.transport-return-extras-toggle input {
  margin-top: 2px;
}

.transport-return-extras-toggle__text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.transport-return-extras-toggle__text strong {
  font-size: 13px;
  font-weight: 700;
  color: #0d2f56;
}

.transport-return-extras-toggle__text small {
  font-size: 12px;
  color: #3b5f85;
  line-height: 1.4;
}

.transport-return-extras {
  margin-top: 12px;
  border: 1px solid rgba(29, 180, 165, 0.32);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(29, 180, 165, 0.11), rgba(29, 180, 165, 0.04));
  padding: 12px;
}

.transport-return-extras h3 {
  margin: 0;
  font-size: 13px;
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
}

.transport-detail-card {
  margin-top: 12px;
  border: 1px solid rgba(15, 109, 255, 0.2);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(15, 109, 255, 0.07), rgba(15, 109, 255, 0.03));
  padding: 12px;
}

.transport-detail-card--return {
  border-color: rgba(29, 180, 165, 0.35);
  background: linear-gradient(135deg, rgba(29, 180, 165, 0.11), rgba(29, 180, 165, 0.04));
}

.transport-detail-card[hidden] {
  display: none;
}

.transport-detail-card__title {
  margin: 0;
  font-size: 13px;
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
}

.transport-detail-card__hint {
  margin: 5px 0 0;
  color: var(--transport-muted);
  font-size: 12px;
  line-height: 1.45;
}

.transport-section__hint {
  margin: 5px 0 0;
  color: var(--transport-muted);
  font-size: 12px;
  line-height: 1.4;
}

.transport-field-grid {
  margin-top: 12px;
  display: grid;
  gap: 11px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
}

.transport-field {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.transport-field--wide {
  grid-column: span 2;
}

.transport-field label {
  font-size: 11px;
  color: #243650;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.transport-field select,
.transport-field input,
.transport-field textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid #b9cae5;
  border-radius: 12px;
  padding: 11px 12px;
  font-size: 14px;
  background: #fcfeff;
  color: var(--transport-text);
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.transport-field textarea {
  min-height: 96px;
  resize: vertical;
}

.transport-field select:focus,
.transport-field input:focus,
.transport-field textarea:focus {
  outline: 2px solid rgba(15, 109, 255, 0.2);
  border-color: #5f9fff;
  box-shadow: 0 0 0 3px rgba(15, 109, 255, 0.08);
  background: #ffffff;
}

.transport-submit-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(15, 109, 255, 0.14);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(239, 246, 255, 0.8));
  min-width: 0;
}

.transport-submit-btn {
  border: 0;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--transport-primary), var(--transport-primary-strong));
  color: #fff;
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(10, 81, 197, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  width: 100%;
  max-width: 100%;
}

.transport-submit-btn:hover:not([disabled]) {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(10, 81, 197, 0.36);
}

.transport-submit-btn[disabled] {
  opacity: 0.58;
  cursor: not-allowed;
  box-shadow: none;
}

.transport-policy-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--transport-muted);
  max-width: 100%;
  width: 100%;
  min-width: 0;
}

.transport-policy-check input {
  margin: 2px 0 0;
}

.transport-policy-check span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.transport-submit-hint {
  margin: 0;
  font-size: 12px;
  color: var(--transport-muted);
  line-height: 1.45;
  min-width: 0;
  overflow-wrap: anywhere;
}

.transport-quote {
  border: 1px solid rgba(15, 109, 255, 0.18);
  border-radius: 16px;
  background:
    radial-gradient(620px 300px at 100% -6%, rgba(15, 109, 255, 0.12), transparent 56%),
    linear-gradient(180deg, #f8fbff, #f2f8ff);
  padding: 18px;
  display: grid;
  gap: 12px;
  min-width: 0;
  box-shadow: var(--transport-shadow-soft);
}

.transport-quote__head {
  display: grid;
  gap: 6px;
}

.transport-quote h2,
.transport-quote h3 {
  margin: 0;
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  font-size: 18px;
}

.transport-status {
  font-size: 12px;
  padding: 10px 11px;
  border-radius: 10px;
  border: 1px solid rgba(15, 109, 255, 0.24);
  background: rgba(15, 109, 255, 0.11);
  color: #0b4ab2;
}

.transport-status.is-error {
  border-color: rgba(217, 72, 72, 0.4);
  background: rgba(217, 72, 72, 0.12);
  color: #9a2525;
}

.transport-route-meta {
  font-size: 12px;
  color: var(--transport-muted);
  line-height: 1.45;
  border: 1px solid rgba(15, 109, 255, 0.14);
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.82);
  overflow-wrap: anywhere;
}

.transport-breakdown {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.transport-breakdown li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  border: 1px solid rgba(15, 109, 255, 0.14);
  border-radius: 10px;
  background: #ffffff;
  padding: 0 10px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-5px) scale(0.99);
  border-color: transparent;
  transition:
    max-height 0.24s ease,
    opacity 0.2s ease,
    transform 0.22s ease,
    padding 0.24s ease,
    border-color 0.2s ease;
}

.transport-breakdown li.is-visible {
  max-height: 56px;
  padding-top: 9px;
  padding-bottom: 9px;
  opacity: 1;
  transform: translateY(0) scale(1);
  border-color: rgba(15, 109, 255, 0.14);
}

.transport-breakdown li[hidden] {
  display: none;
}

.transport-breakdown li strong {
  font-weight: 700;
  color: var(--transport-text);
  white-space: nowrap;
}

.transport-breakdown li#transportQuoteRowOutbound strong,
.transport-breakdown li#transportQuoteRowReturn strong {
  color: #0b4ab2;
}

.transport-breakdown li#transportQuoteRowCoupon strong {
  color: #b42318;
}

.transport-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid rgba(15, 109, 255, 0.38);
  background: linear-gradient(135deg, rgba(15, 109, 255, 0.2), rgba(15, 109, 255, 0.09));
  font-size: 15px;
  font-weight: 700;
}

.transport-total strong {
  font-size: 20px;
  letter-spacing: -0.01em;
}

.transport-coupon-box {
  border: 1px solid rgba(15, 109, 255, 0.2);
  background: rgba(255, 255, 255, 0.86);
  border-radius: 11px;
  padding: 10px 11px;
  display: grid;
  gap: 8px;
}

.transport-coupon-box > label {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: #1f3c57;
}

.transport-coupon-box__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
}

.transport-coupon-box__row input {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(15, 109, 255, 0.22);
  border-radius: 10px;
  padding: 9px 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  background: #ffffff;
  color: #0b1324;
}

.transport-coupon-box__row input:focus {
  outline: none;
  border-color: rgba(15, 109, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(15, 109, 255, 0.15);
}

.transport-coupon-box__status {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #24466c;
}

.transport-coupon-box__status.is-error {
  color: #9a2525;
}

.transport-coupon-box__status.is-success {
  color: #0f7f74;
}

.transport-deposit-note {
  border: 1px solid rgba(29, 180, 165, 0.36);
  background: linear-gradient(135deg, rgba(29, 180, 165, 0.12), rgba(29, 180, 165, 0.05));
  border-radius: 11px;
  padding: 10px 11px;
  display: grid;
  gap: 6px;
}

.transport-deposit-note[hidden] {
  display: none;
}

.transport-deposit-note__title {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 800;
  color: #0f7f74;
}

.transport-deposit-note__text {
  margin: 0;
  font-size: 12px;
  color: #1f3c57;
  line-height: 1.45;
}

.transport-deposit-note__text strong {
  color: #0b4ab2;
  font-size: 14px;
  white-space: nowrap;
}

.transport-warning-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.transport-warning-list li {
  font-size: 12px;
  color: var(--transport-warning);
  border: 1px solid rgba(183, 121, 31, 0.35);
  background: rgba(183, 121, 31, 0.09);
  border-radius: 9px;
  padding: 8px 10px;
}

.transport-success {
  font-size: 13px;
  border-radius: 12px;
  padding: 12px 13px;
  border: 1px solid rgba(29, 180, 165, 0.35);
  background: rgba(29, 180, 165, 0.14);
  color: #13695f;
}

.transport-mini-summary {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 10px);
  z-index: 70;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  border-radius: 14px;
  border: 1px solid rgba(15, 109, 255, 0.24);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 34px rgba(8, 33, 77, 0.2);
}

.transport-mini-summary[hidden] {
  display: none !important;
}

.transport-mini-summary__content {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.transport-mini-summary__label {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #33557c;
  font-weight: 700;
}

.transport-mini-summary__total {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
  color: #0b1324;
}

.transport-mini-summary__meta {
  margin: 0;
  font-size: 11px;
  color: #2d5279;
}

.transport-mini-summary__meta strong {
  color: #0b4ab2;
}

.transport-mini-summary__state {
  margin: 0;
  font-size: 11px;
  color: #395d84;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.transport-mini-summary__state.is-ok {
  color: #0f7f74;
}

.transport-mini-summary__state.is-warn {
  color: #9a2525;
}

.transport-mini-summary__btn {
  border: 1px solid rgba(15, 109, 255, 0.3);
  background: linear-gradient(145deg, rgba(15, 109, 255, 0.14), rgba(15, 109, 255, 0.06));
  color: #0b4ab2;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.transport-footnote {
  font-size: 12px;
  color: var(--transport-muted);
}

@media (prefers-reduced-motion: reduce) {
  .transport-breakdown li {
    transition: none;
  }
}

@media (max-width: 760px) {
  .transport-booking-header__inner,
  .transport-booking-main {
    padding-left: 12px;
    padding-right: 12px;
  }

  .transport-field-grid {
    grid-template-columns: 1fr;
  }

  .transport-field--wide {
    grid-column: span 1;
  }

  .transport-coupon-box__row {
    grid-template-columns: 1fr;
  }

  .transport-submit-row {
    grid-template-columns: 1fr;
  }

  .transport-submit-btn {
    width: 100%;
  }

  .transport-booking-form {
    padding: 14px;
    gap: 12px;
  }

  .transport-quote {
    padding: 14px;
  }

  .transport-hero {
    padding: 16px 14px 14px;
  }

  .transport-section {
    padding: 12px;
  }

  .transport-booking-brand__text {
    font-size: 15px;
  }

  .transport-booking-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .transport-booking-nav a {
    flex: 1 1 auto;
  }

  .transport-booking-main {
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 116px);
  }

  .transport-booking-page .app-footer {
    margin: 10px 12px 18px;
  }
}

@media (min-width: 761px) {
  .transport-mini-summary {
    display: none !important;
  }
}
