.timeline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.timeline-row {
  position: relative;
  border-left: 10px solid var(--movil-color, #0b4663);
  border-radius: 18px;
  padding: 1rem 1.5rem;
  background: color-mix(in srgb, var(--movil-color, #0b4663) 60%, rgba(15, 23, 42, 0.12) 40%);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.timeline-row .timeline-card {
  border: none;
  background: transparent;
  padding: 0;
}

.timeline-row .timeline-card .badge {
  border-radius: 999px;
}

.timeline-row .timeline-time,
.timeline-row .timeline-dot {
  flex-shrink: 0;
}

.timeline-row .timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid rgba(248, 250, 252, 0.9);
  background: var(--movil-color, #0b4663);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-top: 6px;
}

.timeline-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.35);
}

.timeline-row:hover .timeline-dot {
  transform: scale(1.1);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.35);
}

body.theme-dark .timeline-row {
  background: color-mix(in srgb, var(--movil-color, #0b4663) 60%, rgba(15, 23, 42, 0.65) 40%);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

body.theme-dark .timeline-row .timeline-dot {
  border-color: rgba(248, 248, 248, 0.75);
  box-shadow: 0 0 0 6px rgba(15, 23, 42, 0.5);
}

.timeline-card .subtitle {
  color: var(--muted);
}
