.departure-time .departure-date {
  color: #627d72;
  font-size: .62rem;
  font-weight: 700;
  text-transform: capitalize;
}

.line-next-passages {
  display: flex;
  margin-top: 12px !important;
  align-items: flex-start;
  gap: 12px;
  flex-direction: column;
}

.line-next-passages-label {
  color: #486581;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.line-next-passages-list {
  display: flex;
  width: 100%;
  gap: 7px;
  flex-wrap: wrap;
}

.line-next-passages time {
  display: flex;
  min-width: 86px;
  padding: 7px 9px;
  flex-direction: column;
  border: 1px solid #dce8e3;
  border-radius: 10px;
  background: #f5faf8;
}

.line-next-passages time span {
  color: #627d72;
  font-size: .58rem;
  font-weight: 700;
  text-transform: capitalize;
}

.line-next-passages time strong {
  color: #102a43;
  font-family: "Manrope", sans-serif;
  font-size: .78rem;
}

.timeline-stop-action {
  margin-right: -8px;
  padding-right: 8px;
  cursor: pointer;
  border-radius: 11px;
  transition: color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.timeline-stop-action:hover,
.timeline-stop-action:focus-visible,
.timeline-stop-action.is-map-highlighted {
  background: color-mix(in srgb, var(--line-color) 9%, #fff);
  box-shadow: 0 5px 14px rgba(16, 42, 67, .07);
  transform: translateX(3px);
}

.timeline-stop-action:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--line-color) 45%, #fff);
  outline-offset: 2px;
}

.timeline-stop-action::after {
  position: absolute;
  top: 7px;
  right: 8px;
  color: var(--line-color);
  content: "\2192";
  font-weight: 900;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .18s ease, transform .18s ease;
}

.timeline-stop-action:hover::after,
.timeline-stop-action:focus-visible::after {
  opacity: 1;
  transform: translateX(0);
}

.timeline-stop-action .timeline-time {
  margin-right: 24px;
}

.is-line-stop-highlighted .stop-dot-marker,
.is-line-stop-highlighted .interactive-stop-marker {
  z-index: 1000;
  transform: scale(1.75);
  box-shadow: 0 0 0 7px rgba(0, 168, 150, .2), 0 7px 18px rgba(16, 42, 67, .3);
}

.stop-dot-marker,
.interactive-stop-marker {
  transition: transform .18s ease, box-shadow .18s ease;
}

.map-stop-popup-table .map-stop-grid-time {
  padding-block: 5px;
  flex-direction: column;
  gap: 1px;
}

.map-stop-popup-table .map-stop-grid-time > small {
  color: #829ab1;
  font-family: "DM Sans", sans-serif;
  font-size: .48rem;
  font-weight: 700;
}

.map-stop-popup-table .map-stop-grid-time > span {
  display: flex;
  align-items: center;
  gap: 3px;
}

@media (max-width: 600px) {
  .line-next-passages time {
    min-width: 78px;
  }
}


.line-next-passages time.line-next-passage-link {
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.line-next-passages time.line-next-passage-link:hover,
.line-next-passages time.line-next-passage-link:focus-visible {
  border-color: #91d1c5;
  background: #eaf8f4;
  box-shadow: 0 6px 14px rgba(16, 42, 67, .08);
  outline: none;
  transform: translateY(-2px);
}

/* Chaque passage présente explicitement l'arrêt consulté et sa direction. */
.departure-route-label {
  display: flex !important;
  min-width: 0;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  line-height: 1.25;
}

.departure-route-label .departure-stop-name,
.departure-route-label .departure-direction-name {
  min-width: 0;
}

.departure-route-label .departure-stop-name {
  color: #486581;
  font-weight: 700;
}

.departure-route-label > i {
  flex: 0 0 auto;
  color: #00a896;
  font-size: .72rem;
}

.departure-route-label .departure-direction-name {
  color: #102a43;
  font-weight: 800;
}

@media (max-width: 600px) {
  .departure-route-label {
    gap: 5px;
    font-size: .84rem !important;
  }
}
