/* #ifdef harmony */
/* #endif */
/* #ifndef harmony */
/* #endif */
.nut-radio {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-height: scale-px(32px);
}
.nut-radio.nut-radio-reverse {
  flex-direction: row-reverse;
}
.nut-radio.nut-radio-reverse .nut-radio-label {
  margin-right: var(--nutui-radio-label-margin-left, 4px);
  margin-left: 0;
}
.nut-radio.nut-radio-nolabel {
  min-width: scale-px(32px);
  justify-content: center;
}
.nut-radio-label {
  margin-left: var(--nutui-radio-label-margin-left, 4px);
  font-size: var(--nutui-radio-label-font-size, var(--nutui-font-text));
  color: var(--nutui-radio-label-color, var(--nutui-color-text));
}
.nut-radio-label-disabled {
  color: var(--nutui-radio-label-disable-color, var(--nutui-color-text-disabled));
}
.nut-radio-icon {
  color: var(--nutui-color-text-disabled);
  background-color: var(--nutui-color-surface-2);
  transition-duration: 0.3s;
  transition-property: color, border-color, background-color;
  font-size: var(--nutui-radio-icon-font-size, var(--nutui-font-text-large));
  border-radius: 50%;
}
.nut-radio-icon-checked {
  color: var(--nutui-color-primary, #ff6666);
  background-color: #ffffff;
  box-shadow: none;
  border-radius: 50%;
}
.nut-radio-icon-checked.nut-radio-icon-disabled {
  color: var(--nutui-color-primary-disabled-special, #ffadbe);
  background-color: var(--nutui-color-surface-2);
  box-shadow: none;
  border-radius: 50%;
}
.nut-radio-icon-disabled {
  color: var(--nutui-color-text-disabled);
}
.nut-radio-button {
  /* #ifdef dynamic*/
  display: flex;
  /* #endif */
  /* #ifndef dynamic*/
  display: inline-flex;
  /* #endif */
  align-items: center;
  min-height: scale-px(30px);
  padding: var(--nutui-radio-button-padding, 5px 18px);
  font-size: var(--nutui-radio-button-font-size, var(--nutui-font-text));
  background: var(--nutui-radio-button-background, var(--nutui-color-surface-1));
  border-radius: var(--nutui-radio-button-border-radius, var(--nutui-radius-xs));
  color: var(--nutui-radio-label-color, var(--nutui-color-text));
  box-sizing: border-box;
  border: scale-px(1px) solid var(--nutui-radio-button-background, var(--nutui-color-surface-1));
}
.nut-radio-button-active {
  background: var(--nutui-color-primary-light-pressed, #ffcccc);
  color: var(--nutui-color-primary, #ff6666);
  border: var(--nutui-radio-button-active-border, 1px solid var(--nutui-color-primary-light, #ffe5e5));
}
.nut-radio-button-disabled {
  color: var(--nutui-color-text-disabled);
  border: scale-px(1px) solid var(--nutui-radio-button-background, var(--nutui-color-surface-1));
}
.nut-radio .nut-radio-button-active.nut-radio-button-disabled {
  background: var(--nutui-color-text-disabled);
  color: #ffffff;
  border: scale-px(1px) solid var(--nutui-color-text-disabled);
}

[dir=rtl] .nut-radio:last-child,
.nut-rtl .nut-radio:last-child {
  margin-right: 0 !important;
  margin-left: 0 !important;
}
[dir=rtl] .nut-radio.nut-radio-reverse .nut-radio-label,
.nut-rtl .nut-radio.nut-radio-reverse .nut-radio-label {
  margin-left: var(--nutui-radio-label-margin-left, 4px);
  margin-right: 0;
}
[dir=rtl] .nut-radio-label,
.nut-rtl .nut-radio-label {
  margin-left: 0;
  margin-right: var(--nutui-radio-label-margin-left, 4px);
}