:root {
  --bg: #070d1c;
  --bg-soft: #101a33;
  --card: rgba(16, 25, 48, 0.82);
  --card-border: rgba(151, 176, 255, 0.28);
  --text: #ecf2ff;
  --muted: #adc0f0;
  --accent: #62b5ff;
  --accent-2: #8b6dff;
  --success: #43d197;
  --danger: #ff6f8f;
  --shadow: 0 24px 60px rgba(3, 8, 22, 0.55);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 20%, #1f2e69 0%, transparent 30%),
    radial-gradient(circle at 80% 0%, #1b3f72 0%, transparent 35%),
    var(--bg);
}

.bg-glow {
  position: fixed;
  width: 32rem;
  height: 32rem;
  border-radius: 999px;
  filter: blur(90px);
  z-index: -1;
  opacity: 0.5;
}

.bg-glow-1 {
  top: -10rem;
  left: -10rem;
  background: #5a7bff;
}

.bg-glow-2 {
  right: -10rem;
  bottom: -10rem;
  background: #3dd1ff;
}

.page {
  width: min(1100px, 100% - 2rem);
  margin: 0.5rem auto 0.5rem;
}

.card {
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(21, 31, 58, 0.92), rgba(11, 18, 35, 0.9));
  border: 1px solid var(--card-border);
  border-radius: 1.4rem;
  box-shadow: var(--shadow);
  padding: clamp(1rem, 2vw, 1.6rem);
  animation: fadeUp 620ms ease-out both;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: nowrap;
}

.logo-box {
  width: min(300px, 42%);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.8rem;
  border: 1px solid rgba(175, 199, 255, 0.35);
  background: rgba(176, 198, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  padding: 0.25rem 0.6rem;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.logo-box:hover {
  transform: translateY(-1px);
  border-color: rgba(186, 208, 255, 0.52);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 10px 25px rgba(4, 12, 34, 0.38);
}

.brand-logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}

.logo-box-left .brand-logo {
  max-height: 52px;
}

.logo-box-right .brand-logo {
  max-height: 52px;
  transform: scale(1.3);
  transform-origin: center;
}

.logo-divider {
  font-size: 1.3rem;
  color: #a7baf0;
  font-weight: 700;
  margin-top: -2px;
}

.heading {
  text-align: center;
  margin-bottom: 0.6rem;
  animation: fadeUp 700ms ease-out both;
}

h1 {
  margin: 0;
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
}

form {
  display: grid;
  gap: 0.75rem;
}

.form-section {
  border: 1px solid rgba(157, 184, 255, 0.2);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0.95rem;
  padding: 0.75rem;
  display: grid;
  gap: 0.75rem;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
  animation: fadeUp 700ms ease-out both;
}

.conditional-section.is-hidden {
  display: none;
}

.is-hidden {
  display: none !important;
}

.step-hidden {
  display: none;
}

.conditional-section.error-block {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(255, 111, 143, 0.14);
}

.compact-section {
  margin-top: 0.15rem;
  padding: 0.65rem;
}

/* --- Section head with Will Call toggle --- */

.section-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.section-head h2 {
  margin: 0;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

.section-head p {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

/* --- Will Call toggle switch --- */

.will-call-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
}

.will-call-toggle input[type="checkbox"] {
  width: 2.2rem;
  height: 1.2rem;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(157, 184, 255, 0.12);
  border: 1px solid rgba(157, 184, 255, 0.3);
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  flex-shrink: 0;
}

.will-call-toggle input[type="checkbox"]::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(173, 192, 240, 0.45);
  transition: all 0.2s ease;
}

.will-call-toggle input[type="checkbox"]:checked {
  background: rgba(98, 181, 255, 0.3);
  border-color: var(--accent);
}

.will-call-toggle input[type="checkbox"]:checked::after {
  transform: translateX(1rem);
  background: var(--accent);
}

.will-call-toggle-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #d8e3ff;
  white-space: nowrap;
}

.will-call-toggle:has(input:disabled) {
  cursor: not-allowed;
  opacity: 0.4;
}

/* --- Confirmation screen --- */

.confirmation-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.5rem;
  padding: 3rem 1.5rem;
}

.confirmation-icon svg {
  width: 6rem;
  height: 6rem;
}

.confirmation-title {
  color: #f2f7ff;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
  max-width: 36rem;
}

.confirmation-trip-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.confirmation-res-num {
  color: #d8e6ff;
  font-size: 1rem;
  margin: 0;
  font-weight: 600;
}

