* {
  box-sizing: border-box;
}

.wrapper {
  padding: 0;
  background: transparent;
  height: 48px;
  width: 48px;
  appearance: none;
  border: none;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;

  @mixin style style=flat;

  &.pointer-arrow-left {
    width: 56px;
    flex-direction: row-reverse;
  }

  &.pointer-arrow-right {
    width: 56px;
  }

  & .visible-wrapper {
    height: 32px;
    width: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  & .icon {
    height: 24px;
    width: 24px;
  }

  &.value-unchecked {
    .visible-wrapper {
      background-color: var(--normal-enabled-background-color);
      border-color: var(--normal-enabled-border-color);
      box-shadow: var(--shadow-flat);
      border-width: 1px;
      border-style: solid;
    }

    .icon {
      color: var(--instrument-regular-secondary-color);
    }
  }

  &.value-checked {
    .visible-wrapper {
      background-color: var(--selected-enabled-background-color);
      border-color: var(--selected-enabled-border-color);
      box-shadow: var(--shadow-raised);
    }

    .icon {
      color: var(--on-selected-active-color);
    }
  }
}
