.radio-group {
  direction: rtl;
  font-family: sans-serif;
}

.radio-wrapper {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  margin-bottom: 12px;
  position: relative;
}

/* Hide default radio */
.radio-wrapper input {
  position: absolute;
  opacity: 0;
}

/* Outer circle */
.custom-radio {
  width: 20px;
  height: 20px;
  border: 2px solid #5f6368;
  border-radius: 50%;
  margin-left: 10px; /* important for RTL */
  position: relative;
  transition: all 0.2s ease;
}

/* Inner circle */
.custom-radio::after {
  content: "";
  width: 10px;
  height: 10px;
  background: #f04a24;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.2s ease;
}

/* Checked state */
.radio-wrapper input:checked + .custom-radio {
  border-color: #f04a24;
}

.radio-wrapper input:checked + .custom-radio::after {
  transform: translate(-50%, -50%) scale(1);
}

/* Hover effect */
.radio-wrapper:hover .custom-radio {
  border-color: #f04a24;
}