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

.van-radio {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
}

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

.van-radio--horizontal {
  margin-right: 24rpx;
  margin-right: var(--padding-sm,24rpx);
}

.van-radio__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;
  border: 2rpx solid #c8c9cc;
  border: 2rpx solid var(--radio-border-color,#c8c9cc);
  font-size: 40rpx;
  font-size: var(--radio-size,40rpx);
  transition-duration: .2s;
  transition-duration: var(--radio-transition-duration,.2s);
}

.van-radio__icon--round {
  border-radius: 100%;
}

.van-radio__icon--checked {
  color: #fff;
  color: var(--white,#fff);
  background-color: #1989fa;
  background-color: var(--radio-checked-icon-color,#1989fa);
  border-color: #1989fa;
  border-color: var(--radio-checked-icon-color,#1989fa);
}

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

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

.van-radio__label {
  word-wrap: break-word;
  margin-left: 20rpx;
  margin-left: var(--radio-label-margin,20rpx);
  color: #323233;
  color: var(--radio-label-color,#323233);
  line-height: 40rpx;
  line-height: var(--radio-size,40rpx);
}

.van-radio__label--left {
  float: left;
  margin: 0 20rpx 0 0;
  margin: 0 var(--radio-label-margin,20rpx) 0 0;
}

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

.van-radio__label:empty {
  margin: 0;
}