.lbaic-settings-checkbox {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;

  &-wrapper {
  }

  &-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
  }

  &-in {
    width: 16px;
    height: 16px;
    min-width: 16px;
    flex: 0 0 16px;
    display: block;
    background-color: var(--lbaic-settings-checkbox-bg);
    border: 1px solid var(--lbaic-settings-checkbox-border);
    border-radius: 2px;
  }

  &-i {
    width: 100%;
    height: auto;
    display: block;
    fill: #fff;
    opacity: 0;

    &-check, &-check-intermediate {
      opacity: 0;
    }
  }

  &-icon {
    width: 20px;
    height: auto;
    display: block;
    fill: var(--lbaic-settings-checkbox-color);
    margin-inline-start: 8px;
  }

  &-img {
    width: 20px;
    height: auto;
    margin-inline-start: 8px;
    border-radius: 6px;

    &.avatar {
      border-radius: 50%;
    }
  }

  &-label {
    padding-inline-start: 8px;
    font-size: var(--lbaic-settings-fs-13);
    color: var(--lbaic-settings-checkbox-color);
    line-height: var(--lbaic-settings-lh-22);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  &-desc {
    padding-inline-start: 24px;

    &-in {
      font-size: var(--lbaic-settings-fs-12);
      color: var(--lbaic-settings-checkbox-desc-color);
      line-height: var(--lbaic-settings-lh-18);
      white-space: pre-wrap;
    }
  }

  &-h-42 {
    height: 42px;

    .lbaic-settings-checkbox {
      height: 42px;
    }
  }

  &.checked-intermediate {
    .lbaic-settings-checkbox {
      &-in {
        background-color: var(--lbaic-settings-checkbox-active-bg);
        border-color: var(--lbaic-settings-checkbox-active-border);
      }

      &-i {
        opacity: 1;

        &-check-intermediate {
          opacity: 1;
        }
      }
    }
  }

  &.checked {
    .lbaic-settings-checkbox {
      &-in {
        background-color: var(--lbaic-settings-checkbox-active-bg);
        border-color: var(--lbaic-settings-checkbox-active-border);
      }

      &-i {
        opacity: 1;

        &-check {
          opacity: 1;
        }
      }
    }
  }

  &.disabled {
    opacity: 0.5;
    pointer-events: none;
  }
}