.tagButton {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 9999px;
  background-color: var(--default-bg-color);
  border: 1px solid var(--border-color);
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-text-color);
  text-decoration: none;
  line-height: 20px;
  min-height: 32px;
  box-sizing: border-box;
}

.tagButton:hover {
  background-color: var(--hover-bg-color);
  border-color: var(--hover-border-color);
  transform: translateY(-1px);
}

.tagButton:active {
  transform: translateY(0);
}

.tagContent {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tagName {
  color: var(--primary-text-color);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.tagCount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 9999px;
  background-color: var(--hover-bg-color);
  color: var(--secondary-text-color);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  flex-shrink: 0;
}

.hasBadge {
  padding-right: 7px;
}