div {
  .ant-radio-button-wrapper {
    outline: unset;
  }
  .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover {
    border-color: var(--primary);
    color: var(--primary);
  }
  .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: -1px 0 0 0 var(--primary);
  }
  .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):first-child {
    border-color: var(--primary);
  }
  .ant-radio-disabled .ant-radio-inner::after {
    background-color: var(--bd-color);
  }
  .ant-radio-disabled .ant-radio-inner {
    background-color: var(--form-bg);
    opacity: 0.8;
  }
  .ant-radio-button-wrapper:hover {
    color: var(--primary);
  }

  .ant-radio-checked .ant-radio-inner {
    border-color: var(--primary);
  }
  .ant-radio-inner {
    background-color: var(--form-bg);
  }
  .ant-radio-inner::after {
    background-color: var(--primary);
  }
  .ant-radio-checked::after {
    border-color: var(--primary);
  }
  .ant-radio-wrapper {
    color: inherit;
  }
  .ant-radio-disabled + span {
    color: inherit;
    opacity: 0.8;
  }
  .ant-radio-wrapper:hover .ant-radio,
  .ant-radio:hover .ant-radio-inner,
  .ant-radio-input:focus + .ant-radio-inner {
    border-color: var(--primary);
  }
  .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled)::before {
    background-color: var(--primary) !important;
    opacity: unset;
  }
  .ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) {
    background-color: var(--primary);
    border-color: var(--primary);
  }
  .ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: -1px 0 0 0 var(--primary);
  }

  .ant-radio-button-wrapper-checked:not([class*=' ant-radio-button-wrapper-disabled']).ant-radio-button-wrapper:first-child {
    border-right-color: var(--primary);
  }

  .ant-radio-button-wrapper:last-child {
    border-radius: 0 var(--form-redius) var(--form-redius) 0;
  }

  .ant-radio-button-wrapper:first-child {
    border-radius: var(--form-redius) 0 0 var(--form-redius);
  }
}
