.interactive-stop-marker {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--stop-color, #00a896);
  box-shadow: 0 3px 10px rgba(16, 42, 67, .3);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

.interactive-stop-marker span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
}

.leaflet-marker-icon:hover .interactive-stop-marker {
  box-shadow: 0 5px 15px rgba(16, 42, 67, .38);
  transform: scale(1.25);
}

.map-stop-popup .leaflet-popup-content-wrapper {
  overflow: hidden;
  border: 1px solid rgba(16, 42, 67, .08);
  border-radius: 18px;
}

.map-stop-popup .leaflet-popup-content {
  width: auto !important;
  margin: 0;
}

.map-stop-popup-content {
  color: #102a43;
  background: #fff;
}

.map-stop-popup-title {
  display: flex;
  padding: 15px 16px 13px;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #edf9f6, #f8fbfa);
  border-bottom: 1px solid #e1ebe7;
}

.map-stop-popup-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  border-radius: 11px;
  background: #00a896;
}

.map-stop-popup-title small,
.map-stop-popup-title strong {
  display: block;
}

.map-stop-popup-title small {
  color: #627d72;
  font-size: .61rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.map-stop-popup-title strong {
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .9rem;
}

.map-stop-lines-title {
  padding: 11px 15px 6px;
  color: #627d72;
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.map-stop-lines {
  display: flex;
  max-height: 70px;
  padding: 0 15px 11px;
  gap: 5px;
  overflow-y: auto;
  flex-wrap: wrap;
}

.map-stop-line-badge,
.map-stop-passage-line {
  display: inline-flex;
  min-width: 27px;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  border-radius: 6px;
}

.map-stop-line-badge {
  min-height: 23px;
  padding: 3px 6px;
  font-size: .65rem;
}

.map-stop-passages-heading {
  display: flex;
  padding: 10px 15px 7px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e7efeb;
}

.map-stop-passages-heading strong {
  font-size: .75rem;
}

.map-stop-passages-heading span {
  display: grid;
  min-width: 21px;
  height: 21px;
  place-items: center;
  color: #087f72;
  font-size: .61rem;
  font-weight: 800;
  border-radius: 999px;
  background: #e5f7f2;
}

.map-stop-passages {
  max-height: 215px;
  overflow-y: auto;
}

.map-stop-passage {
  display: grid;
  min-height: 39px;
  padding: 6px 15px;
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  border-top: 1px solid #f0f4f2;
}

.map-stop-passage-line {
  min-height: 24px;
  padding: 3px 6px;
  font-size: .63rem;
}

.map-stop-passage-direction {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #486581;
  font-size: .68rem;
  font-weight: 700;
}

.map-stop-passage-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: "Manrope", sans-serif;
  font-size: .72rem;
  font-weight: 800;
}

.map-stop-passage-time i {
  color: #00a896;
  font-size: .65rem;
}

.map-stop-more {
  display: flex;
  width: calc(100% - 24px);
  margin: 10px 12px 12px;
  padding: 8px 10px;
  align-items: center;
  justify-content: space-between;
  color: #087f72;
  font-size: .69rem;
  font-weight: 800;
  border: 1px solid #cae4de;
  border-radius: 9px;
  background: #eaf8f4;
}

.map-stop-more:hover {
  background: #daf2ec;
}

.map-stop-loading,
.map-stop-popup-error,
.map-stop-no-passage {
  display: flex;
  min-height: 82px;
  padding: 18px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #627d72;
  text-align: center;
  font-size: .7rem;
}

.map-stop-popup-error {
  color: #b24a39;
}

.map-stop-muted {
  color: #829ab1;
  font-size: .68rem;
}
