.station-field[data-station-picker] {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
  border: 1px solid #d4dbe7;
  border-radius: 11px;
  background: #fff;
}

.station-field[data-station-picker] {
  z-index: 1;
}
.station-field[data-station-picker]:focus-within,
.station-field[data-station-picker][data-open="true"] {
  z-index: 5;
}
.station-field_marker {
  position: relative;
  z-index: 1;
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  background: #fff;
}
.station-field--start .station-field_marker {
  border-color: #12a455;
  background: #e9f8ef;
}
.station-field_input {
  width: 100%;
  min-width: 0;
  height: 70px;
  padding: 0;
  border: 0;
  outline: 0;
  color: #26344c;
  background: transparent;
  font-size: 16px;
}
.station-field_input::placeholder {
  color: #76849a;
}
.station-field_input::-webkit-search-cancel-button {
  display: none;
}
.station-field_input[aria-expanded="true"] {
  outline: 0;
}
.station-field_clear {
  display: grid;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  padding: 5px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #64718a;
  background: transparent;
  cursor: pointer;
}
.station-field_clear:hover {
  color: #26344c;
  background: #f0f2f6;
}
.station-field_clear svg {
  width: 100%;
  height: 100%;
}
.station-field_clear[hidden] {
  display: none;
}
.visually-hidden {
  position: absolute;
  padding: 0;
  overflow: hidden;
  top: 2px;
  font-size: 12px;
  font-weight: 500;
  left: 44px;
}
.station-suggestions {
  position: absolute;
  z-index: 10;
  top: calc(100% + 5px);
  right: 0;
  left: 0;
  max-height: 280px;
  overflow: auto;
  padding: 5px;
  border: 1px solid #e0e5ee;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 12px 30px #2637541c;
}

.station-suggestions[hidden] {
  display: none;
}
.station-suggestions_option {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  gap: 11px;
  padding: 7px 9px;
  border: 0;
  border-radius: 7px;
  text-align: left;
  background: #fff;
  cursor: pointer;
}
.station-suggestions_option:hover,
.station-suggestions_option[aria-selected="true"] {
  background: #f2f5ff;
}
.station-suggestions_code {
  display: inline-grid;
  flex: 0 0 auto;
  min-width: 43px;
  min-height: 25px;
  padding: 0 7px;
  place-items: center;
  border-radius: 7px;
  color: var(--color-primary);
  background: #eaf0ff;
  font-size: 11px;
  font-weight: 700;
}
.station-suggestions_details {
  display: grid;
  min-width: 0;
  gap: 3px;
}
.station-suggestions_name {
  overflow: hidden;
  color: #25334c;
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.station-suggestions_city {
  overflow: hidden;
  color: #8994a6;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.station-suggestions_message {
  margin: 0;
  padding: 12px 10px;
  color: #7b879a;
  font-size: 12px;
}
.station-suggestions--recent {
  padding: 0;
}
.recent-route_heading {
  margin: 0;
  padding: 12px 13px 7px;
  color: #0754a3;
  font-size: 14px;
  font-weight: 700;
}
.recent-route {
  position: relative;
  display: grid;
  width: 100%;
  gap: 0;
  padding: 2px 12px 6px;
  border: 0;
  border-bottom: 1px solid #edf0f5;
  text-align: left;
  background: #fff;
  cursor: pointer;
}
.recent-route:last-child {
  border-bottom: 0;
}
.recent-route:hover,
.recent-route:focus-visible {
  background: #f5f8ff;
  outline: 0;
}
.recent-route_station {
  position: relative;
  display: flex;
  min-height: 29px;
  align-items: center;
  gap: 12px;
  color: #3f4249;
  font-size: 13px;
  font-weight: 600;
}
.recent-route_point {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 0 0 12px;
  width: 12px;
  height: 18px;
  place-items: center;
}
.recent-route_station--start .recent-route_point::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #0754a3;
  content: "";
}
.recent-route_station--end .recent-route_point::before {
  width: 9px;
  height: 9px;
  border: 1.5px solid #1767bd;
  border-radius: 50% 50% 50% 0;
  background: #fff;
  content: "";
  transform: rotate(-45deg);
}
.recent-route_station--start .recent-route_point::after {
  position: absolute;
  top: 17px;
  left: 5px;
  width: 1px;
  height: 12px;
  background: #92b4d9;
  content: "";
}
.recent-route_scope {
  display: block;
  padding: 0 0 5px 24px;
  color: #8994a6;
  font-size: 11px;
  font-weight: 500;
}

@media (max-width: 620px) {
  .station-suggestions {
    max-height: 230px;
  }
  .station-field[data-station-picker] {
    padding: 0;
  }
}

@media (max-width: 960px) {
  .station-field[data-open="true"],
  [data-train-picker][data-open="true"] {
    z-index: 1101;
  }
  .station-suggestions[data-mobile-position="true"] {
    position: fixed;
    z-index: 1200;
    right: auto;
    bottom: auto;
    margin: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .station-suggestions_option {
    min-height: 52px;
  }
  .mobile-keyboard-open .floating-footer-nav {
    display: none !important;
  }
}
