body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f0f0;
}

#qcm-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 400px;
}

#progress {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
}

#question {
    font-size: 1.5em;
    margin-bottom: 20px;
}

#choices {
    margin-bottom: 20px;
    text-align: left;
}

#choices label {
    display: block;
    margin: 10px 0;
}

#submit-btn, #next-btn {
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
}

#feedback {
    margin-top: 20px;
    font-size: 1.2em;
    color: red;
}

#next-btn {
    display: none; /* Caché par défaut */
}

/* Ajout du style pour l'authentification */
#authModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

#authBox {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

input {
    display: block;
    margin: 10px auto;
    padding: 5px;
    width: 80%;
}

button {
    padding: 10px 20px;
    background: blue;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background: darkblue;
}
