.badge {
  display: inline-block;
  padding: 0.25em 0.4em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
}

.badge-success {
  color: #fff;
  background-color: #28a745;
}

.badge-info {
  color: #fff;
  background-color: #17a2b8;
}

.badge-warning {
  color: #212529;
  background-color: #ffc107;
}

.badge-secondary {
  color: #fff;
  background-color: #6c757d;
}

.list-unstyled {
  padding-left: 0;
  list-style: none;
}

.table-responsive {
  display: block;
  width: 100%;
  overflow-x: auto;
}

@media (max-width: 768px) {
  .col-md-4,
  .col-md-6,
  .col-md-8 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .timeline-content {
    margin-left: 1rem;
  }

  .tracking-timeline {
    padding-left: 1.5rem;
  }
}

.table {
  width: 100%;
  margin-bottom: 1rem;
  color: #757575;
}

.table th,
.table td {
  padding: 0.75rem;
  vertical-align: top;
  border-top: 1px solid #dee2e6;
}

.table thead th {
  vertical-align: bottom;
  border-bottom: 2px solid #dee2e6;
}

.jumbotron {
  padding: 2rem 1rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #ff4800 0%, #cc3a00 100%);
  border-radius: 0.5rem;
}

/* Custom styles for tracking page */
.tracking-status {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 2rem;
}

.tracking-timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
  border-left: 2px solid #e9ecef;
}

.timeline-item:last-child {
  border-left: 2px solid transparent;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff4800;
}

.timeline-item.completed::before {
  background: #28a745;
}

.timeline-item.destination::before {
  background: #707271ff;
}

.timeline-item.current::before {
  background: #ff4800;
  box-shadow: 0 0 0 4px rgba(255, 72, 0, 0.2);
}

.timeline-content {
  margin-left: 1.5rem;
}

.map-container {
  height: 480px;
  background: #f8f9fa;
  border-radius: 10px;
  border: 1px solid #dee2e6;
  position: relative;
  overflow: hidden;
}

.package-info-card {
  border-left: 4px solid #ff4800;
}

.status-badge {
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 600;
}

.status-in-transit {
  background: rgba(255, 193, 7, 0.1);
  color: #856404;
}

.delivery-progress {
  height: 8px;
  background: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #28a745, #20c997);
  transition: width 0.5s ease;
}
