@import "../../Form/style/common.scss";

.checkbox-label {
  user-select: none;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
  white-space: nowrap;

  &.disabled {
    @include disabledStyle();
    background-color: transparent;
    &.checked {
      .checkbox-icon {
        fill: #999;
        stroke: #999;
      }
    }
  }

  &.mini {
    line-height: 16px;
    font-size: 12px;

    .checkbox-icon {
      width: 12px;
      height: 12px;
      flex: 0 0 12px;
    }
  }

  .checkbox-icon {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    margin-right: 5px;
    margin-left: 1px;
  }

  &.checked {
    .checkbox-icon {
      fill: #3186f5;
      stroke: #3186f5;
    }
  }
}
.checkbox {
  display: none;
  margin-right: 5px;
  margin-left: 1px;
  vertical-align: 1px;
}
