.form-check-input {
    position: relative;
    width: 20px !important;
    height: 20px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid #d0d0d0;
    border-radius: 4px;
    transition: all .2s ease-in-out;
    display: inline-block;
    background-color: #fff;
    transform: none !important;
    zoom: 1 !important;
    background-image: none !important;
}

.form-check-input:hover {
    border-color: #e2001a;
    /* rosso Melarossa */
    box-shadow: 0 0 0 3px rgba(226, 0, 26, 0.15);
}

.form-check-input:checked {
    background-color: #e2001a;
    border-color: #e2001a;
}

.form-check-input:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-check-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(226, 0, 26, .3);
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.form-check-label {
    cursor: pointer;
    line-height: 1.3;
    user-select: none;
}

.form-check-input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    background-image: none !important;
    border: 2px solid #d0d0d0 !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.form-check-input[type="checkbox"]:checked {
    background-color: #e2001a !important;
    border-color: #e2001a !important;
}

.form-check-input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

form .form-check .form-check-input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    background-image: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 2px solid #d0d0d0 !important;
    border-radius: 4px !important;
    vertical-align: middle !important;
    display: inline-block !important;
    appearance: none !important;
}

@media (max-width: 576px) {
    .form-check-input {
        width: 24px;
        height: 24px;
    }
}