.custom-border-checkbox {
    border: 1px solid #c6c6c6;
    padding: 32px 30px;
}

    .custom-border-checkbox.no-legend legend {
        display: none;
    }

    .custom-border-checkbox .form-check {
        display: flex;
    }

        .custom-border-checkbox .form-check p {
            float: unset;
        }

    .custom-border-checkbox .form-text + .list-unstyled-custom {
        margin-top: 32px;
    }

    .custom-border-checkbox .form-text span {
        display: block;
        margin-top: 10px;
        color: #6f7a8a;
        line-height: 1.7;
    }

    .custom-border-checkbox .list-unstyled-custom .form-check label {
        line-height: 1.4;
        margin: 0;
        float: unset;
        margin-left: 8px;
        font-size: 16px;
    }

    .custom-border-checkbox .list-unstyled-custom .form-check input {
        height: 16px;
        width: 16px;
        align-self: center;
    }

.custom-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid #c6c6c6;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    transition: border-color 0.2s ease;
    padding: 0;
}

    .custom-checkbox input[type="checkbox"]:checked::before {
        content: '';
        position: absolute;
        top: 2px;
        left: 2px;
        width: 10px;
        height: 10px;
        background-color: #c6c6c6;
        border-radius: 50%;
    }

    .custom-checkbox input[type="checkbox"]:hover {
        border-color: #333;
    }
