.seg-tabs {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 20px 12px;
  overflow-x: auto;
}

.seg-tabs__item {
  position: relative;
  padding: 6px 0;
  color: $muted;
  font: 500 14px / 1 $font-body;
  transition: color 200ms;
}

.seg-tabs__item--active {
  color: $fg;
  font-weight: 600;
}

.seg-tabs__item--active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 22px;
  height: 3px;
  border-radius: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, $accent 0%, $accent-2 100%);
}

.seg-tabs__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  margin-left: 4px;
  padding: 0 5px;
  border-radius: 9px;
  background: $accent-2;
  color: $primary-on;
  font: 700 10px / 18px $font-body;
  box-sizing: border-box;
}

