/* Chip/Tag Base */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.5;
  border-radius: 9999px;
  white-space: nowrap;
  gap: 0.5rem;
}

/* Chip Variants */
.chip-default {
  background-color: var(--bg-tertiary);
  color: var(--text-secondary);
}

.chip-primary {
  background-color: var(--primary-light);
  color: var(--primary);
}

.chip-success {
  background-color: var(--success-light);
  color: var(--success);
}

.chip-warning {
  background-color: var(--warning-light);
  color: var(--warning);
}

.chip-error {
  background-color: var(--error-light);
  color: var(--error);
}

.chip-info {
  background-color: var(--info-light);
  color: var(--info);
}

/* Chip Close Button */
.chip-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.chip-close:hover {
  opacity: 1;
}

.chip-close svg {
  width: 12px;
  height: 12px;
}

/* Chip Group */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
