.proRatioGroups :global(.ant-radio-wrapper:last-child) {
  width: 100% !important;
}

.proRatioGroups :global(.ant-radio-label) {
  width: 100% !important;
}

/* radio.module.css */
.proRatioGroups :global(.ant-radio-inner) {
  width: 24px !important;
  height: 24px !important;
  border-radius: 30px !important;
}

.proRatioGroups :global(.ant-radio) {
  width: 24px !important;
  height: 24px !important;
}

.circleCheckbox {
  border: 1px solid #5f6c7b1f;
  height: 62px;
  justify-content: space-between;
  opacity: 1;
  border-radius: 888px;
  padding: 8px 12px;
  border-width: 1px;
}

/* Make AntD checkbox look like a circular check indicator (scoped via CSS modules) */
.circleCheckbox :global(.ant-checkbox-inner) {
  width: 24px;
  height: 24px;
  border-radius: 50% !important;
  border: 1.5px solid #d5d8da;
  background: transparent;
}

.circleCheckbox :global(.ant-checkbox-checked .ant-checkbox-inner) {
  border-radius: 50% !important;
  background: transparent;
  border-color: #ffb700;
}

/* Replace AntD checkmark with a filled inner circle when checked (match SVG) */
.circleCheckbox :global(.ant-checkbox-inner::after) {
  content: "";
  border: 0 !important;
  transform: none !important;
  width: 0;
  height: 0;
  left: 50%;
  top: 50%;
}

:global(.ant-app-rtl) .circleCheckbox :global(.ant-checkbox-inner::after) {
  left: auto;
  right: 50%;
}

.circleCheckbox :global(.ant-checkbox-checked .ant-checkbox-inner::after) {
  width: 18px;
  height: 18px;
  margin-left: -9px;
  margin-top: -9px;
  border-radius: 50%;
  background: #ffb700;
}

:global(.ant-app-rtl)
  .circleCheckbox
  :global(.ant-checkbox-checked .ant-checkbox-inner::after) {
  margin-left: auto;
  margin-right: -9px;
}

/* Apply same circular style to Radio buttons */
.circleCheckbox :global(.ant-radio-inner) {
  width: 24px;
  height: 24px;
  border-radius: 50% !important;
  border: 1.5px solid #d5d8da;
  background: transparent;
}

.circleCheckbox :global(.ant-radio-checked .ant-radio-inner) {
  border-radius: 50% !important;
  background: transparent;
  border-color: #ffb700;
}

.circleCheckbox :global(.ant-radio-inner::after) {
  content: "";
  border: 0 !important;
  transform: none !important;
  width: 0;
  height: 0;
  left: 50%;
  top: 50%;
}

:global(.ant-app-rtl) .circleCheckbox :global(.ant-radio-inner::after) {
  left: auto;
  right: 50%;
}

.circleCheckbox :global(.ant-radio-checked .ant-radio-inner::after) {
  width: 18px;
  height: 18px;
  margin-left: -9px;
  margin-top: -9px;
  border-radius: 50%;
  background: #ffb700;
}

:global(.ant-app-rtl)
  .circleCheckbox
  :global(.ant-radio-checked .ant-radio-inner::after) {
  margin-left: auto;
  margin-right: -9px;
}
