@use '../../../css/_config/_mixins';
@use '../../../css/_config/_vars';

.wrap {
  display: inline-block;
  margin-right: 18px;
  margin-left: -6px;
}

.trigger {
  display: flex;
  align-items: center;
  padding: 6px 6px;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1;
  color: var(--color-opacity-06);

  @include mixins.focus-self-outline;
}

.icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  color: var(--color-text);
  opacity: var(--opacity-06);

  &:first-child {
    margin: 0 8px 0 0;
  }
  &:last-child {
    margin: 0 0 0 8px;
  }
}

.content {
  left: 8px;
  padding: 6px 0;
  background: var(--color-secondary-background);
  border: 1px solid var(--color-secondary-border);
  border-radius: 5px;
  box-shadow: var(--shadow-md);
  z-index: 99;
  font-size: 13px;
  line-height: 1;
}

.viewport {
}

.item {
  padding: 5px 14px;
  cursor: pointer;

  &[data-state='checked'] {
    color: var(--color-core);
  }
}

.indicator {
  margin: 0 0 0 8px;
}

.indicatorIcon {
  display: inline-block;
  position: relative;
  top: 1px;
  width: 10px;
  height: 10px;
}
