:root {
  --blue: #063970;
  --blue2: #0a65a8;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f5f7fb;
  --good: #047857;
  --warn: #b45309;
  --bad: #b91c1c;
  --card: #fff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}
body.booking-page {
  --booking-header-height: 64px;
}
body.dashboard-page {
  --booking-header-height: 64px;
  scroll-padding-top: calc(var(--booking-header-height) + 18px);
}
.dashboard-page #dashboard,
.dashboard-page #bookings,
.dashboard-page #passengers,
.dashboard-page #profile {
  scroll-margin-top: calc(var(--booking-header-height) + 18px);
}

@media (max-width: 700px) {
  body.dashboard-page {
    --booking-header-height: 76px;
  }
}

@media (max-width: 420px) {
  body.dashboard-page {
    --booking-header-height: 88px;
    scroll-padding-top: calc(var(--booking-header-height) + 14px);
  }
  .dashboard-page #dashboard,
  .dashboard-page #bookings,
  .dashboard-page #passengers,
  .dashboard-page #profile {
    scroll-margin-top: calc(var(--booking-header-height) + 14px);
  }
}

a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.shuttle-top {
  min-height: 64px;
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem clamp(1rem, 4vw, 2rem);
  background: #fff;
}
.shuttle-menu-toggle {
  display: none;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8fafc;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  padding: 0.6rem 0.9rem;
  cursor: pointer;
}
.shuttle-menu-toggle:hover {
  background: #eef4fb;
}
.shuttle-menu-toggle:focus-visible {
  outline: 3px solid rgba(10, 101, 168, 0.25);
  outline-offset: 2px;
}
.shuttle-menu-toggle.shuttle-menu-icon-only {
  gap: 0;
  padding: 0.6rem;
}
.shuttle-menu-icon {
  width: 20px;
  height: 14px;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
}
.shuttle-menu-icon span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}
.shuttle-brand {
  min-width: min(520px, 100%);
  max-width: 640px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.18rem;
  color: var(--ink);
}
.shuttle-brand-home {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-weight: 800;
}
.shuttle-brand-home:hover {
  text-decoration: none;
}
.shuttle-brand-home img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.shuttle-brand-name {
  font-weight: 900;
}
.shuttle-brand-note {
  display: grid;
  gap: 0.15rem;
  max-width: 100%;
  margin-top: 0.15rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(10, 101, 168, 0.16);
  border-radius: 10px;
  background: #f8fbff;
  font-size: 0.78rem;
  line-height: 1.32;
  color: #334155;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
}
.shuttle-brand-note a {
  color: var(--blue);
  font-weight: 800;
}
.shuttle-brand-contact {
  color: #0f172a;
  font-weight: 700;
}
.shuttle-top nav {
  flex: 0 0 auto;
  display: flex;
  gap: 0.8rem;
  align-items: center;
  flex-wrap: wrap;
}
.shuttle-top nav a {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
}
.shuttle-top.shuttle-nav-single {
  align-items: center;
}
.shuttle-top.shuttle-nav-single nav {
  margin-left: auto;
  display: flex;
}
.shuttle-top.shuttle-nav-single nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(10, 101, 168, 0.2);
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, #f1f7fd);
  color: var(--blue);
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(10, 101, 168, 0.08);
}
.shuttle-top.shuttle-nav-single nav a:hover {
  text-decoration: none;
  background: #eaf3fb;
}
.shuttle-top.shuttle-nav-booking {
  height: auto;
  align-items: center;
}
.shuttle-top.shuttle-nav-booking nav {
  margin-left: auto;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.shuttle-top.shuttle-nav-booking nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(10, 101, 168, 0.2);
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, #f1f7fd);
  color: var(--blue);
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(10, 101, 168, 0.08);
}
.shuttle-top.shuttle-nav-booking nav a:hover {
  text-decoration: none;
  background: #eaf3fb;
}
.shuttle-main {
  max-width: 100%;
}
.shuttle-footer {
  text-align: center;
  color: var(--muted);
  padding: 2rem 1rem;
}
.shuttle-footer-help {
  display: grid;
  gap: 0.2rem;
  justify-items: center;
}
.shuttle-footer-help strong {
  color: var(--ink);
}
.booking-hero {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: stretch;
  background: linear-gradient(135deg, var(--blue), #10243d);
  color: #fff;
  border-radius: 24px;
  padding: clamp(1.4rem, 5vw, 2.5rem);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
}
.dashboard-head,
.admin-head {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: stretch;
  background: linear-gradient(135deg, var(--blue), #10243d);
  color: #fff;
  border-radius: 24px;
  padding: clamp(1.4rem, 5vw, 2.5rem);
  margin-bottom: 1.5rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
}
.booking-hero h1,
.dashboard-head h1,
.admin-head h1 {
  margin: 0.2rem 0 0.5rem;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1;
}
.booking-hero p,
.dashboard-head p,
.admin-head p {
  max-width: 760px;
  color: #dbeafe;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 900;
  color: #bfdbfe;
  margin: 0;
}
.booking-help-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  padding: 1rem;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.booking-help-card a {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 900;
}
.form-card,
.admin-section,
.dash-panel,
.success-panel,
.auth-card,
.driver-trip-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(1rem, 3vw, 1.6rem);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  margin-bottom: 1.2rem;
}
.step-card {
  position: relative;
}
.step-badge {
  display: inline-flex;
  background: #e0ecff;
  color: var(--blue);
  font-weight: 900;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.8rem;
}
.form-card h2,
.admin-section h2,
.dash-panel h2,
.driver-trip-card h2 {
  margin: 0.4rem 0 1rem;
}
.grid {
  display: grid;
  gap: 1rem;
}
.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid.six {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.span-two {
  grid-column: span 2;
}
.span-four {
  grid-column: span 4;
}
label,
.field-label {
  display: block;
  font-weight: 800;
  color: #334155;
}
input,
select,
textarea {
  width: 100%;
  margin-top: 0.35rem;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  font: inherit;
  background: #fff;
  color: var(--ink);
}
.locked-field[disabled] {
  background: #f8fafc;
  color: #475569;
  border-color: #d7e0ea;
  cursor: not-allowed;
  opacity: 1;
}
.field-lock-note {
  display: inline-block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}
.profile-locked-note {
  margin: 0 0 1rem;
  max-width: 52rem;
}
textarea {
  resize: vertical;
}
.point-grid {
  margin-top: 1rem;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.9rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  transition: 0.2s ease;
  font: inherit;
}
.btn.primary {
  background: var(--blue);
  color: #fff;
}
.btn.primary:hover {
  background: var(--blue2);
  text-decoration: none;
}
.btn.ghost {
  background: #fff;
  color: var(--blue);
  border: 1px solid var(--line);
}
.btn.secondary-dark {
  background: #0f172a;
  color: #fff;
}
.btn.tiny {
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  background: #e2e8f0;
  color: #0f172a;
  font-size: 0.82rem;
}
.btn.wide {
  width: 100%;
  font-size: 1.05rem;
}
.promo-code-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.6rem;
}
.promo-code-field .btn {
  min-height: 48px;
  margin-bottom: 0;
}
.time-list {
  display: grid;
  gap: 0.6rem;
}
.time-option {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.75rem;
  background: #fff;
  cursor: pointer;
}
.time-option:has(input:checked) {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(6, 57, 112, 0.12);
}
.time-option input {
  width: auto;
  margin: 0;
}
.time-option span {
  display: flex;
  flex-direction: column;
}
.time-option small {
  color: var(--muted);
  font-weight: 600;
}
.passenger-counters {
  display: grid;
  gap: 0.8rem;
}
.counter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
}
.counter-row span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}
.counter {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.counter button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: var(--blue);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 900;
}
.counter input {
  width: 48px;
  text-align: center;
  margin: 0;
  font-weight: 900;
}
.total-passengers {
  margin-top: 1rem;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
}
.traveller-fields {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}
.traveller-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  background: #fbfdff;
}
.traveller-card h3 {
  margin: 0 0 0.7rem;
}
.checkbox-line {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  margin: 0.9rem 0;
}
.checkbox-line input {
  width: auto;
  margin-top: 0.2rem;
}
.notice-panel,
.policy-box,
.hint-box,
.notice-inline {
  border: 1px solid #fed7aa;
  background: #fff7ed;
  color: #7c2d12;
  border-radius: 16px;
  padding: 1rem;
  margin-bottom: 1rem;
}
.policy-box {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1e3a8a;
}
.policy-box h3 {
  margin-bottom: 0.45rem;
}
.refund-policy-list {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.refund-policy-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.45rem;
  align-items: start;
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.35;
}
.booking-review {
  margin: 0 0 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.booking-review-head {
  padding: 1rem 1.1rem 0.85rem;
  border-bottom: 1px solid var(--line);
}
.booking-review-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.2;
}
.booking-review-head p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}
.booking-review-list {
  display: grid;
}
.booking-review-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1.1rem;
}
.booking-review-row + .booking-review-row {
  border-top: 1px solid var(--line);
}
.booking-review-row span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.booking-review-row strong {
  display: block;
  margin-top: 0.18rem;
  color: #111827;
  font-size: 1rem;
  line-height: 1.35;
}
.booking-review-edit {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  background: #fff;
  color: var(--blue);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  cursor: pointer;
}
.booking-review-edit:hover,
.booking-review-edit:focus-visible {
  border-color: #bfdbfe;
  background: #eff6ff;
}
.price-summary {
  overflow: hidden;
  margin: 1rem 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}