.confirmation-btn {
  margin-top: 0.5rem;
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, rgba(98, 181, 255, 0.35), rgba(139, 109, 255, 0.3));
  border: 1px solid var(--accent);
  color: #f2f7ff;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.confirmation-btn:hover {
  background: linear-gradient(135deg, rgba(98, 181, 255, 0.5), rgba(139, 109, 255, 0.45));
}

.track-input-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: flex-end;
  margin-top: 0.5rem;
}
.schedule-filter-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: left;
}
.schedule-filter-label {
  color: rgba(216, 230, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.track-input {
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(157, 184, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
  color: #f2f7ff;
  min-width: 18rem;
  font-size: 0.95rem;
}

.dp-outer {
  position: relative;
  display: inline-block;
}
.date-picker.dp-floating {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  right: 0;
  min-width: 18rem;
}
.track-input:focus {
  outline: none;
  border-color: var(--accent);
}
.schedule-search-input {
  min-width: 16rem;
}
.track-result {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #d8e6ff;
}
.track-status-pill {
  align-self: center;
  margin-bottom: 0.25rem;
}
.schedule-count {
  color: rgba(216, 230, 255, 0.72);
  font-size: 0.85rem;
  font-weight: 600;
  margin: -0.5rem 0 0;
}
.track-back-btn {
  margin-top: 0.5rem;
}

/* --- Schedule list --- */

.schedule-result {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
  max-width: 32rem;
  margin: 0 auto;
  max-height: 34rem;
  overflow-y: auto;
  padding-right: 0.4rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(157, 184, 255, 0.35) transparent;
}
.schedule-result::-webkit-scrollbar {
  width: 6px;
}
.schedule-result::-webkit-scrollbar-thumb {
  background: rgba(157, 184, 255, 0.35);
  border-radius: 4px;
}
.schedule-result::-webkit-scrollbar-track {
  background: transparent;
}

.schedule-empty {
  color: rgba(216, 230, 255, 0.55);
  font-size: 0.9rem;
  margin: 0.5rem 0;
}

.schedule-group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.schedule-group-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(216, 230, 255, 0.62);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.2rem 0.35rem;
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(13, 19, 36, 0.95);
  backdrop-filter: blur(8px);
}

.schedule-group + .schedule-group .schedule-group-header {
  margin-top: 0.55rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(157, 184, 255, 0.12);
}

.schedule-group-count {
  color: rgba(216, 230, 255, 0.4);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.schedule-group.is-completed .schedule-card,
.schedule-group.is-canceled .schedule-card {
  opacity: 0.55;
  transition: opacity 0.18s ease;
}

.schedule-group.is-completed .schedule-card:hover,
.schedule-group.is-canceled .schedule-card:hover {
  opacity: 0.95;
}

.schedule-highlight {
  background: rgba(98, 181, 255, 0.28);
  color: #f2f7ff;
  border-radius: 0.25rem;
  padding: 0 0.15rem;
}

.schedule-date-controls {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.schedule-day-nav {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(157, 184, 255, 0.25);
  border-radius: 0.55rem;
  color: #d9e8ff;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.schedule-day-nav::after {
  display: none;
}

.schedule-day-nav:hover {
  background: rgba(98, 181, 255, 0.12);
  border-color: var(--accent);
  color: #f2f7ff;
  transform: none;
  filter: none;
}

.schedule-day-nav svg {
  width: 14px;
  height: 14px;
}

.schedule-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: -0.5rem auto 0;
  width: 100%;
  max-width: 32rem;
}

.schedule-meta-row .schedule-count {
  margin: 0;
}

.schedule-density-toggle {
  padding: 0.32rem 0.7rem;
  font-size: 0.78rem;
}

/* --- Compact density --- */

.schedule-result.is-compact {
  gap: 0.45rem;
}

.schedule-result.is-compact .schedule-card {
  padding: 0.5rem 0.75rem;
}

.schedule-result.is-compact .schedule-card-id {
  font-size: 0.78rem;
  padding-bottom: 0.3rem;
  margin-bottom: 0.35rem;
}

.schedule-result.is-compact .schedule-card-main {
  gap: 0.5rem;
}

.schedule-result.is-compact .schedule-patient {
  font-size: 0.88rem;
}

.schedule-result.is-compact .schedule-svc-line {
  font-size: 0.76rem;
}

.schedule-result.is-compact .schedule-line {
  font-size: 0.78rem;
}

.schedule-result.is-compact .schedule-line-eta {
  display: none;
}

.schedule-result.is-compact .schedule-card-status {
  font-size: 0.66rem;
  padding: 0.12rem 0.5rem;
}

.schedule-result.is-compact .schedule-card-eta-chip {
  font-size: 0.7rem;
  padding: 0.06rem 0.45rem;
}

.schedule-card {
  border: 1px solid rgba(157, 184, 255, 0.18);
  border-radius: 0.6rem;
  padding: 0.75rem 0.9rem;
  background: rgba(255, 255, 255, 0.02);
  text-align: left;
}

.schedule-card-id {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85rem;
  color: #d8e6ff;
  padding-bottom: 0.45rem;
  margin-bottom: 0.55rem;
  border-bottom: 1px solid rgba(157, 184, 255, 0.12);
}

.schedule-card-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.schedule-card-status {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(157, 184, 255, 0.3);
  color: #d8e6ff;
  white-space: nowrap;
}

.schedule-card-status-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
  flex-shrink: 0;
}

.schedule-card-eta-chip {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.08rem 0.5rem;
  border-radius: 999px;
  background: rgba(66, 169, 40, 0.14);
  color: #7ed87b;
  white-space: nowrap;
}
/* Status colors mirror the dashboard palette
   (triplink-dashboard-frontend/src/theme/palette/trip_status.ts). */
.schedule-card-status.status-available              { color: #FB9900; border-color: rgba(251,153,0,0.45); }
.schedule-card-status.status-pending                { color: #EAAA08; border-color: rgba(234,170,8,0.45); }
.schedule-card-status.status-will_call              { color: #1C92EE; border-color: rgba(28,146,238,0.45); }
.schedule-card-status.status-draft                  { color: #5277FF; border-color: rgba(82,119,255,0.45); }
.schedule-card-status.status-assigned               { color: #12B68F; border-color: rgba(18,182,143,0.45); }
.schedule-card-status.status-en_route               { color: #42A928; border-color: rgba(66,169,40,0.45); }
.schedule-card-status.status-arrived                { color: #D444F1; border-color: rgba(212,68,241,0.45); }
.schedule-card-status.status-in_progress            { color: #5E3BF7; border-color: rgba(94,59,247,0.45); }
.schedule-card-status.status-at_destination         { color: #5277FF; border-color: rgba(82,119,255,0.45); }
.schedule-card-status.status-re_route               { color: #06AED4; border-color: rgba(6,174,212,0.45); }
.schedule-card-status.status-finished               { color: #5D6B98; border-color: rgba(93,107,152,0.45); }
.schedule-card-status.status-customer_canceled,
.schedule-card-status.status-customer_requested_cancel,
.schedule-card-status.status-organization_canceled,
.schedule-card-status.status-fleet_canceled,
.schedule-card-status.status-deleted                { color: #979EB0; border-color: rgba(151,158,176,0.45); }
.schedule-card-status.status-late_cancel,
.schedule-card-status.status-no_show                { color: #EB5757; border-color: rgba(235,87,87,0.45); }

.schedule-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
  min-width: 0;
}
.schedule-line {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(216, 230, 255, 0.85);
  line-height: 1.35;
}
.schedule-line-name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
}
.schedule-patient {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f2f7ff;
}
.schedule-svc-line {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(216, 230, 255, 0.62);
  margin-top: -0.05rem;
}

.schedule-svc-line svg {
  width: 14px;
  height: 14px;
  color: rgba(216, 230, 255, 0.7);
  flex-shrink: 0;
}
.schedule-line-route {
  color: rgba(216, 230, 255, 0.55);
}
.schedule-label {
  color: rgba(216, 230, 255, 0.5);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-right: 0.3rem;
}

/* --- Inline chips (time type inside sections) --- */

.inline-chips {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 0.4rem;
}

.chip-sm span {
  min-width: auto;
  padding: 0.25rem 0.6rem;
  font-size: 0.8rem;
}

/* --- Standing calendar --- */

.standing-calendar-wrap {
  border: 1px solid rgba(157, 184, 255, 0.25);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.6rem;
}

.standing-calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.standing-calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.2rem;
  margin-bottom: 0.25rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.standing-calendar-weekdays span {
  text-align: center;
  font-size: 0.68rem;
  color: #8da2d6;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.standing-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.2rem;
  max-width: 420px;
  margin: 0 auto;
}

button.standing-day {
  border: 1px solid rgba(157, 184, 255, 0.12);
  border-radius: 0.4rem;
  height: 36px;
  background: rgba(255, 255, 255, 0.02);
  color: #d0deff;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 120ms ease;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: static;
  overflow: visible;
}

button.standing-day::after {
  display: none;
}

button.standing-day:hover {
  background: rgba(98, 181, 255, 0.12);
  border-color: rgba(98, 181, 255, 0.4);
  transform: none;
  filter: none;
}

button.standing-day.is-today {
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 700;
  background: rgba(98, 181, 255, 0.08);
}

button.standing-day.is-selected {
  background: linear-gradient(135deg, rgba(98, 181, 255, 0.35), rgba(139, 109, 255, 0.25));
  border-color: var(--accent);
  color: #fff;
  font-weight: 700;
}

.standing-day.is-past {
  opacity: 0.22;
  cursor: not-allowed;
  pointer-events: none;
}

.standing-day.is-empty {
  visibility: hidden;
  pointer-events: none;
}

.standing-calendar-quick {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.selected-dates-preview {
  min-height: 38px;
  border: 1px dashed rgba(157, 184, 255, 0.3);
  border-radius: 0.65rem;
  padding: 0.4rem 0.55rem;
  color: #b8caef;
  font-size: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.date-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(157, 184, 255, 0.34);
  border-radius: 999px;
  padding: 0.15rem 0.48rem;
  background: rgba(98, 181, 255, 0.08);
  color: #d9e8ff;
  font-size: 0.76rem;
}

.standing-selected-field {
  gap: 0.5rem;
}

.standing-selected-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.standing-overrides-wrap {
  border: 1px solid rgba(157, 184, 255, 0.2);
  border-radius: 0.68rem;
  padding: 0.55rem;
  background: rgba(255, 255, 255, 0.015);
}

.standing-overrides-list {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.45rem;
}

.standing-override-row {
  border: 1px solid rgba(157, 184, 255, 0.2);
  border-radius: 0.68rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.standing-override-row strong {
  color: #dbe8ff;
  font-size: 0.83rem;
  min-width: 80px;
}

.standing-override-row .field {
  flex: 1;
  min-width: 140px;
}

/* --- Legs --- */

.legs-container {
  display: grid;
  gap: 0.7rem;
}

.leg-card {
  border: 1px solid rgba(157, 184, 255, 0.22);
  border-radius: 0.75rem;
  padding: 0.65rem;
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  gap: 0.55rem;
}

.leg-card-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.leg-card-head h3 {
  margin: 0;
  font-size: 0.88rem;
  color: #d9e6ff;
}

.leg-card-head-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.time-rule {
  margin: -0.15rem 0 0;
  font-size: 0.78rem;
  color: #b8caef;
}

.actions-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(157, 184, 255, 0.35);
  color: #d9e8ff;
  padding: 0.48rem 0.8rem;
  font-size: 0.88rem;
}

.secondary-btn::after {
  display: none;
}

.secondary-btn:hover {
  filter: none;
  background: rgba(255, 255, 255, 0.09);
}

.form-section:hover {
  transform: translateY(-1px);
  border-color: rgba(169, 194, 255, 0.36);
  background: rgba(255, 255, 255, 0.032);
}

.form-section:nth-of-type(1) { animation-delay: 60ms; }
.form-section:nth-of-type(2) { animation-delay: 140ms; }
.form-section:nth-of-type(3) { animation-delay: 220ms; }

.grid {
  display: grid;
  gap: 0.75rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: 1.3fr 1fr 1fr;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field > span,
legend {
  font-size: 0.82rem;
  color: #d8e3ff;
  font-weight: 600;
}

.req::after {
  content: " *";
  color: var(--danger);
  font-weight: 700;
}

.field-help {
  color: #99aedf;
  font-size: 0.74rem;
}

.field-error-msg {
  display: block;
  margin-top: 0.35rem;
  color: var(--danger);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  animation: errorFadeIn 180ms ease-out;
}

@keyframes errorFadeIn {
  from { opacity: 0; transform: translateY(-2px); }
  to   { opacity: 1; transform: translateY(0); }
}

.email-hint {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.78rem;
}

.checkbox-field > span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.checkbox-field input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(157, 184, 255, 0.25);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
  padding: 0.6rem 0.75rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

input::placeholder,
textarea::placeholder {
  color: #8da2d6;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(98, 181, 255, 0.2);
}

input.error,
select.error,
textarea.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(255, 111, 143, 0.18);
}

.transport-options {
  border: 1px solid rgba(157, 184, 255, 0.25);
  border-radius: 0.8rem;
  padding: 0.7rem;
  text-align: center;
}

.transport-options legend {
  padding: 0 0.3rem;
}

.chips {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: center;
}

.chip {
  position: relative;
  cursor: pointer;
}

.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip span {
  display: inline-block;
  border-radius: 999px;
  border: 1px solid rgba(157, 184, 255, 0.35);
  padding: 0.35rem 0.7rem;
  min-width: 9rem;
  text-align: center;
  color: #d8e6ff;
  font-weight: 600;
  font-size: 0.88rem;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.2s ease;
}

.chip input:checked + span {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(98, 181, 255, 0.22), rgba(139, 109, 255, 0.18));
  color: #f2f7ff;
}

.chip span.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(255, 111, 143, 0.18);
}

.chip:has(input:disabled) {
  cursor: not-allowed;
}
.chip input:disabled + span {
  border-color: rgba(157, 184, 255, 0.12);
  background: rgba(255, 255, 255, 0.015);
  color: rgba(216, 230, 255, 0.35);
  opacity: 0.55;
}

.actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

button {
  position: relative;
  overflow: hidden;
  border: none;
  border-radius: 0.75rem;
  background: linear-gradient(130deg, var(--accent), var(--accent-2));
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 0.68rem 1.1rem;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}

button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 62%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.3), rgba(255,255,255,0));
  transform: skewX(-20deg);
  transition: left 380ms ease;
}

button:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

button:hover::after {
  left: 130%;
}

button:disabled {
  opacity: 0.65;
  cursor: wait;
}

#formStatus {
  margin: 0;
  min-height: 1rem;
  color: var(--muted);
  font-size: 0.84rem;
  text-align: center;
}

#formStatus.success { color: var(--success); }
#formStatus.error { color: var(--danger); }

.footer {
  text-align: center;
  color: #a7bbeb;
  margin: 0.4rem 0 0.2rem;
  font-size: 0.82rem;
}

.footer a {
  color: #d0defd;
  font-weight: 700;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* --- Date Picker --- */

.date-input-group {
  display: flex !important;
  flex-wrap: nowrap;
  border: 1px solid rgba(157, 184, 255, 0.25);
  border-radius: 0.7rem;
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.date-input-group:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(98, 181, 255, 0.2);
}

.date-input-group > input[type="text"] {
  border: none;
  border-radius: 0;
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
}

.date-input-group > input[type="text"]:focus {
  box-shadow: none;
  border-color: transparent;
}

button.date-input-addon {
  position: static;
  overflow: visible;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-left: 1px solid rgba(157, 184, 255, 0.2);
  border-radius: 0;
  color: rgba(173, 192, 240, 0.6);
  padding: 0 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, background 0.15s ease;
  min-width: 44px;
  flex: 0 0 auto;
}

button.date-input-addon::after {
  display: none;
}

button.date-input-addon:hover {
  color: var(--accent);
  background: rgba(98, 181, 255, 0.12);
  transform: none;
  filter: none;
}

.date-picker {
  z-index: 40;
  border: 1px solid rgba(151, 176, 255, 0.28);
  border-radius: 0.75rem;
  background: rgba(16, 22, 42, 0.99);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(2, 6, 18, 0.55);
  padding: 0.7rem;
  margin-top: 0.35rem;
  animation: fadeIn 150ms ease-out both;
}

.date-picker-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.date-picker-toolbar strong {
  font-size: 0.9rem;
  color: #e0eaff;
  user-select: none;
}

.dp-nav-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(157, 184, 255, 0.25);
  color: #d0deff;
  padding: 0.25rem 0.6rem;
  border-radius: 0.4rem;
  font-size: 0.85rem;
  cursor: pointer;
  line-height: 1;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.dp-nav-btn::after {
  display: none;
}

.dp-nav-btn:hover {
  background: rgba(98, 181, 255, 0.12);
  border-color: rgba(98, 181, 255, 0.4);
  transform: none;
  filter: none;
}

.date-picker-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.2rem;
  margin-bottom: 0.3rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.date-picker-weekdays span {
  text-align: center;
  font-size: 0.68rem;
  color: #8da2d6;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.date-picker-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.2rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.dp-day {
  border: 1px solid transparent;
  border-radius: 0.4rem;
  height: 34px;
  background: none;
  color: #d0deff;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 120ms ease;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dp-day:hover {
  background: rgba(98, 181, 255, 0.12);
  border-color: rgba(98, 181, 255, 0.3);
}

.dp-day.is-today {
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 700;
  background: rgba(98, 181, 255, 0.06);
}

.dp-day.is-selected {
  background: linear-gradient(135deg, rgba(98, 181, 255, 0.35), rgba(139, 109, 255, 0.25));
  border-color: var(--accent);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0 0 2px rgba(98, 181, 255, 0.15);
}

.dp-day.is-past {
  opacity: 0.22;
  cursor: not-allowed;
  pointer-events: none;
}

.dp-day.is-empty {
  visibility: hidden;
  pointer-events: none;
}

/* --- Track Trip button --- */

.track-trip-corner {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.track-trip-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(98, 181, 255, 0.22), rgba(139, 109, 255, 0.18));
  border: 1px solid var(--accent);
  border-radius: 0.65rem;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
  color: #f2f7ff;
  transition: all 0.2s ease;
}

.track-trip-btn::after {
  display: none;
}

.track-trip-btn:hover {
  background: linear-gradient(135deg, rgba(98, 181, 255, 0.35), rgba(139, 109, 255, 0.28));
  transform: translateY(-1px);
}

.track-trip-btn[disabled] {
  cursor: not-allowed;
  opacity: 0.5;
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(157, 184, 255, 0.15);
  color: inherit;
}

.track-trip-btn svg {
  color: rgba(173, 192, 240, 0.45);
  flex-shrink: 0;
  width: 17px;
  height: 17px;
}

.track-trip-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.track-trip-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
}

.track-trip-sub {
  font-size: 0.6rem;
  font-weight: 600;
  color: rgba(139, 109, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Pick-up Location dropdown --- */

#pickupLocationSection select {
  width: 100%;
  border: 1px solid rgba(157, 184, 255, 0.25);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
  padding: 0.6rem 0.75rem;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238da2d6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.2rem;
  cursor: pointer;
}

#pickupLocationSection select:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(98, 181, 255, 0.2);
}

#pickupLocationSection select option {
  background: #1a2240;
  color: var(--text);
}

#pickupLocationOtherWrap {
  margin-top: 0.4rem;
}

/* --- Will Call message --- */

.will-call-msg {
  font-size: 0.86rem;
  color: var(--accent);
  font-weight: 600;
  padding: 0.45rem 0.65rem;
  border: 1px dashed rgba(98, 181, 255, 0.35);
  border-radius: 0.65rem;
  background: rgba(98, 181, 255, 0.06);
}

/* --- Toast --- */

.toast {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 280px;
  max-width: 420px;
  padding: 0.7rem 0.85rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(89, 236, 170, 0.42);
  background: rgba(14, 37, 32, 0.94);
  box-shadow: 0 18px 40px rgba(2, 8, 24, 0.52);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
  z-index: 40;
}

.toast.show { opacity: 1; transform: translateY(0); pointer-events: auto; }

.toast-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f2b24;
  background: linear-gradient(140deg, #6cffbe, #3ee3a0);
  flex-shrink: 0;
}

.toast-title { margin: 0; font-weight: 700; color: #e6fff4; font-size: 0.92rem; }
.toast-text { margin: 0.1rem 0 0; color: #b4e9d1; font-size: 0.82rem; }

.toast-close {
  background: none;
  border: none;
  color: #b4e9d1;
  font-size: 1.3rem;
  padding: 0.2rem 0.4rem;
  cursor: pointer;
  line-height: 1;
  border-radius: 0.4rem;
  margin-left: auto;
  flex-shrink: 0;
}

.toast-close::after { display: none; }
.toast-close:hover { background: rgba(255,255,255,0.08); transform: none; filter: none; }

/* --- Stepper --- */

.stepper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin: 0 calc(-1 * clamp(1rem, 2vw, 1.6rem));
  padding: 0.55rem clamp(1rem, 2vw, 1.6rem) 0.5rem;
  gap: 0;
  overflow-x: auto;
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(16, 22, 42, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(157, 184, 255, 0.1);
  border-radius: 1.4rem 1.4rem 0 0;
}

.stepper-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.stepper-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(157, 184, 255, 0.26);
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.28s ease;
}

.stepper-step.is-active .stepper-dot {
  border-color: var(--accent);
  background: rgba(98, 181, 255, 0.18);
  box-shadow: 0 0 0 3px rgba(98, 181, 255, 0.1);
}

.stepper-step.is-complete .stepper-dot {
  border-color: var(--success);
  background: rgba(67, 209, 151, 0.22);
}

.stepper-label {
  font-size: 0.64rem;
  color: rgba(173, 192, 240, 0.55);
  white-space: nowrap;
  font-weight: 500;
  transition: color 0.28s ease;
}

.stepper-step.is-active .stepper-label { color: var(--accent); font-weight: 700; }
.stepper-step.is-complete .stepper-label { color: var(--success); font-weight: 600; }

.stepper-line {
  flex: 1;
  height: 2px;
  min-width: 12px;
  max-width: 50px;
  background: rgba(157, 184, 255, 0.16);
  margin: 9px 0.2rem 0;
  border-radius: 1px;
}

/* --- Draft Banner --- */

.draft-banner {
  z-index: 50;
  background: rgba(16, 25, 48, 0.96);
  border-bottom: 1px solid rgba(98, 181, 255, 0.35);
  backdrop-filter: blur(12px);
  animation: fadeUp 400ms ease-out both;
}

.draft-banner-inner {
  width: min(1100px, 100% - 2rem);
  margin: 0 auto;
  padding: 0.6rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.draft-banner-inner p { margin: 0; font-size: 0.85rem; color: var(--accent); font-weight: 600; }

.draft-banner-btns { display: flex; gap: 0.5rem; }
.draft-banner-btns .secondary-btn { padding: 0.35rem 0.65rem; font-size: 0.8rem; }

/* --- Migration Banner ---

   Top-of-page notice announcing the switch to the new React form on June 1.
   Lives ABOVE the draft banner / stepper / page card so every visitor sees
   it immediately on load. Amber tones because this is a warning-level
   announcement (the form will be retired), but warm enough not to look
   like an error. */

.migration-banner {
  position: relative;
  z-index: 60;
  background:
    linear-gradient(180deg, rgba(251, 191, 36, 0.13), rgba(251, 191, 36, 0.04)),
    rgba(16, 25, 48, 0.94);
  border-top: 1px solid rgba(251, 191, 36, 0.42);
  border-bottom: 1px solid rgba(251, 191, 36, 0.32);
  backdrop-filter: blur(14px);
  animation: fadeUp 520ms ease-out both;
}

.migration-banner-inner {
  width: min(1100px, 100% - 2rem);
  margin: 0 auto;
  padding: 0.95rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
}

.migration-banner-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.45);
}

.migration-banner-text {
  flex: 1;
  min-width: 0;
}

.migration-banner-title {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fef3c7;
  line-height: 1.4;
}

.migration-banner-title strong {
  color: #fbbf24;
}

.migration-banner-body {
  margin: 0.1rem 0 0;
  font-size: 0.85rem;
  color: #e8edff;
  line-height: 1.5;
}

.migration-banner-body + .migration-banner-body {
  margin-top: 0.2rem;
}

.migration-banner-link {
  color: #fbbf24;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed rgba(251, 191, 36, 0.5);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.migration-banner-link:hover {
  color: #fde68a;
  border-bottom-color: rgba(253, 230, 138, 0.85);
}

.migration-banner-link-strong {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  font-weight: 700;
  border-bottom: none;
  padding: 0.1rem 0.6rem;
  background: rgba(251, 191, 36, 0.16);
  border: 1px solid rgba(251, 191, 36, 0.45);
  border-radius: 0.5rem;
  margin: 0 0.05rem;
  color: #fde68a;
}

.migration-banner-link-strong:hover {
  background: rgba(251, 191, 36, 0.26);
  border-color: rgba(251, 191, 36, 0.75);
  color: #fff7d6;
  border-bottom: none;
}

@media (max-width: 700px) {
  .migration-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    padding: 0.75rem 0;
  }

  .migration-banner-icon {
    width: 32px;
    height: 32px;
  }

  .migration-banner-title {
    font-size: 0.9rem;
  }

  .migration-banner-body {
    font-size: 0.82rem;
  }
}

/* --- Version Update Banner --- */

.version-banner {
  position: fixed;
  bottom: 1.2rem;
  right: 1.2rem;
  z-index: 55;
  max-width: min(28rem, calc(100% - 2rem));
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(98, 181, 255, 0.55);
  background: rgba(14, 25, 46, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(2, 8, 24, 0.55);
  animation: versionSlideUp 240ms ease-out both;
}

@keyframes versionSlideUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.version-banner-inner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.version-banner-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1;
}

.version-banner-text strong {
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 700;
}

.version-banner-text span {
  color: rgba(216, 230, 255, 0.78);
  font-size: 0.82rem;
}

.version-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.version-banner-actions button {
  padding: 0.42rem 0.85rem;
  font-size: 0.82rem;
}

@media (max-width: 600px) {
  .version-banner {
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.85rem;
    max-width: none;
  }
  .version-banner-actions {
    margin-left: auto;
  }
}

/* --- Submit Spinner --- */

.btn-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
}

@keyframes spin { to { transform: rotate(360deg); } }

#submitBtn {
  min-width: 200px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* --- Retry Button --- */

.retry-btn {
  background: rgba(255, 111, 143, 0.1);
  border: 1px solid rgba(255, 111, 143, 0.45);
  color: var(--danger);
  padding: 0.48rem 0.9rem;
  font-weight: 600;
}

.retry-btn::after { display: none; }
.retry-btn:hover { background: rgba(255, 111, 143, 0.18); filter: none; }

/* --- Confirmation Modal --- */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(3, 8, 22, 0.72);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 200ms ease-out both;
}

.modal-card {
  width: min(580px, 100%);
  max-height: 80vh;
  overflow-y: auto;
  background: linear-gradient(180deg, rgba(21, 31, 58, 0.98), rgba(11, 18, 35, 0.97));
  border: 1px solid var(--card-border);
  border-radius: 1.1rem;
  box-shadow: 0 32px 72px rgba(2, 6, 18, 0.65);
  padding: clamp(0.9rem, 2vw, 1.4rem);
}

.modal-card h2 { margin: 0 0 0.75rem; font-size: 1.05rem; }

.confirm-body { display: grid; gap: 0.6rem; margin-bottom: 0.9rem; }

.confirm-section {
  border: 1px solid rgba(157, 184, 255, 0.15);
  border-radius: 0.65rem;
  padding: 0.5rem 0.65rem;
  background: rgba(255, 255, 255, 0.015);
}

.confirm-section h3 {
  margin: 0 0 0.25rem;
  font-size: 0.78rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.confirm-section p { margin: 0.1rem 0; font-size: 0.85rem; color: #d8e6ff; line-height: 1.4; }

.modal-actions { display: flex; gap: 0.6rem; justify-content: flex-end; }
.modal-actions .secondary-btn { min-width: 90px; }
.modal-actions button:last-child { min-width: 130px; }

/* --- Google Places Autocomplete Dropdown --- */

.pac-container {
  background: rgba(16, 25, 48, 0.98) !important;
  border: 1px solid rgba(151, 176, 255, 0.28) !important;
  border-radius: 0.7rem;
  box-shadow: 0 18px 40px rgba(2, 8, 24, 0.52);
  backdrop-filter: blur(14px);
  font-family: "Plus Jakarta Sans", sans-serif;
  margin-top: 4px;
  overflow: hidden;
  z-index: 1100 !important;
}

.pac-item {
  border-top: 1px solid rgba(157, 184, 255, 0.1) !important;
  color: #d8e6ff !important;
  padding: 0.55rem 0.75rem;
  cursor: pointer;
  line-height: 1.4;
  transition: background 0.15s ease;
}

.pac-item:first-child { border-top: none !important; }
.pac-item:hover, .pac-item-selected { background: rgba(98, 181, 255, 0.12) !important; }
.pac-item-query { color: #ecf2ff !important; font-weight: 600; font-size: 0.9rem; }
.pac-matched { color: var(--accent) !important; font-weight: 700; }
.pac-icon, .pac-item .pac-icon-marker { display: none; }
.pac-logo::after { background: none !important; padding: 2px 6px; opacity: 0.25; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  .card, .heading, .form-section, .draft-banner, .modal-overlay { animation: none; }
  .logo-box, .form-section, button, button::after, .stepper-dot, .stepper-label { transition: none; }
}

@media (max-width: 900px) {
  .brand-row { flex-wrap: wrap; gap: 0.7rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .logo-box { width: min(280px, 100%); height: 54px; }
  .logo-box-left .brand-logo { max-height: 46px; }
  .logo-box-right .brand-logo { max-height: 46px; transform: scale(1.22); }
  .toast { right: 0.85rem; left: 0.85rem; bottom: 0.85rem; min-width: 0; max-width: none; }
  .stepper-label { font-size: 0.58rem; }
  .stepper-dot { width: 18px; height: 18px; }
  .stepper-line { min-width: 8px; margin-top: 8px; }
  .draft-banner-inner { flex-direction: column; text-align: center; }
  .standing-override-row { flex-direction: column; align-items: stretch; }
  .section-head-row { flex-direction: column; }
}
