.inail-radio-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: max-content !important;
  font-family: "Open Sans", sans-serif !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  line-height: 24px !important;
  letter-spacing: 0% !important;
  color: #19191a !important;
  margin-right: 12px !important;
  cursor: pointer !important;
}

.inail-radio-button:hover {
  color: #004d99 !important;
}

.inail-custom-radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px !important;
}

.inail-custom-radio {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.inail-radio-input {
  position: absolute;
  opacity: 0;
}

.inail-radio-background {
  position: relative;
  width: 24px;
  height: 24px;
  margin-right: 10px;
  border: 2px solid #7e858b;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease;
}

.inail-radio-inner-circle {
  width: 0;
  height: 0;
  background-color: #002e5f;
  border-radius: 100px;
}

.inail-radio-input:checked + .inail-radio-background {
  border-color: #002e5f;
}

.inail-radio-input:checked + .inail-radio-background .inail-radio-inner-circle {
  width: 16px !important;
  height: 16px !important;
}

.inail-radio-input:focus + .inail-radio-background {
  outline: 1px solid #19191a !important;
  outline-offset: 2px !important;
}

.inail-radio-input:hover + .inail-radio-background {
  border-color: #004d99 !important;
}

.inail-radio-input:disabled + .inail-radio-background {
  cursor: not-allowed !important;
  border-color: #a9aeb1 !important;
}

.inail-radio-input:disabled
  + .inail-radio-background
  > .inail-radio-inner-circle {
  background-color: #a9aeb1 !important;
}

.inail-radio-button input:disabled ~ .inail-radio-background + span {
  color: #54595d !important;
  cursor: not-allowed !important;
}

.inail-radio-error {
  padding: 0px 30px !important;
  color: #c9291b !important;
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 400 !important;
}

.inail-radio-group-error .inail-radio-background {
  border-color: #c9291b !important;
}
