.radio {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 2rem;
}

.radio input {
    display: none;
}

.radio__control {
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid #1D202933;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.radio__control::after {
    content: "";
    width: .8rem;
    height: .8rem;
    border-radius: 50%;
    background: var(--white);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.radio input:checked + .radio__control {
    background: var(--primary);
    border-color: var(--primary);
}

.radio input:checked + .radio__control::after {
    opacity: 1;
}