@include prefix(checkbox) {
  @include public-style;
  cursor: pointer;
  user-select: none;
  position: relative;
  display: inline-block;
  vertical-align: baseline;
  outline: none;
  font-size: 14px;

  .plain-click-node {
    width: 1.1em;
    height: 1.1em;
    display: inline-block;
    vertical-align: -0.18em;

    @include prefix(checkbox-inner) {
      transition: all 150ms linear;
      float: left;
    }

    & + .checkbox-label {
      margin-left: 0.5em;
    }
  }

  .checkbox-label {
    display: inline-block;
    color: plv(text-2);
  }

  @include statusMixin(checkbox) {
    .plain-click-node {
      @include prefix(checkbox-inner) {
        color: $color-6;
      }

      &:after {
        border-color: $color-6;
      }
    }
  }

  &.checkbox-status-error {
    &.checkbox-check-status-check {
      .checkbox-label {
        color: plv(error-6);
      }
    }
  }

  @include sizeMixin(checkbox, (font-size)) {
    line-height: 1.7em;

    .plain-click-node {
      border-radius: $border-radius;
    }
  }

  &:focus {
    .checkbox-label {
      text-decoration: underline;
    }
  }

  &.checkbox-disabled {
    cursor: not-allowed;

    .checkbox-label {
      color: plv(text-4) !important;
    }
  }
}

@include prefix(checkbox-group) {
  width: 100%;
}
