/* ==========================================================================
   order-timeline.css — Order tracking timeline
   Progress steps on the track-order page.
   Self-contained: every value is written out (no CSS variables) and every
   selector has its own rule, so changing one block never touches another.
   ========================================================================== */

/* ── .timeline ── */
.timeline {
  list-style: none;
  margin: 8px 0 0;
  padding: 0 0 0 22px;
  border-left: 2px solid #e0c8e8;
}

.timeline li {
  position: relative;
  padding: 0 0 18px 18px;
  font-size: .88rem;
  color: #4a154bd6;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #4a154b;
  border: 3px solid #f9f0fa;
}

.timeline small {
  display: block;
  color: #4a154bb2;
}

/* ── .progress ── */
.progress {
  display: flex;
  margin: 24px 0 8px;
}

.progress .step {
  flex: 1;
  text-align: center;
  font-size: 0.8rem;
  color: #4a154bb2;
  position: relative;
}

.progress .step::before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e0c8e8;
  margin: 0 auto 8px;
  position: relative;
  z-index: 1;
}

.progress .step::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: #e0c8e8;
}

.progress .step:last-child::after {
  display: none;
}

.progress .step.done {
  color: #4a154b;
  font-weight: 600;
}

.progress .step.done::before {
  background: #4a154b;
}

.progress .step.done::after {
  background: #4a154b;
}
