.bz-switch {
  align-items: center;
  border: 1px solid $bz-neutral-300;
  border-radius: 20px;
  box-shadow: rgb(223, 223, 223) 0 0 0 0 inset;
  box-sizing: content-box;
  cursor: pointer;
  display: flex;
  height: 1.8rem;
  margin: 0;
  overflow: visible;
  padding: 0;
  position: relative;
  transition: all 80ms linear;
  transition-property: transform;
  width: 3.6rem;

  &__circle {
    background-color: $bz-neutral-400;
    border-radius: 100%;
    height: 1.6rem;
    left: 0;
    margin-left: 2px;
    margin-right: 2px;
    transform: translate3d(0, 0, 0);
    transition: all 80ms linear;
    transition-property: transform;
    width: 1.6rem;
    position: relative;
  }

  &--checked {
    border: 1px solid $bz-theme-400;
    .bz-switch__circle {
      background-color: $bz-theme-400;
      transform: translate3d(1.6rem, 0, 0);
    }
  }

  &--disabled {
    background-color: $bz-neutral-200;
    border: 1px solid $bz-neutral-300;
    cursor: not-allowed;
    opacity: .5;
    .bz-switch__circle {
      background-color: $bz-neutral-500;
    }
  }
}
