/* FuelDash V414 — optional route-range filter and explicit reachability fallback. */

html body #app .fd-route-range-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 24px;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 8px 0 11px;
  border: 1px solid #29292e;
  border-radius: 11px;
  background: #080808;
}

html body #app .fd-route-range-input:focus-within {
  border-color: #3a3a40;
}

html body #app .fd-route-range-input input {
  width: 100%;
  min-width: 0;
  padding: 0;
  color: #fff;
  border: 0 !important;
  outline: 0 !important;
  background: transparent;
  font: inherit;
  font-size: 13px !important;
  font-weight: 650;
  -webkit-appearance: none;
  appearance: none;
}

html body #app .fd-route-range-input input::placeholder {
  color: #77777e;
  font-weight: 500;
}

html body #app .fd-route-range-input input::-webkit-outer-spin-button,
html body #app .fd-route-range-input input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

html body #app .fd-route-range-input > span {
  color: #8d8d94;
  font-size: 11px;
  font-weight: 650;
}

html body #app .fd-route-range-input > button {
  width: 24px;
  height: 24px;
  padding: 0;
  color: #8d8d94;
  border: 0;
  background: transparent;
  font-size: 19px;
  line-height: 1;
}

html body #app .fd-route-range-input > button[hidden] {
  display: none;
}

html body #app .fd-route-range-fallback {
  display: grid;
  gap: 4px;
  padding: 11px 13px;
  color: #f0d58b;
  border: 1px solid #6f5521;
  border-radius: 13px;
  background: #1b1508;
}

html body #app .fd-route-range-fallback strong {
  color: #ffd166;
  font-size: 13px;
  font-weight: 700;
}

html body #app .fd-route-range-fallback span {
  color: #c4aa6c;
  font-size: 11px;
  line-height: 1.35;
}

html body #app .fd-route-choice.is-range {
  color: #ffd166 !important;
}

html body #app .fd-route-no-match.is-range strong {
  color: #ffd166 !important;
}

@media (max-width: 460px) {
  html body #app .fd-route-range-control .fd-route-help {
    max-width: 230px;
  }
}

/* Keep the Search-to-route CTA evenly separated from both neighboring surfaces. */
html[data-fd-theme] body #app .fd-route-launch {
  margin: 14px 0 14px !important;
}
