.delivery-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 0.8em;
  font-weight: 500;
  white-space: nowrap;

  &--unknown { background: #f5f5f5; color: #999; }
  &--created { background: #e3f2fd; color: #1565c0; }
  &--confirmed { background: #bbdefb; color: #0d47a1; }
  &--in_transit { background: #fff3e0; color: #e65100; }
  &--out_for_delivery { background: #ffe0b2; color: #bf360c; }
  &--ready_for_pickup { background: #f3e5f5; color: #6a1b9a; }
  &--delivered { background: #e8f5e9; color: #2e7d32; }
  &--returned { background: #ffebee; color: #c62828; }
  &--cancelled { background: #e0e0e0; color: #616161; }
  &--problem { background: #fff8e1; color: #f57f17; }
}

.tracking-link {
  margin-left: 4px;
  text-decoration: none;
  font-size: 0.85em;
}
