.reference-port-field.destination-field {
  overflow: visible;
}

.reference-port-field.destination-guidance-open {
  z-index: 30;
}

.destination-search-options {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 40;
  max-height: min(280px, 42svh);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #d6e3f0;
  border-radius: 8px;
  padding: 5px;
  background: #fff;
  color: #254d75;
  text-align: left;
  box-shadow: 0 12px 30px #0b284b24;
  scrollbar-width: thin;
  scrollbar-color: #bfd0e1 #f6f9fc;
}

.destination-search-options[hidden] {
  display: none;
}

.destination-search-option {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 58px;
  padding: 10px 11px;
  border-radius: 5px;
  cursor: pointer;
  white-space: normal;
  overflow-wrap: anywhere;
  touch-action: pan-y;
}

.destination-search-label {
  display: block;
  color: #254d75;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.destination-search-option small {
  display: block;
  color: #8298ad;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
}

.destination-search-option:hover,
.destination-search-option[aria-selected="true"] {
  background: #edf4fc;
}

.destination-search-help {
  padding: 10px 11px;
  color: #8398ac;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
  white-space: normal;
}

@media (max-width: 700px) {
  .destination-search-options {
    max-height: min(250px, 40svh);
    border-radius: 6px;
  }

  .destination-search-option {
    min-height: 60px;
    padding: 10px 9px;
  }
}
