/* The interface theme is independent of the map palette and Circuit mode. */
html[data-ui-theme="day"] body:not(.circuit-ride-mode) {
  background: #eaf1f9;
}

html[data-ui-theme="day"] .app-topbar {
  color: #0a1f4a;
  background: #f5f8ff;
  border: 1px solid #d5e2f5;
  box-shadow: 0 5px 20px rgb(15 40 85 / 10%);
}

html[data-ui-theme="day"] .brand-title,
html[data-ui-theme="day"] .settings-trigger,
html[data-ui-theme="day"] .topbar-availability-label {
  color: #0a1f4a;
}

html[data-ui-theme="day"] .brand-title strong {
  color: #0765d9;
}

html[data-ui-theme="day"] .brand-subtitle,
html[data-ui-theme="day"] .app-topbar .topbar-availability-status {
  color: #345477 !important;
}

html[data-ui-theme="day"] .app-topbar .topbar-availability-status.text-danger {
  color: #ad2431 !important;
}

body:not(.circuit-ride-mode) .route-form {
  color: #0a1f4a;
  background: rgb(248 251 255 / 96%);
  border: 1px solid #cfddf1;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgb(7 31 73 / 16%);
}

body:not(.circuit-ride-mode) .route-field .form-label {
  color: #0a1f4a;
  font-weight: 700;
}

body:not(.circuit-ride-mode) .route-field .form-control {
  color: #102b53;
  background: #f3f7fd;
  border: 1px solid #c5d6ec;
  border-radius: 14px !important;
}

body:not(.circuit-ride-mode) .route-field .form-control:focus {
  border-color: #0875e1;
  box-shadow: 0 0 0 0.2rem rgb(8 117 225 / 18%);
}

body:not(.circuit-ride-mode) .destination-voice-btn {
  color: #075bcc;
  background: #f3f7fd;
  border-color: #c5d6ec;
  border-radius: 50% !important;
}

body:not(.circuit-ride-mode) .destination-voice-btn.is-recording {
  color: #b42332;
  background: #fff0f1;
  border-color: #e8a1a8;
}

body:not(.circuit-ride-mode) #routeButton {
  min-height: 46px;
  color: #10203d;
  font-weight: 750;
  background: #ffcf23;
  border: 1px solid #e6aa00;
  border-radius: 14px !important;
  box-shadow: 0 4px 12px rgb(190 125 0 / 20%);
}

body:not(.circuit-ride-mode) #routeButton:hover:not(:disabled) {
  color: #10203d;
  background: #ffdc53;
}

body:not(.circuit-ride-mode) #routeButton:disabled {
  color: #344158;
  opacity: 0.65;
  box-shadow: none;
}

html[data-ui-theme="night"] body:not(.circuit-ride-mode) {
  background: #07162e;
}

html[data-ui-theme="night"] .app-topbar {
  background: var(--navy);
  border: 1px solid #174b77;
  box-shadow: 0 5px 20px rgb(0 10 30 / 30%);
}

html[data-ui-theme="night"] body:not(.circuit-ride-mode) .trip-heading {
  color: #eff8ff;
}

html[data-ui-theme="night"] body:not(.circuit-ride-mode) .trip-heading .text-muted {
  color: #b5cbe3 !important;
}

html[data-ui-theme="night"] body:not(.circuit-ride-mode) .route-form {
  color: #eff8ff;
  background: rgb(7 27 57 / 97%);
  border-color: #1687af;
  box-shadow: 0 8px 26px rgb(0 12 35 / 40%), 0 0 12px rgb(0 197 255 / 20%);
}

html[data-ui-theme="night"] body:not(.circuit-ride-mode) .route-field .form-label {
  color: #eff8ff;
}

html[data-ui-theme="night"] body:not(.circuit-ride-mode) .destination-field {
  border-color: #315477;
}

html[data-ui-theme="night"] body:not(.circuit-ride-mode) .route-field .form-control {
  color: #eff8ff;
  background: #10294e;
  border-color: #426589;
}

html[data-ui-theme="night"] body:not(.circuit-ride-mode) .route-field .form-control::placeholder {
  color: #bdcfe3;
  opacity: 1;
}

html[data-ui-theme="night"] body:not(.circuit-ride-mode) .origin-toggle,
html[data-ui-theme="night"] body:not(.circuit-ride-mode) .destination-voice-btn {
  color: #6de5ff;
}

html[data-ui-theme="night"] body:not(.circuit-ride-mode) .destination-voice-btn:not(.is-recording) {
  background: #10294e;
  border-color: #267caa;
}

html[data-ui-theme="night"] body:not(.circuit-ride-mode) .destination-voice-btn.is-recording {
  color: #b42332;
}

html[data-ui-theme="night"] body:not(.circuit-ride-mode) .route-status:not(.text-danger),
html[data-ui-theme="night"] body:not(.circuit-ride-mode) .destination-voice-status,
html[data-ui-theme="night"] body:not(.circuit-ride-mode) .destination-selected-detail,
html[data-ui-theme="night"] body:not(.circuit-ride-mode) .destination-attribution {
  color: #c0d5e8;
}

html[data-ui-theme="night"] body:not(.circuit-ride-mode) .destination-attribution a {
  color: #6de5ff;
}

html[data-ui-theme="night"] body:not(.circuit-ride-mode) .location-badge,
html[data-ui-theme="night"] body:not(.circuit-ride-mode) .nearby-taxis-badge {
  color: #f0f8ff;
  background: #10294e;
  border-color: #267caa;
}

@media (max-width: 768px) {
  body:not(.circuit-ride-mode) .route-form {
    padding: 0.65rem;
  }
}
