.lbaic-settings {
  &-toggle {
    width: 35px;
    height: 18px;
    flex: 0 0 35px;
    padding: 2px;
    background-color: var(--lbaic-settings-toggle-bg);
    border-radius: 16px;
    border: none;
    transition: background-color 180ms ease-in-out;
    cursor: pointer;

    &-holder {
      width: 100%;
      display: flex;
      align-items: center;

      &:not(:last-child):not(:first-child:last-child) {
        padding-block-end: 2px;
      }

      &.gap-8 {
        gap: 8px;
      }

      .lbaic-settings-label-in {
        cursor: pointer;
      }
    }

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

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

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

    &-h-42 {
      height: 42px;
    }

    &-sm {
      @include max-width($lbaic-settings-wp-sm-breakpoint) {
        width: 30px;
        height: 14px;
        flex: 0 0 30px;
        .lbaic-settings-toggle-in {
          width: 10px;
          height: 10px;
        }

        &.active {
          .lbaic-settings-toggle-in {
            transform: translate3d(16px, 0, 0);
          }
        }
      }
    }
  }

  &-pw-toggle {
    width: 28px;
    height: 16px;
    flex: 0 0 28px;

    .lbaic-settings-toggle-in {
      width: 12px;
      height: 12px;
    }

    &.active {
      .lbaic-settings-toggle-in {
        transform: translate3d(12px, 0, 0);
      }
    }
  }
}