.bus-next {
  font-size: 32px;
  font-weight: 600;
}

.bus-next span {
  font-size: 18px;
  opacity: 0.7;
}

.bus-meta {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}

#bus-card .pill {
  transition: background 0.2s ease, color 0.2s ease;
}

#bus-card .pill.alert {
  background: rgba(255,179,0,0.14);
  color: #ffb300;
}

.bus-pulse {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ff1744; /* rouge vif */
  box-shadow: 0 0 0 rgba(255, 23, 68, 0.7);
  animation: bus-pulsate 1.4s ease-out infinite;
}

@keyframes bus-pulsate {
  0% {
    transform: scale(0.8);
    box-shadow: 0 0 0 0 rgba(255, 23, 68, 0.7);
  }
  70% {
    transform: scale(1.4);
    box-shadow: 0 0 0 12px rgba(255, 23, 68, 0);
  }
  100% {
    transform: scale(0.8);
    box-shadow: 0 0 0 0 rgba(255, 23, 68, 0);
  }
}

.bus-timer {
  text-align: center;
  padding: 8px 12px;
  background: rgba(5, 8, 22, 0.9);  /* #050816 semi-transparent */
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  margin-top: 4px;
  backdrop-filter: blur(10px);  /* Effet verre pour matcher tes cartes */
}

#timer-countdown {
  font-family: monospace;  /* Style chrono */
  color: #4ade80;  /* Vert pour positif */
}

#bus-map .bus-home-tooltip {
  background-color: rgba(15, 23, 42, 0.95);
  color: #f9fafb;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

/* retire la flèche par défaut si tu veux un pill “flottant” */
#bus-map .bus-home-tooltip::before {
  display: none;
}