.fare-deal-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.7rem 1rem;
  background: #047a2c;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}
.fare-deal-banner[hidden] {
  display: none;
}
.fare-deal-banner strong {
  font-size: inherit;
}
.fare-breakup-body {
  display: grid;
  gap: 1.05rem;
  padding: 1.25rem 1.5rem 1.15rem;
}
.fare-breakup-heading h3 {
  margin: 0;
  color: #202124;
  font-size: 1.35rem;
  line-height: 1.2;
}
.fare-breakup-heading p {
  margin: 0.15rem 0 0;
  color: #737373;
  font-size: 1.05rem;
  font-weight: 700;
}
.fare-line,
.fare-total-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.fare-line span,
.fare-line strong,
.fare-total-line span,
.fare-total-line strong {
  display: block;
}
.fare-line span {
  color: #111;
  font-size: 1.02rem;
  font-weight: 500;
}
.fare-line strong {
  color: #0b0b0b;
  font-size: 1.14rem;
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
}
.fare-discount span,
.fare-discount strong {
  color: #047a2c;
}
.fare-total-line {
  border-top: 1px solid var(--line);
  padding: 1.05rem 1.5rem 1.15rem;
}
.fare-total-line span {
  color: #202124;
  font-size: 1.55rem;
  font-weight: 900;
}
.fare-total-line strong {
  color: #202124;
  font-size: 1.65rem;
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
}
.flash {
  padding: 1rem;
  border-radius: 14px;
  margin-bottom: 1rem;
  font-weight: 800;
}
.flash.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #bbf7d0;
}
.flash.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.success-panel {
  text-align: center;
  max-width: 780px;
  margin: 2rem auto;
}
.success-panel h1,
.success-panel h2 {
  font-size: 2rem;
}
.actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.auth-card {
  max-width: 520px;
  margin: 2rem auto;
}
.dashboard-grid,
.admin-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.dashboard-main {
  width: min(100%, 1100px);
  margin: 1.2rem auto;
  justify-content: center;
}
.dashboard-layout {
  width: min(100%, 1320px);
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.dashboard-sidebar {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.07);
  padding: 1.35rem;
  position: sticky;
  top: 1rem;
}
.dashboard-sidebar-profile {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.dashboard-avatar {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #0f766e, #38bdf8);
  color: #fff;
  font-size: 1.45rem;
  font-weight: 900;
  box-shadow: 0 12px 25px rgba(15, 118, 110, 0.24);
}
.dashboard-sidebar-label {
  margin: 0 0 0.35rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  font-weight: 800;
}
.dashboard-sidebar-profile h2 {
  margin: 0;
  font-size: 1.15rem;
}
.dashboard-verify-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  margin-top: 0.55rem;
  font-size: 0.78rem;
  font-weight: 900;
}
.dashboard-verify-badge.is-verified {
  background: #dcfce7;
  color: #166534;
}
.dashboard-verify-badge.is-pending {
  background: #fef3c7;
  color: #92400e;
}
.dashboard-menu {
  display: grid;
  gap: 0.7rem;
}
.dashboard-menu a {
  display: block;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}
