fieldset {
    border: 0;
}

legend {
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
}

.control {
    display: inline-flex;
    position: relative;
    margin: 5px;
    cursor: pointer;
    border-radius: 99em;
}

.control input {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.control svg {
    margin-right: 6px;
    border-radius: 50%;
    box-shadow: 3px 3px 16px rgba(0, 0, 0, 0.2);
}

.control__content {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    font-size: 24px;
    /* line-height: 32px; */
    color: rgba(0, 0, 0, 1);
    /* background-color: rgba(0, 0, 0, 0.05); */
    border-radius: 99em;
    border: 1px solid #D1D1D1;
}

.control:hover .control__content {
    background-color: rgba(0, 0, 0, 0.1);
}

.control input:focus~.control__content {
    box-shadow: none;
    background-color: rgba(0, 0, 0, 0.1);
}

.control input:checked~.control__content {
    background-color: rgb(12 38 129);
    color: #fff;
}


/* Custom radio with text css */

.text_radio input[type="radio"] {
    display: none;
}

.text_radio label {
    padding: 5px 20px;
    display: inline-block;
    border: 1px solid #EF6D2C;
    cursor: pointer;
    border-radius: 100px;
}

.text_radio .blank-label {
    display: none;
}

.text_radio input[type="radio"]:checked+label.control__content.no_dc {
    background: #FFC58C;
    color: #000000;
}
.control input:checked~.control__content.no_dc {
    background-color: #ef6d2c4d;
    color: #f04b33;
    border: none;
    font-weight:500;    
}