.custom-radio {
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-left: 25px;
    cursor: pointer;
    font-size: 14px;
    margin-right: 10px;
}

.custom-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.custom-checkmark {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    background-color: white;
    border: 2px solid #007bff;
    border-radius: 50%;
    transition: background-color 0.3s, border-color 0.3s;
}

.custom-radio input[type="radio"]:checked ~ .custom-checkmark {
    background-color: #007bff;
    border-color: #007bff;
}

.custom-checkmark::after {
    content: "";
    position: absolute;
    display: none;
}

.custom-radio input[type="radio"]:checked ~ .custom-checkmark::after {
    display: block;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-radio input[type="radio"]:checked ~ .custom-label {
    color: #007bff;
}

.radio-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

@media (max-width: 600px) {
    .radio-group {
       width: 100%;
        justify-content: space-between;
    }
}
