.station-search-field {
  position: relative;
}

.station-search-input-wrap {
  position: relative;
}

.station-search-input-wrap::after {
  content: "⌕";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted, #9ca3af);
  pointer-events: none;
  font-size: 1.1rem;
}

.station-search-input {
  width: 100%;
  padding-right: 42px;
}

.station-search-results {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  max-height: min(46vh, 360px);
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: #11151b;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
  padding: 6px;
}

.station-search-results[hidden] {
  display: none;
}

.station-search-option {
  display: flex;
  width: 100%;
  min-height: 52px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  padding: 9px 11px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.station-search-option:hover,
.station-search-option:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.station-search-option strong {
  font-size: 1rem;
  line-height: 1.35;
}

.station-search-option span {
  color: var(--muted, #9ca3af);
  font-size: 0.78rem;
  line-height: 1.35;
}

.station-search-empty {
  padding: 13px 11px;
  color: var(--muted, #9ca3af);
  font-size: 0.88rem;
}

.station-search-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0 12px;
  color: var(--muted, #9ca3af);
  font-size: 0.78rem;
}

.station-search-divider::before,
.station-search-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 640px) {
  .station-search-results {
    max-height: 40vh;
  }

  .station-search-option {
    min-height: 56px;
  }
}