.dashboard-menu a:hover,
.dashboard-menu a:focus-visible,
.dashboard-menu a.is-active {
  border-color: rgba(59, 130, 246, 0.32);
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.08);
  transform: translateY(-1px);
  text-decoration: none;
}
.dashboard-content {
  display: grid;
  gap: 1.2rem;
  min-width: 0;
}
.dashboard-welcome {
  margin: 0 0 0.25rem;
}
.dashboard-welcome h1 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.05;
  color: #10243d;
  letter-spacing: -0.03em;
}
.dashboard-hero-stack {
  display: grid;
  gap: 1rem;
}
.dashboard-verification-banner {
  margin: 0;
}
.dashboard-verification-banner.is-verified {
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
  border-color: #bbf7d0;
  color: #166534;
}
.dashboard-stats-panel {
  margin-bottom: 0;
}
.dashboard-booking-overview {
  align-items: start;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.stats-grid div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}
.stats-grid strong {
  display: block;
  font-size: 2rem;
  color: var(--blue);
}
.stats-grid span {
  color: var(--muted);
  font-weight: 800;
}
.booking-card-small {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  margin-bottom: 0.8rem;
  background: #fbfdff;
}
.booking-card-small div {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  align-items: center;
}
.booking-card-header {
  flex-wrap: wrap;
}
.booking-card-small p {
  margin: 0.35rem 0;
}
.booking-modify-panel {
  margin-top: 0.85rem;
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}
.booking-modify-panel summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--blue);
  list-style: none;
}
.booking-modify-panel summary::-webkit-details-marker {
  display: none;
}
.booking-modify-form {
  margin-top: 0.85rem;
}
.modify-trip-help {
  margin: -0.15rem 0 0.25rem;
}
.status-pill {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: capitalize;
  background: #e2e8f0;
  color: #334155;
}
.status-pill.confirmed,
.status-pill.completed,
.status-pill.checked_in,
.status-pill.paid,
.status-pill.open {
  background: #dcfce7;
  color: #166534;
}
.status-pill.pending_confirmation,
.status-pill.pending_payment,
.status-pill.scheduled,
.status-pill.pending {
  background: #fef3c7;
  color: #92400e;
}
.status-pill.cancelled,
.status-pill.rejected,
.status-pill.no_show {
  background: #fee2e2;
  color: #991b1b;
}
.status-pill.delayed {
  background: #ffedd5;
  color: #9a3412;
}
.responsive-table {
  overflow: auto;
  margin: 1rem 0;
}
.responsive-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}
.responsive-table th,
.responsive-table td {
  border-bottom: 1px solid var(--line);
  padding: 0.75rem;
  text-align: left;
  vertical-align: top;
}
.responsive-table th {
  background: #f8fafc;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #475569;
}
.compact table {
  min-width: 620px;
}
.admin-jump {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-content: flex-start;
}
.admin-jump a {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  font-weight: 800;
}
.admin-form {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  margin: 1rem 0;
}
.admin-form input,
.admin-form select,
.admin-form textarea {
  margin-bottom: 0.5rem;
}
.mini-form {
  display: grid;
  gap: 1rem;
  margin: 0.6rem 0;
}
.inline-form {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  align-items: end;
  margin-top: 1rem;
}
.inline-form input {
  min-width: 180px;
  width: auto;
  flex: 1;
}
.driver-trip-card {
  margin-bottom: 1.5rem;
}
.trip-title-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.vehicle-chip {
  background: #f1f5f9;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  font-weight: 800;
  align-self: start;
}
.driver-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}
.pickup-group {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  margin-top: 1rem;
}
.driver-booking {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  margin: 0.8rem 0;
  background: #fbfdff;
}
.inline-buttons {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.booking-form {
  display: grid;
  gap: 1rem;
  padding: 0.75rem;
}

@media (max-width: 900px) {
  .dashboard-main {
    padding: 1.2rem;
  }
  .dashboard-layout {
    grid-template-columns: 1fr;
  }
  .dashboard-sidebar {
    position: static;
  }
  .dashboard-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .booking-hero,
  .dashboard-head,
  .admin-head,
  .dashboard-welcome,
  .trip-title-row {
    flex-direction: column;
    width: 100%;
  }
  .grid.two,
  .grid.three,
  .grid.four,
  .grid.six,
  .dashboard-grid,
  .admin-columns,
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .span-two,
  .span-four {
    grid-column: auto;
  }
  .price-summary {
    grid-template-columns: 1fr;
  }
  .shuttle-top.shuttle-nav-multi {
    align-items: flex-start;
    flex-direction: column;
  }
  .shuttle-top.shuttle-nav-multi nav {
    width: 100%;
    overflow: auto;
  }
  .counter-row {
    align-items: flex-start;
  }
  .booking-help-card {
    min-width: 0;
  }
  .inline-form input {
    width: 100%;
  }
  .promo-code-field {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .booking-review-head,
  .booking-review-row {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .booking-review-row {
    align-items: start;
    gap: 0.65rem;
  }
  .booking-review-row strong {
    font-size: 0.95rem;
  }
  .booking-review-edit {
    min-height: 34px;
    padding: 0.28rem 0.65rem;
    font-size: 0.82rem;
  }
  .fare-deal-banner {
    gap: 0.45rem;
    padding: 0.65rem 0.75rem;
    font-size: 0.95rem;
  }
  .fare-breakup-body {
    gap: 0.9rem;
    padding: 1rem;
  }
  .fare-breakup-heading h3 {
    font-size: 1.2rem;
  }
  .fare-breakup-heading p {
    font-size: 0.98rem;
  }
  .fare-line span {
    font-size: 0.98rem;
  }
  .fare-line strong {
    font-size: 1.04rem;
  }
  .fare-total-line {
    padding: 0.95rem 1rem 1rem;
  }
  .fare-total-line span,
  .fare-total-line strong {
    font-size: 1.35rem;
  }
  .dashboard-main {
    padding: 1.2rem;
  }
  .dashboard-layout {
    gap: 1rem;
  }
  .dashboard-sidebar {
    padding: 1rem;
    border-radius: 20px;
  }
  .dashboard-sidebar-profile {
    align-items: flex-start;
  }
  .dashboard-avatar {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }
  .dashboard-menu {
    grid-template-columns: 1fr;
  }
  .booking-hero,
  .dashboard-head,
  .admin-head,
  .dashboard-welcome {
    border-radius: 18px;
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }
  .form-card,
  .admin-section,
  .dash-panel,
  .success-panel,
  .auth-card,
  .driver-trip-card {
    border-radius: 16px;
    padding: 1rem;
  }
  .counter-row {
    padding: 0.8rem;
  }
  .counter button {
    width: 38px;
    height: 38px;
  }
  .responsive-table table {
    font-size: 0.88rem;
  }
  .btn {
    width: 100%;
  }
  .actions .btn {
    width: 100%;
  }
}

/* UI v2 admin + mobile booking improvements */
body.admin-v2 .shuttle-main {
  max-width: 100%;
}
.admin-v2 .admin-head {
  margin-bottom: 1rem;
}
.compact-stats {
  position: relative;
}
.admin-accordion {
  display: grid;
  gap: 1rem;
}
.admin-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}
.admin-panel > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: linear-gradient(180deg, #fff, #f8fafc);
  font-weight: 900;
}
.admin-panel > summary::-webkit-details-marker {
  display: none;
}
.admin-panel > summary span {
  font-size: 1.25rem;
}
.admin-panel > summary small {
  color: var(--muted);
  font-weight: 700;
  text-align: right;
}
.admin-panel > summary:after {
  content: "+";
  font-size: 1.5rem;
  line-height: 1;
  background: #e0ecff;
  color: var(--blue);
  border-radius: 999px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.admin-panel[open] > summary:after {
  content: "–";
}
.panel-body {
  padding: 1.1rem;
}
.create-card {
  background: #f8fbff;
  border-color: #dbeafe;
}
.card-grid,
.trip-cards {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0;
}
.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.admin-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}
.admin-card strong {
  display: block;
  font-size: 1rem;
}
.admin-card small {
  display: block;
  color: var(--muted);
  margin-top: 0.25rem;
}
.trip-admin-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.8rem;
  align-items: start;
}
.admin-trip-view {
  display: grid;
  gap: 0.35rem;
}
.admin-trip-label {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.admin-trip-route {
  display: grid;
  gap: 0.2rem;
  font-weight: 800;
  color: var(--ink);
}
.admin-trip-arrow {
  color: var(--blue);
  font-size: 1.1rem;
  line-height: 1;
}
.admin-trip-stop {
  color: #334155;
  font-size: 0.92rem;
}
.admin-trip-time {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: 0.15rem;
}
.admin-trip-time-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  background: #dbeafe;
  color: var(--blue);
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(6, 57, 112, 0.08);
}
.card-main {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.edit-drop {
  grid-column: 1 / -1;
  margin-top: 0.6rem;
  border-top: 1px solid var(--line);
  padding-top: 0.6rem;
}
.edit-drop > summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--blue);
  padding: 0.4rem 0;
}
.edit-form {
  margin-top: 0.6rem;
}
.checkbox-line.compact {
  margin: 0.35rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.checkbox-line.compact input {
  width: auto;
  margin: 0;
}
.admin-v2 .admin-form {
  box-shadow: none;
}
.admin-v2 input,
.admin-v2 select,
.admin-v2 textarea {
  min-height: 46px;
}
.admin-v2 button {
  min-height: 42px;
}
.booking-page .shuttle-main {
  max-width: 100%;
}
.booking-form {
  max-width: 100%;
  margin: 0 auto;
  padding: 0.75rem;
}
.booking-page .form-card {
  border-radius: 24px;
}
.booking-page input,
.booking-page select,
.booking-page textarea {
  min-height: 52px;
  font-size: 16px;
}
.booking-page .btn.wide {
  min-height: 56px;
  border-radius: 16px;
}
.booking-page .time-list {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.booking-page .time-option {
  min-height: 78px;
  border-width: 2px;
}
.booking-page .time-option strong {
  font-size: 1.25rem;
}
.booking-page .counter-row {
  background: #fff;
}
.booking-page .counter button {
  touch-action: manipulation;
}
.booking-page .price-summary {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}
@media (max-width: 760px) {
  .dashboard-main {
    padding: 1.2rem;
  }
  .booking-hero,
  .dashboard-head,
  .admin-head {
    padding: 1.2rem;
    border-radius: 18px;
    margin-bottom: 1rem;
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
  }
  .dashboard-welcome {
    padding: 0;
    margin: 0 auto;
    max-width: 760px;
    width: 100%;
  }
  .booking-hero h1,
  .dashboard-head h1,
  .admin-head h1 {
    font-size: 2.15rem;
  }
  .dashboard-welcome h1 {
    font-size: 2.15rem;
  }
  .dashboard-page .dashboard-main {
    width: 100%;
    margin: 0 auto;
    padding: 1rem 0.9rem 1.6rem;
  }
  .dashboard-page .dashboard-content {
    gap: 1rem;
  }
  .dashboard-page .dashboard-sidebar {
    padding: 1rem;
  }
  .dashboard-page .dashboard-sidebar-profile {
    align-items: flex-start;
  }
  .dashboard-page .dashboard-menu {
    grid-template-columns: 1fr;
  }
  .dashboard-page .dashboard-verification-banner .inline-buttons {
    display: grid;
    grid-template-columns: 1fr;
  }
  .dashboard-page .dashboard-verification-banner .btn,
  .dashboard-page .dashboard-passenger-form .btn,
  .dashboard-page .dashboard-profile-form .btn,
  .dashboard-page .booking-modify-form .btn {
    width: 100%;
  }
  .dashboard-page .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 0;
  }
  .dashboard-page .stats-grid div {
    padding: 0.9rem;
  }
  .dashboard-page .booking-card-small {
    padding: 0.9rem;
  }
  .dashboard-page .booking-card-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .dashboard-page .status-pill {
    max-width: 100%;
  }
  .dashboard-page .dashboard-passenger-form {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .dashboard-page .dashboard-passenger-form input {
    width: 100%;
    min-width: 0;
  }
  .dashboard-page .responsive-table {
    margin: 0.85rem 0;
  }
  .booking-help-card {
    padding: 0.85rem;
  }
  .booking-page .form-card {
    padding: 1rem;
    border-radius: 18px;
  }
  .step-badge {
    font-size: 0.72rem;
  }
  .grid.two,
  .grid.three,
  .grid.four,
  .grid.six {
    grid-template-columns: 1fr !important;
  }
  .counter-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
  }
  .counter button {
    width: 46px;
    height: 46px;
  }
  .counter input {
    height: 46px;
  }
  .traveller-card .grid {
    grid-template-columns: 1fr !important;
  }
  .price-summary {
    grid-template-columns: 1fr 1fr;
  }
  .price-summary strong {
    font-size: 1.05rem;
  }
  .admin-panel > summary {
    align-items: flex-start;
    padding: 1rem;
  }
  .admin-panel > summary span {
    font-size: 1.05rem;
  }
  .admin-panel > summary small {
    display: none;
  }
  .panel-body {
    padding: 0.75rem;
  }
  .trip-admin-card {
    grid-template-columns: 1fr;
  }
  .admin-card {
    padding: 0.85rem;
  }
  .admin-columns {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats-grid strong {
    font-size: 1.5rem;
  }
  .admin-jump {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
  .admin-jump a {
    text-align: center;
  }
  .responsive-table {
    border: 1px solid var(--line);
    border-radius: 16px;
  }
  .responsive-table table {
    min-width: 760px;
  }
  .booking-page .time-list {
    grid-template-columns: 1fr;
  }
  .booking-page .time-option {
    padding: 1rem;
  }
  .shuttle-top.shuttle-nav-multi nav {
    display: none;
  }
  .shuttle-top.shuttle-nav-multi nav a {
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.35rem 0.65rem;
  }
  .shuttle-brand-name {
    font-size: 0.95rem;
  }
}
@media (max-width: 420px) {
  .dashboard-main {
    padding: 1.2rem;
  }
  .dashboard-page .dashboard-main {
    padding: 0.85rem 0.7rem 1.4rem;
  }
  .booking-hero h1,
  .admin-head h1 {
    font-size: 1.85rem;
  }
  .dashboard-page .dashboard-welcome h1 {
    font-size: 1.8rem;
    line-height: 1.1;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dashboard-page .stats-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-page .dashboard-sidebar-profile {
    flex-direction: column;
    gap: 0.8rem;
  }
  .dashboard-page .dashboard-sidebar-profile h2 {
    font-size: 1rem;
  }
  .dashboard-page .dashboard-verify-badge {
    white-space: normal;
  }
  .dashboard-page .booking-card-small {
    border-radius: 14px;
  }
  .dashboard-page .dash-panel h2,
  .dashboard-page .form-card h2 {
    font-size: 1.1rem;
  }
  .price-summary {
    grid-template-columns: 1fr;
  }
  .admin-jump {
    grid-template-columns: 1fr;
  }
  .btn {
    min-height: 48px;
  }
  .shuttle-top.shuttle-nav-multi nav {
    display: none;
  }
  .shuttle-top.shuttle-nav-multi nav a {
    text-align: center;
  }
  .booking-page .counter-row {
    grid-template-columns: 1fr;
  }
  .booking-page .counter {
    justify-content: space-between;
  }
  .booking-page .counter input {
    flex: 0 0 60px;
  }
}

@media (max-width: 600px) {
  .dashboard-page .responsive-table {
    overflow: visible;
    border: 0;
    border-radius: 0;
  }
  .dashboard-page .responsive-table table,
  .dashboard-page .responsive-table thead,
  .dashboard-page .responsive-table tbody,
  .dashboard-page .responsive-table tr,
  .dashboard-page .responsive-table th,
  .dashboard-page .responsive-table td {
    display: block;
    width: 100%;
  }
  .dashboard-page .responsive-table table {
    min-width: 0;
    font-size: 0.95rem;
  }
  .dashboard-page .responsive-table thead {
    display: none;
  }
  .dashboard-page .responsive-table tbody {
    display: grid;
    gap: 0.85rem;
  }
  .dashboard-page .responsive-table tr {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fbfdff;
    padding: 0.85rem 0.9rem;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
  }
  .dashboard-page .responsive-table td {
    border: 0;
    padding: 0;
  }
  .dashboard-page .responsive-table td + td {
    margin-top: 0.65rem;
  }
  .dashboard-page .responsive-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.2rem;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
}

/* UI v3: mobile-first passenger booking polish + safer admin edit cards */
.mobile-progress {
  display: none;
}
.booking-form-v3 {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0.75rem;
}
.booking-page .form-card {
  overflow: hidden;
}
.booking-page .form-card h2 {
  font-size: 1.45rem;
}
.booking-page select,
.booking-page input,
.booking-page textarea {
  min-height: 48px;
}
.booking-page .field-label {
  margin: 0.3rem 0 0.55rem;
}
.booking-page .time-list {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.booking-page .time-option {
  position: relative;
  align-items: flex-start;
  padding: 1rem 1rem 1rem 0.9rem;
  border-width: 2px;
  background: linear-gradient(180deg, #fff, #f8fbff);
}
.booking-page .time-option input {
  margin-top: 0.25rem;
  accent-color: var(--blue);
}
.booking-page .time-option strong {
  font-size: 1.25rem;
  color: var(--blue);
}
.booking-page .time-option em {
  position: absolute;
  right: 0.9rem;
  top: 0.85rem;
  max-width: 45%;
  font-style: normal;
  font-size: 0.72rem;
  color: #64748b;
  text-align: right;
}
.booking-page .time-option:has(input:checked) {
  background: #eff6ff;
  transform: translateY(-1px);
}
.booking-page .counter-row {
  background: #fff;
}
.booking-page .counter-row strong {
  font-size: 1.08rem;
}
.booking-page .counter input {
  border: 0;
  background: #f8fafc;
}
.booking-page .checkout-card {
  border-color: #bfdbfe;
}
.admin-v2 .trip-admin-card {
  border-left: 5px solid var(--blue);
}
.admin-v2 .seat-detail-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--blue2);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.admin-v2 .seat-detail-link:hover,
.admin-v2 .seat-detail-link:focus-visible {
  text-decoration: underline;
}
.admin-v2 .seat-detail-modal {
  width: min(720px, calc(100vw - 2rem));
  border: 0;
  border-radius: 14px;
  padding: 1.25rem;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
}
.admin-v2 .seat-detail-modal::backdrop {
  background: rgba(15, 23, 42, 0.45);
}
.admin-v2 .seat-detail-modal__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.admin-v2 .seat-detail-modal__eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.admin-v2 .seat-detail-modal__header h2 {
  margin: 0;
  font-size: 1.2rem;
}
.admin-v2 .seat-detail-modal__close {
  min-width: 40px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8fafc;
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.admin-v2 .seat-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
.admin-v2 .seat-detail-card {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fafc;
}
.admin-v2 .seat-detail-card--wide {
  grid-column: 1 / -1;
}
.admin-v2 .seat-detail-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}
.admin-v2 .seat-detail-card strong {
  font-size: 0.98rem;
  word-break: break-word;
}
.admin-v2 .seat-detail-passenger-list {
  display: grid;
  gap: 0.75rem;
}
.admin-v2 .seat-detail-passenger-item {
  display: grid;
  gap: 0.2rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.admin-v2 .seat-detail-passenger-meta,
.admin-v2 .seat-detail-empty {
  font-size: 0.9rem;
  color: #475569;
}
.admin-v2 .trip-admin-card .card-main strong {
  font-size: 1.1rem;
}
.admin-v2 .edit-drop summary {
  background: #eef6ff;
  color: var(--blue);
  border: 1px solid #bfdbfe;
}
.admin-v2 input[type="time"] {
  font-weight: 900;
  color: #0f172a;
}

@media (max-width: 700px) {
  .dashboard-main {
    padding: 1.2rem;
  }
  body.booking-page {
    background: #eef4fb;
  }
  .booking-page .shuttle-top {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    padding: 0.7rem 0.9rem;
  }
  .booking-page .shuttle-brand-name {
    font-size: 0.95rem;
  }
  .booking-page .shuttle-top.shuttle-nav-booking nav {
    gap: 0.5rem;
  }
  .booking-page .shuttle-top.shuttle-nav-booking nav a {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 0.55rem 0.7rem;
    text-align: center;
    font-size: 0.86rem;
  }
  .booking-page .booking-hero {
    padding: 1.2rem;
    border-radius: 0 0 26px 26px;
    background: linear-gradient(145deg, #042d5a, #0a65a8);
  }
  .booking-page .booking-hero h1 {
    font-size: 2.15rem;
    letter-spacing: -0.04em;
  }
  .booking-page .booking-hero p {
    font-size: 0.98rem;
  }
  .booking-page .booking-help-card {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.26);
  }
  .mobile-progress {
    position: sticky;
    top: 74px;
    z-index: 15;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.35rem;
    margin: 0 0 0.75rem;
  }
  .mobile-progress span {
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    padding: 0.45rem 0.25rem;
    text-align: center;
    font-size: 0.76rem;
    font-weight: 900;
    color: var(--blue);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
  }
  .booking-page .form-card {
    border-radius: 22px;
    padding: 1rem;
    margin-bottom: 0.9rem;
    border: 1px solid #dbe7f3;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
  }
  .booking-page .step-badge {
    font-size: 0.72rem;
  }
  .booking-page .form-card h2 {
    font-size: 1.32rem;
    margin: 0.35rem 0 0.8rem;
  }
  .booking-page label,
  .booking-page .field-label {
    font-size: 0.95rem;
    color: #172033;
  }
  .booking-page input,
  .booking-page select,
  .booking-page textarea {
    min-height: 54px;
    border-radius: 16px;
    font-size: 16px;
    padding: 0.9rem 1rem;
    background: #fbfdff;
  }
  .booking-page textarea {
    min-height: 84px;
  }
  .booking-page .grid.two,
  .booking-page .grid.three,
  .booking-page .grid.four {
    gap: 0.75rem;
  }
  .booking-page .point-grid {
    margin-top: 0.75rem;
  }
  .booking-page .time-list {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .booking-page .time-option {
    min-height: 76px;
    padding: 1rem;
    border-radius: 18px;
  }
  .booking-page .time-option input {
    width: 22px;
    height: 22px;
  }
  .booking-page .time-option strong {
    font-size: 1.45rem;
    line-height: 1;
  }
  .booking-page .time-option small {
    font-size: 0.88rem;
  }
  .booking-page .time-option em {
    display: block;
    position: static;
    max-width: none;
    text-align: left;
    margin-top: 0.2rem;
    font-size: 0.76rem;
  }
  .booking-page .counter-row {
    border-radius: 20px;
    padding: 0.95rem;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  }
  .booking-page .counter button {
    width: 48px;
    height: 48px;
    font-size: 1.6rem;
  }
  .booking-page .counter input {
    width: 50px;
    font-size: 1.15rem;
  }
  .booking-page .total-passengers {
    border-radius: 18px;
    font-size: 1.05rem;
  }
  .booking-page .traveller-card {
    border-radius: 18px;
    background: #fff;
  }
  .booking-page .notice-panel,
  .booking-page .policy-box {
    border-radius: 18px;
  }
  .booking-page .price-summary:not(.fare-breakup) div {
    border-radius: 18px;
    background: #fff;
  }
  .booking-page .price-summary:not(.fare-breakup) strong {
    font-size: 1.7rem;
  }
  .booking-page .checkout-card .btn.primary.wide {
    position: sticky;
    bottom: 0.75rem;
    z-index: 10;
    min-height: 56px;
    border-radius: 18px;
    font-size: 1.08rem;
    box-shadow: 0 16px 34px rgba(6, 57, 112, 0.28);
  }
  .booking-page .muted {
    font-size: 0.91rem;
  }
  .booking-page .flash {
    border-radius: 18px;
  }
  .admin-v2 .admin-jump {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .admin-v2 .admin-jump a {
    text-align: center;
  }
  .admin-v2 .admin-panel summary {
    align-items: flex-start;
  }
  .admin-v2 .trip-admin-card {
    border-radius: 18px;
  }
  .admin-v2 .seat-detail-grid {
    grid-template-columns: 1fr;
  }
  .admin-v2 .edit-form {
    background: #fff;
  }
  .admin-v2 input,
  .admin-v2 select,
  .admin-v2 textarea {
    min-height: 48px;
    font-size: 16px;
  }
}

.step-card {
  display: none;
  animation: fadeIn 0.25s ease;
}

.step-card.active {
  display: block;
}

.step-actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}

.step-actions.single {
  justify-content: flex-end;
}

.step-actions button {
  min-width: 120px;
}

.booking-step-card.active {
  border-color: #0a65a8;
  background: #0a65a8;
  color: #fff;
  transform: translateY(-2px);
}

.booking-step-card.active strong,
.booking-step-card.active small {
  color: #fff;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.booking-stepper {
  position: sticky;
  top: calc(var(--booking-header-height, 64px) - 1px);
  z-index: 29;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  gap: 1rem;

  padding: 1.25rem max(2rem, calc((100vw - 980px) / 2 + 2rem));

  background: #fff;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1rem;
}

.booking-progress {
  position: absolute;
  left: 110px;
  right: 110px;
  top: 44px;

  height: 4px;
  background: #e6ebf3;
  border-radius: 999px;
}

.booking-progress-fill {
  width: 0%;
  height: 100%;
  background: #1565c0;
  border-radius: 999px;
  transition: 0.35s;
}

.booking-step {
  position: relative;

  flex: 1;

  display: flex;
  flex-direction: column;
  align-items: center;

  background: none;
  border: none;
}

.booking-step-number {
  position: relative;
  z-index: 2;

  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #d7deea;
  color: #334155;

  font-weight: 700;

  transition: 0.25s;
}

.booking-step-icon {
  width: 58px;
  height: 58px;

  margin-top: 1rem;
  margin-bottom: 0.75rem;

  border-radius: 16px;

  overflow: hidden;

  background: #eef3fb;
}

.booking-step-icon img {
  width: 100%;
  height: 100%;
}

.booking-step-text {
  text-align: center;
  padding-top: 8px;
}

.booking-step-text strong {
  display: block;
  font-size: 1.1rem;
}

.booking-step-text small {
  color: #64748b;
  font-size: 0.92rem;
}

.booking-step.active .booking-step-number {
  background: #1565c0;
  color: white;
}

.booking-step.completed .booking-step-number {
  background: #16a34a;
  color: white;
}

.booking-step.active .booking-step-text strong {
  color: #1565c0;
}

/* ===========================
   Tablets
=========================== */

@media (max-width: 992px) {
  .dashboard-main {
    padding: 1.2rem;
  }
  .shuttle-top.shuttle-nav-multi {
    height: auto;
    align-items: center;
  }
  .shuttle-top.shuttle-nav-multi .shuttle-menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }
  .shuttle-top.shuttle-nav-multi nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 0.9rem 0 0.25rem;
  }
  body.shuttle-nav-open .shuttle-top.shuttle-nav-multi {
    align-items: stretch;
  }
  body.shuttle-nav-open .shuttle-top.shuttle-nav-multi nav {
    display: flex;
  }
  body.shuttle-nav-open .shuttle-top.shuttle-nav-multi .shuttle-menu-toggle {
    background: #eaf2fb;
  }
  .shuttle-top.shuttle-nav-multi nav a {
    display: block;
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    text-align: left;
  }
  .booking-stepper {
    padding: 1rem 1.25rem;
    gap: 1rem;
  }

  .booking-progress {
    left: 80px;
    right: 80px;
    top: 38px;
  }

  .booking-step-icon {
    width: 52px;
    height: 52px;
  }

  .booking-step-text strong {
    font-size: 0.95rem;
  }

  .booking-step-text small {
    font-size: 0.8rem;
  }
}

/* ===========================
   Mobile
=========================== */

@media (max-width: 768px) {
  .dashboard-main {
    padding: 1.2rem;
  }
  .booking-stepper {
    position: sticky;
    top: calc(var(--booking-header-height, 64px) - 1px);

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;

    width: 100vw;

    padding: 0.85rem max(0.5rem, env(safe-area-inset-left)) 1rem
      max(0.5rem, env(safe-area-inset-right));

    border-radius: 0;

    gap: 0.25rem;

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);

    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
  }

  .booking-progress {
    left: 38px;
    right: 38px;
    top: 28px;
    height: 3px;
  }

  .booking-step {
    flex: 1;
    min-width: 0;

    padding: 0;

    gap: 0.35rem;
  }

  .booking-step-number {
    width: 32px;
    height: 32px;

    font-size: 0.82rem;

    margin: 0 auto;
  }

  /* Hide SVG icon on mobile */

  .booking-step-icon {
    display: none;
  }

  .booking-step-text {
    width: 100%;
    text-align: center;
    padding: 0 0.1rem;
  }

  .booking-step-text strong {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.15;
    white-space: normal;
    text-wrap: balance;
  }

  .booking-step-text small {
    display: none;
  }

  .booking-step.active .booking-step-number {
    transform: scale(1.12);
    box-shadow: 0 0 0 5px rgba(21, 101, 192, 0.15);
  }

  .booking-step.completed .booking-step-number::after {
    content: "✓";
    font-size: 0.8rem;
  }

  .step-actions {
    flex-direction: column-reverse;
    gap: 0.75rem;
  }

  .step-actions.single {
    justify-content: stretch;
  }

  .step-actions button,
  .step-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .booking-page .booking-help-card,
  .booking-page .booking-help-card a,
  .booking-page .shuttle-brand-note,
  .booking-page .shuttle-brand-contact {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .booking-page .checkbox-line {
    align-items: flex-start;
  }
}

/* ===========================
   Small Phones
=========================== */

@media (max-width: 480px) {
  .dashboard-main {
    padding: 1.2rem;
  }
  .booking-stepper {
    top: calc(var(--booking-header-height, 64px) - 1px);

    padding: 0.75rem max(0.35rem, env(safe-area-inset-left)) 0.85rem
      max(0.35rem, env(safe-area-inset-right));
  }

  .booking-progress {
    left: 22px;
    right: 22px;
    top: 25px;
  }

  .booking-step-number {
    width: 28px;
    height: 28px;

    font-size: 0.75rem;
  }

  .booking-step-text strong {
    font-size: 0.65rem;

    letter-spacing: 0.02em;
  }

  .booking-page .booking-help-card a {
    font-size: 1rem;
  }

  .booking-page .counter-row {
    gap: 0.9rem;
  }

  .booking-page .counter {
    width: 100%;
  }

  .booking-page .counter button {
    flex: 0 0 46px;
  }

  .booking-page .counter input {
    flex: 1 1 auto;
    max-width: 72px;
  }
}

.shuttle-login {
  margin: 1rem 0;
}
