.lbaic-toggle {
  width: 35px;
  height: 18px;
  flex: 0 0 35px;
  border-radius: 14px;
  transition: background-color 180ms ease-in-out;
  cursor: pointer;

  &:not(:hover):not(:active):not(.has-background) {
    padding: 2px;
    background-color: var(--lbaic-toggle-bg);
    border: none;

    &.active {
      background-color: var(--lbaic-toggle-active-bg);
    }
  }

  &:hover {
    padding: 2px;
    background-color: var(--lbaic-toggle-bg);
    border: none;

    &.active {
      background-color: var(--lbaic-toggle-active-bg);
    }
  }

  &-in {
    width: 14px;
    height: 14px;
    display: block;
    background-color: var(--lbaic-toggle-in);
    border-radius: 50%;
    box-shadow: var(--lbaic-toggle-shadow);
    transform: translate3d(0, 0, 0);
    transition: transform 180ms ease-in-out;
  }

  &.active {
    background-color: var(--lbaic-toggle-active-bg);

   .lbaic-toggle-in {
      transform: translate3d(17px, 0, 0);
    }
  }
}