@radio-prefix-cls: ~'@{ant-prefix}-radio';
@radio-group-prefix-cls: ~'@{radio-prefix-cls}-group';
@radio-inner-prefix-cls: ~'@{radio-prefix-cls}-inner';
@radio-wrapper-prefix-cls: ~'@{ant-prefix}-radio-wrapper';

.@{radio-prefix-cls} {
  &-checked {
    .@{radio-inner-prefix-cls} {
      background-color: @primary-color;

      &::after {
        background-color: @white;
      }
    }
  }

  &-disabled {
    .@{radio-inner-prefix-cls} {
      background-color: #ddd;
      border-color: #bbb;
    }
  }

  &:not(&-disabled):hover {
    .@{radio-inner-prefix-cls} {
      background-color: @primary-color;

      &::after {
        background-color: @white;
        transform: scale(1);
        opacity: 1;
      }
    }
  }
}
