/* --- ORDER TRACKING PAGE STYLES --- */
.tracking-container {
  padding-top: 140px;
  padding-bottom: 80px;
  max-width: 700px;
  margin: 0 auto;
}

.tracking-card {
  background: var(--ruut-white);
  border-radius: 8px;
  padding: 30px;
  border: 1px solid var(--ruut-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.tracking-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  position: relative;
}

.tracking-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
}

.tracking-step-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ruut-bg);
  border: 2px solid var(--ruut-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ruut-text);
}

.tracking-step-item.active .tracking-step-icon {
  background: var(--ruut-accent);
  color: var(--ruut-white);
  border-color: var(--ruut-accent);
}

/* Premium Timeline Styling Extracted from track.html */
.timeline-item {
  position: relative;
  padding-bottom: 30px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 5px;
  bottom: -20px;
  width: 2px;
  background: #D1C7B7;
  z-index: 1;
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-item.completed::before {
  background: var(--ruut-accent, #895158);
}

.timeline-node {
  position: absolute;
  left: -26px;
  top: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #F1ECE6;
  border: 2px solid #D1C7B7;
  z-index: 2;
  transition: all 0.3s;
}

.timeline-item.completed .timeline-node {
  background: var(--ruut-accent, #895158);
  border-color: var(--ruut-accent, #895158);
  box-shadow: 0 0 0 4px rgba(137, 81, 88, 0.2);
}

.timeline-content {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 15px;
}

.timeline-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 4px 0;
  color: var(--ruut-coffee, #4A3324);
  letter-spacing: 0.5px;
}

.timeline-info p {
  font-size: 0.8rem;
  margin: 0;
  opacity: 0.85;
  color: var(--ruut-text, #664436);
  line-height: 1.4;
}

.timeline-meta {
  text-align: right;
  font-size: 0.75rem;
  white-space: nowrap;
  color: var(--ruut-text, #664436);
}

.timeline-meta span {
  display: block;
  opacity: 0.7;
}

.timeline-meta strong {
  display: block;
  font-size: 0.8rem;
  margin-top: 2px;
  color: var(--ruut-coffee, #4A3324);
}

@media (max-width: 850px) {
  .track-grid-wrap,
  .track-columns-grid {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }
  .track-unified-card {
    padding: 25px 18px !important;
  }
}
