@import '../common/index.wxss';

.van-checkbox {
  display: -webkit-flex;
  display: flex;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none
}

.van-checkbox__icon-wrap,
.van-checkbox__label {
  line-height: 20px;
  line-height: var(--checkbox-size, 20px)
}

.van-checkbox__icon-wrap {
  -webkit-flex: none;
  flex: none
}

.van-checkbox__icon {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  box-sizing: border-box;
  width: 1em;
  height: 1em;
  color: transparent;
  text-align: center;
  transition-property: color, border-color, background-color;
  font-size: 20px;
  font-size: var(--checkbox-size, 20px);
  border: 1px solid #c8c9cc;
  border: 1px solid var(--checkbox-border-color, #c8c9cc);
  transition-duration: .2s;
  transition-duration: var(--checkbox-transition-duration, .2s)
}

.van-checkbox__icon--round {
  border-radius: 100%
}

.van-checkbox__icon--checked {
  color: #fff;
  color: var(--white, #fff);
  background-color: #a98f76;
  background-color: var(--checkbox-checked-icon-color, #a98f76);
  border-color: #a98f76;
  border-color: var(--checkbox-checked-icon-color, #a98f76)
}

.van-checkbox__icon--disabled {
  background-color: #ebedf0;
  background-color: var(--checkbox-disabled-background-color, #ebedf0);
  border-color: #c8c9cc;
  border-color: var(--checkbox-disabled-icon-color, #c8c9cc)
}

.van-checkbox__icon--disabled.van-checkbox__icon--checked {
  color: #c8c9cc;
  color: var(--checkbox-disabled-icon-color, #c8c9cc)
}

.van-checkbox__label {
  word-wrap: break-word;
  margin-left: 10px;
  margin-left: var(--checkbox-label-margin, 10px);
  color: #323233;
  color: var(--checkbox-label-color, #323233)
}

.van-checkbox__label--left {
  float: left;
  margin: 0 10px 0 0;
  margin: 0 var(--checkbox-label-margin, 10px) 0 0
}

.van-checkbox__label--disabled {
  color: #c8c9cc;
  color: var(--checkbox-disabled-label-color, #c8c9cc)
}

.van-checkbox__label:empty {
  margin: 0
}