.route-map-picker {
  overflow: hidden;
  border: 1px solid #DFE5E2;
  border-radius: 0.9rem;
  background: #fff;
}

.location-autocomplete {
  position: relative;
}

.location-suggestions {
  position: absolute;
  z-index: 1000;
  top: calc(100% + 0.25rem);
  right: 0;
  left: 0;
  max-height: 16rem;
  overflow-y: auto;
  border: 1px solid #DFE5E2;
  border-radius: 0.75rem;
  background: white;
  box-shadow: 0 10px 24px rgba(38, 52, 58, 0.16);
}

.location-suggestions[hidden] {
  display: none;
}

.location-suggestion {
  display: block;
  width: 100%;
  padding: 0.75rem 0.875rem;
  color: #26343A;
  text-align: left;
  border-bottom: 1px solid #F0ECE3;
}

.location-suggestion:hover,
.location-suggestion:focus-visible {
  background: #F6F1E8;
  outline: none;
}

.location-suggestion:last-child {
  border-bottom: 0;
}

.location-suggestion small {
  display: block;
  color: #718184;
  font-size: 0.75rem;
}

.location-search-status {
  display: block;
  min-height: 1rem;
  margin-top: 0.25rem;
  color: #718184;
  font-size: 0.75rem;
}

.route-map-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem 0.75rem;
}

.route-map-heading h3 {
  color: #26343A;
  font-size: 1rem;
}

.route-map-heading p,
.route-map-attribution {
  color: #718184;
  font-size: 0.75rem;
}

.route-map-badge {
  flex: none;
  border-radius: 999px;
  background: #F6F1E8;
  color: #12636A;
  padding: 0.25rem 0.6rem;
  font-size: 0.6875rem;
  font-weight: 700;
}

.route-map-controls {
  display: flex;
  gap: 0.5rem;
  padding: 0 1rem 0.75rem;
}

.route-map-point {
  border: 1px solid #DFE5E2;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  color: #3D4A4F;
  font-size: 0.8125rem;
}

.route-map-point.active {
  border-color: #12636A;
  background: #12636A;
  color: white;
}

#route-map {
  height: 360px;
  background: #F0ECE3;
}

.route-map-picker--compact #route-map {
  height: 240px;
}

.route-map-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 1rem 0.25rem;
  color: #3D4A4F;
  font-size: 0.8125rem;
}

#route-map-distance {
  color: #12636A;
  font-weight: 700;
}

.route-map-attribution {
  padding: 0 1rem 0.75rem;
}

.route-map-marker {
  display: block;
  width: 1rem;
  height: 1rem;
  border: 3px solid white;
  border-radius: 50% 50% 50% 0;
  background: #12636A;
  box-shadow: 0 1px 5px #26343A66;
  transform: rotate(-45deg);
}

.route-map-marker.destination {
  background: #2d5a27;
}

@media (max-width: 480px) {
  #route-map { height: 300px; }
}
