.wf_tabs {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 100%;
}

.wf_tabs__option {
  display: inline-flex;
  margin: 0;
  min-width: 0;
}

.wf_tabs__input {
  height: 1px;
  margin: -1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.wf_tabs__item {
  align-items: center;
  background: var(--design-bg-surface);
  border: 1px solid var(--design-border);
  border-radius: var(--design-border-radius);
  color: var(--design-text-primary);
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  font-weight: 400;
  justify-content: center;
  line-height: 21px;
  min-height: 32px;
  padding: 5px 8px;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
  white-space: nowrap;
}

.wf_tabs__item:hover {
  background: var(--design-bg-subtle);
}

.wf_tabs__input:focus-visible + .wf_tabs__item {
  border-color: var(--design-primary);
  outline: 2px solid var(--design-accent-cream);
  outline-offset: 2px;
}

.wf_tabs__input:checked + .wf_tabs__item {
  background: var(--design-bg-subtle);
  border-color: var(--design-border);
  color: var(--design-text-primary);
}

.wf_tabs__input:disabled + .wf_tabs__item {
  background: var(--design-bg-muted);
  color: var(--design-text-disabled);
  cursor: not-allowed;
}

.wf_ui_filter_drawer .wf_tabs {
  width: 100%;
}
