/* Configuration générale */
body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f4f7f6;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    padding: 10px; /* Marges réduites */
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 { color: #2c3e50; margin-bottom: 5px; }
.subtitle { color: #7f8c8d; margin-top: 0; }

/* Configuration de la Roue */
#wheel-container {
    width: 100%;
    max-width: 450px; /* Taille idéale pour voir sans scroller */
    height: auto;
    margin: 10px auto;
}

#interactive-wheel-svg {
    width: 100%;
    height: auto;
    /* Ombre pour l'esthétique */
    filter: drop-shadow(0px 5px 15px rgba(0,0,0,0.15));
}

/* Configuration des Contrôles */
#controls-container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Deux colonnes */
    gap: 10px;
}

/* Style pour mobile */
@media (max-width: 600px) {
    #controls-container { grid-template-columns: 1fr; }
}

.control-group {
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.sphere-label {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    color: #2c3e50;
    font-size: 0.9em;
}

.sphere-question {
    font-size: 0.8em;
    color: #7f8c8d;
    font-style: italic;
    margin: 5px 0 10px 0;
    line-height: 1.2;
}

.score-value { color: #3498db; }

input[type=range] { cursor: pointer; }

/* Bouton et Résultats */
button {
    background-color: #27ae60;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1em;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 20px;
    transition: transform 0.2s;
}

#reset-btn {
    background-color: #e74c3c;
    margin-left: 10px;
}

button:hover { transform: scale(1.05); }

.hidden { display: none; }

#feedback-container {
    margin-top: 20px;
    padding: 15px;
    background-color: white;
    border-left: 5px solid #ccc;
    width: 100%;
    border-radius: 5px;
    margin-bottom: 50px;
}