/******************
    User custom CSS
    ---------------

    In this file you can add your own custom CSS
    It will be loaded last, so you can override any other property.
    Also, it will never be updated. So if you inheritate a core template and just add here some CSS, you'll still benefit of all the updates
*/
/* Amélioration du contraste pour les boutons radio Bootstrap (btn-check) */
.btn-check:checked + .btn,
.btn.active {
    background-color: #0d6efd !important;   /* Bleu vif */
    border-color: #0a58ca !important;
    color: #fff !important;
    font-weight: 600;
}

.btn-check + .btn {
    background-color: #e9ecef !important;   /* Gris clair pour les options non sélectionnées */
    border-color: #ced4da !important;
    color: #212529 !important;
}

/* Survol des options non sélectionnées */
.btn-check:not(:checked) + .btn:hover {
    background-color: #d0d7de !important;
    border-color: #b5bcc3 !important;
}

/* Focus visible */
.btn:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.4) !important;
}

/* Pour les listes de choix classiques (non btn-check) */
.ls-answers label:hover {
    background-color: #f0f4ff !important;
}

.ls-answers input[type="radio"]:checked + label,
.ls-answers input[type="checkbox"]:checked + label {
    background-color: #0d6efd !important;
    color: #fff !important;
    border-radius: 0.25rem;
    padding: 0.25rem 0.5rem;
}
