﻿.bitdirect-radio {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    cursor: pointer;
    position: relative;
    font-family: Poppins, sans-serif;
    color: #192f56;
    user-select: none;
}

    .bitdirect-radio input[type="radio"] {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

.bitdirect-radio__circle {
    width: 24px;
    height: 24px;
    border: 2px solid #5b616e;
    border-radius: 50%;
    background: #fff;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
}

    .bitdirect-radio__circle::after {
        content: "";
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #ffab00;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0);
        transition: transform 0.18s ease;
    }

.bitdirect-radio:hover .bitdirect-radio__circle {
    border-color: #192f56;
    box-shadow: 0 0 0 4px rgba(25, 47, 86, 0.08);
}

.bitdirect-radio input[type="radio"]:focus-visible + .bitdirect-radio__circle {
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 171, 0, 0.25);
    border-color: #192f56;
}

.bitdirect-radio input[type="radio"]:checked + .bitdirect-radio__circle {
    border-color: #192f56;
    background: #fff;
}

    .bitdirect-radio input[type="radio"]:checked + .bitdirect-radio__circle::after {
        transform: translate(-50%, -50%) scale(1);
    }

.bitdirect-radio input[type="radio"]:disabled + .bitdirect-radio__circle {
    opacity: 0.55;
    cursor: not-allowed;
}

.bitdirect-radio input[type="radio"]:disabled ~ .bitdirect-radio__label {
    opacity: 0.55;
    cursor: not-allowed;
    
}

.bitdirect-radio__label {
    font-size: 14px;
    font-weight: 400;
}
