/* Shared visual vocabulary for the booking lifecycle. */
.legacy-flight-fields[hidden] { display: none !important; }
.airport-pickup-help { color: #b42318; font-size: 13px; line-height: 1.45; }
.request-row[data-journey-status],
.request-card[data-journey-status] {
  border-color: var(--journey-colour);
  border-inline-start: 5px solid var(--journey-colour);
  background: var(--journey-fill);
  filter: none;
  opacity: 1;
}
.request-card[data-journey-status] > .request-row { border: 0; background: transparent; }
.request-row[data-journey-status]:hover { background: var(--journey-fill); box-shadow: inset 0 0 0 1px var(--journey-colour); }
.request-row[data-journey-status] .badge { display: inline-flex; align-items: center; gap: 5px; background: rgb(255 255 255 / 78%); color: var(--journey-ink); }
.request-row[data-journey-status] .badge::before { content: ""; flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--journey-colour); }
.request-row[data-journey-status="completed"] .badge::before { content: "✓"; width: auto; height: auto; background: none; font-weight: 700; }
.request-row__past-label { padding: 2px 6px; border: 1px solid #687386; border-radius: 5px; color: #455167; font-size: 10px; }
/* Passenger volume adds emphasis without changing the booking status colour. */
.request-row[data-journey-status].is-large-booking,
.request-card[data-journey-status].is-large-booking { border-inline-start-width: 8px; }
.request-card[data-journey-status].is-large-booking > .request-row { border: 0; }
.large-booking-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  padding: 3px 6px;
  border: 1px solid currentColor;
  border-radius: 5px;
  background: rgb(255 255 255 / 68%);
  color: var(--journey-ink, inherit);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.quick-assignment[data-journey-status] { border-color: var(--journey-colour); border-inline-start-width: 4px; background: var(--journey-fill); color: var(--journey-ink); }
.quick-assignment[data-journey-status] small { color: inherit; }
.calendar-status-key { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 6px; background: var(--status-fill); color: var(--status-ink); font-size: 11px; }
.calendar-status-key::before { content: ""; flex: 0 0 9px; width: 9px; height: 9px; border-radius: 3px; background: var(--status-colour); }
.calendar-job__status { display: block; font-size: 10px; font-weight: 600; line-height: 1.25; }
#jobs-calendar .journey-completed { border-style: solid; }
.driver-history-tabs { display: flex; gap: 5px; background: #edf0f6; border-radius: 14px; padding: 5px; margin-bottom: 14px; }
.driver-history-tabs button { flex: 1; min-height: 44px; border: 0; border-radius: 10px; background: transparent; color: #526078; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.driver-history-tabs button[aria-pressed="true"] { background: white; color: #223d83; box-shadow: 0 2px 6px #26344910; }
.driver-stops-editor { padding: 16px 0 0; border-top: 1px solid #e2e7ef; margin-top: 16px; }
.driver-stops-editor summary { min-height: 44px; font-weight: 600; color: #243d83; cursor: pointer; }
.driver-stops-editor p { color: #647086; font-size: 13px; line-height: 1.5; }
.driver-stops-editor label { display: block; font-size: 14px; font-weight: 500; margin: 14px 0 8px; }
.driver-stops-editor textarea { display: block; width: 100%; box-sizing: border-box; resize: vertical; padding: 12px; border: 1px solid #cfd8e5; border-radius: 10px; font: inherit; font-size: 16px; margin-bottom: 12px; }
.driver-stops-editor [role="alert"] { color: #b42318; }
#driver-history-status { padding: 12px; font-size: 14px; }
.driver-stops-editor button { min-height: 44px; }
.driver-payment-panel { padding: 18px; background: #f7f8fc; border: 1px solid #e0e6f0; border-radius: 16px; margin-top: 16px; }
.driver-payment-panel h3 { margin: 0 0 12px; font-size: 16px; font-weight: 600; }
.driver-payment-panel select { display: block; width: 100%; min-width: 0; box-sizing: border-box; padding: 12px; min-height: 50px; border: 1px solid #cfd8e5; border-radius: 10px; background: white; color: #263449; font: inherit; font-size: 16px; }
.driver-payment-panel .primary-button { width: 100%; min-height: 46px; }
.driver-payment-help, .overview-payment small { font-size: 12px; line-height: 1.5; color: #647086; }
.driver-payment-panel [role="alert"] { color: #b42318; font-size: 14px; }
.overview-payment { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid #e0e6f0; }
.overview-payment > span { font-size: 12px; color: #647086; }
#booking-dialog input[type="date"], #booking-dialog input[type="time"] { min-width: 0; max-width: 100%; width: 100%; box-sizing: border-box; }
@media (max-width: 600px) {
  #booking-dialog input[type="date"], #booking-dialog input[type="time"] { font-size: 16px; min-height: 48px; }
  .request-row__eyebrow { flex-wrap: wrap; gap: 8px; }
  .request-row__eyebrow .badge { font-size: 10px; }
  .queue-toolbar { overflow-x: auto; grid-template-columns: repeat(5, minmax(88px, 1fr)); }
  .driver-stops-editor .primary-button { width: 100%; }
}
