.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0;
  max-width: max-content;
  gap: 4px;
  line-height: var(--typography-line-height-label2-sm);
  font-size: var(--typography-font-size-label2-sm);
  text-transform: uppercase;
}
  
/* Style variants */
.tag--primary {
  background-color: var(--color-surface-surface-secondary-active);
  color: var(--color-foreground-foreground-on-active);
  border: none;
}

.tag--secondary {
  color: var(--color-foreground-foreground-secondary-active);
  border: var(--border-width-border-border-width-thin) solid var(--color-border-width-border-width-secondary-active);
}

.tag--overlay {
  background-color: var(--color-background-background-inverse-neutral);
  opacity: 0.7;
  color: var(--color-foreground-foreground-on-secondary-active);
}
  
  /* Size modifiers */
.tag--sm {
  border-radius: var(--border-radius-border-border-radius-sm);
  line-height: var(--typography-line-height-label3-sm);
  font-size: var(--typography-font-size-label3-sm);
  padding: var(--space-space-xs);
}

.tag--md {
  border-radius: var(--border-radius-border-border-radius-md);
  padding: var(--space-space-xs) var(--space-space-sm);
}

.tag .icon-image img {
  width: 16px;
  height: 16px;
}
