

.api-counter-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 12px;
}

.api-label {
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.api-count {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}



.tracking-search-card {
  margin-bottom: 24px;
}

.tracking-result-card {
  padding: 32px;
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.courier-info h3 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.badge {
  display: inline-block;
  padding: 4px 8px;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.status-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: capitalize;
  background: #f3f4f6;
  color: #374151;
}

.status-badge.delivered {
  background: #d1fae5;
  color: #065f46;
}

.status-badge.transit {
  background: #dbeafe;
  color: #1e40af;
}

.status-badge.pending {
  background: #fef3c7;
  color: #92400e;
}

.status-badge.exception {
  background: #fee2e2;
  color: #b91c1c;
}

.timeline-container {
  margin-top: 24px;
}

.timeline-item {
  position: relative;
  padding-left: 32px;
  padding-bottom: 24px;
}

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

.timeline-item::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: -6px;
  width: 2px;
  background: var(--border-color);
}

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

.timeline-dot {
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-color);
  border: 2px solid var(--surface-color);
}

.timeline-item.active .timeline-dot {
  background: var(--primary-color);
}

.timeline-content .time {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 4px;
}

.timeline-content .event {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 2px;
}

.timeline-content .location {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.recent-searches-card h3 {
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.activity-item {
  cursor: pointer;
  transition: background-color 0.2s;
}

.activity-item:hover {
  background-color: var(--bg-color);
  border-radius: var(--radius-md);
  padding-left: 8px;
  padding-right: 8px;
  margin-left: -8px;
  margin-right: -8px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .api-counter-card {
    width: 100%;
    justify-content: space-between;
  }
}
