/* Container */
.track-order-container {
  max-width: 700px;
  margin: 40px auto;
  padding: 20px;
}

/* Card */
.track-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Title */
.track-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #007bff;
  margin-bottom: 10px;
}

.order-id {
  font-size: 0.95rem;
  color: black;
  margin-bottom: 20px;
}

/* Status Badge */
.status-badge {
  display: inline-block;
  padding: 6px 12px;
  font-size: 0.85rem;
  border-radius: 20px;
  font-weight: 600;
  color: #fff;
}
.status-badge.pending { background: #ffc107; }
.status-badge.processing { background: #17a2b8; }
.status-badge.shipped { background: #007bff; }
.status-badge.delivered { background: #28a745; }
.status-badge.cancelled { background: #dc3545; }

/* Tracking number */
.tracking-number {
  font-weight: 600;
  color: #333;
}

/* Timeline */
.timeline-title {
  margin: 25px 0 15px;
  font-weight: 600;
  font-size: 1.2rem;
  color: #007bff;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 3px solid #007bff20;
}

.timeline li {
  padding: 10px 15px;
  position: relative;
  margin-left: 15px;
  border-radius: 6px;
  background: #f9fbff;
  margin-bottom: 12px;
}

.timeline li::before {
  content: "●";
  position: absolute;
  left: -21px;
  top: 14px;
  color: #007bff;
  font-size: 0.8rem;
}

.timeline-date {
  display: block;
  font-size: 0.8rem;
  color: #888;
  margin-top: 4px;
}

/* Buttons */
.btn-wrapper {
  margin-top: 20px;
  text-align: center;
}

.btn-back {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 6px;
  background: #007bff;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s ease;
}
.btn-back:hover {
  background: #0056b3;
}
