.elementor-20056 .elementor-element.elementor-element-303deb5{--display:flex;}.elementor-20056 .elementor-element.elementor-element-0205726{--display:flex;}.elementor-20056 .elementor-element.elementor-element-844ac57 .elementor-button{background-color:#022394;fill:var( --e-global-color-408ec305 );color:var( --e-global-color-408ec305 );box-shadow:0px 0px 0px 0px rgba(0,0,0,0.5);border-style:none;}.elementor-20056 .elementor-element.elementor-element-844ac57 .elementor-button:hover, .elementor-20056 .elementor-element.elementor-element-844ac57 .elementor-button:focus{background-color:transparent;background-image:linear-gradient(180deg, #022394 0%, #000000 100%);border-color:#022394;}/* Start custom CSS for text-editor, class: .elementor-element-9a500eb */.exercise-container {
            max-width: 800px;
            margin: 20px auto;
            font-family: Arial, sans-serif;
        }

        .exercise-item {
            background: #f8f9fa;
            border: 1px solid #e9ecef;
            border-radius: 8px;
            margin-bottom: 20px;
            padding: 20px;
            transition: all 0.3s ease;
        }

        .exercise-item:hover {
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .question {
            font-weight: bold;
            margin-bottom: 15px;
            font-size: 16px;
            color: #2c3e50;
        }

        .question u {
            color: #e74c3c;
            text-decoration: underline;
            font-weight: bold;
        }

        .answer-options {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-bottom: 15px;
        }

        .hidden-radio {
            display: none;
        }

        .answer-option {
            display: block;
            padding: 12px 16px;
            background: #ffffff;
            border: 2px solid #dee2e6;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 14px;
            position: relative;
        }

        .answer-option:hover {
            background: #f1f3f4;
            border-color: #adb5bd;
        }

        /* Style par défaut - toutes les réponses cachées */
        .explanation {
            display: none;
            background: #d4edda;
            border: 1px solid #c3e6cb;
            border-radius: 6px;
            padding: 12px;
            margin-top: 10px;
            color: #155724;
            font-style: italic;
        }

        /* Message d'erreur pour les mauvaises réponses */
        .error-message {
            display: none;
            background: #f8d7da;
            border: 1px solid #f5c6cb;
            border-radius: 6px;
            padding: 12px;
            margin-top: 10px;
            color: #721c24;
            font-style: italic;
        }

        /* Quand une option est sélectionnée */
        .hidden-radio:checked + .answer-option {
            background: #fff3cd;
            border-color: #ffeaa7;
        }

        /* Style pour la bonne réponse quand elle est sélectionnée */
        .hidden-radio:checked + .answer-option.correct {
            background: #d4edda;
            border-color: #28a745;
            color: #155724;
            font-weight: bold;
        }

        /* Style pour les mauvaises réponses quand elles sont sélectionnées */
        .hidden-radio:checked + .answer-option:not(.correct) {
            background: #f8d7da;
            border-color: #dc3545;
            color: #721c24;
        }

        /* Afficher l'explication uniquement quand la BONNE réponse est sélectionnée */
        .hidden-radio:checked + .answer-option.correct ~ .explanation {
            display: block;
            animation: fadeIn 0.5s ease-in;
        }

        /* Afficher le message d'erreur quand une mauvaise réponse est sélectionnée */
        .hidden-radio:checked + .answer-option:not(.correct) ~ .error-message {
            display: block;
            animation: fadeIn 0.5s ease-in;
        }

        /* Animation pour l'apparition des messages */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsive design */
        @media (max-width: 768px) {
            .exercise-container {
                margin: 10px;
                padding: 0 10px;
            }
            
            .exercise-item {
                padding: 15px;
            }
            
            .answer-option {
                padding: 10px 12px;
                font-size: 13px;
            }
        }

        /* Style supplémentaire pour améliorer l'accessibilité */
        .answer-option:focus {
            outline: 2px solid #007bff;
            outline-offset: 2px;
        }/* End custom CSS */