/* style-quiz.css (Modifications mineures pour harmonisation) */

.instruction { font-size: clamp(1rem, 3vw, 1.2rem); color: #796c66; margin-bottom: 25px; }
#audio-player { width: 100%; margin-bottom: 25px; }

.answer-section { display: flex; gap: 10px; margin-bottom: 20px; }

/* Input plus arrondi */
#answer-input { 
    flex-grow: 1; 
    padding: 12px; 
    font-size: 1rem; 
    border: 1px solid #ccc; 
    border-radius: 10px; 
    font-family: 'Nunito', sans-serif; 
}

/* Bouton principal plus arrondi */
#submit-button { 
    padding: 12px 20px; 
    font-size: 1rem; 
    font-weight: bold; 
    color: white; 
    background-color: #5a4e49; 
    border: none; 
    border-radius: 10px; 
    cursor: pointer; 
    transition: background-color 0.2s ease; 
}
#submit-button:hover { background-color: #424242; }

#feedback-text { font-size: 1.2rem; font-weight: bold; min-height: 30px; }
.feedback-correct { color: #388e3c; }
.feedback-incorrect { color: #d32f2f; }
.final-score { font-size: clamp(1.5rem, 5vw, 2rem); font-weight: bold; color: #a1887f; margin: 20px 0; }

/* Bouton de retour plus arrondi et coloré */
.back-button { 
    display: inline-block; 
    padding: 12px 25px; 
    margin-top: 20px; 
    font-size: 1.1rem; 
    font-weight: bold; 
    color: white; 
    background-color: #CDB4DB; /* Couleur Lavande pour le rappel */
    border-radius: 50px; /* Forme de pilule */
    text-decoration: none; 
    transition: transform 0.2s ease; 
}
.back-button:hover { background-color: #b99bc9; transform: scale(1.05); }

main .whistling-video { width: 30vw; max-width: 375px; height: 20vw; max-height: 250px; margin: 0 auto 20px auto; border-radius: 10px; object-fit: cover; background-color: #e0e0e0; }
@media (max-width: 768px) { main .whistling-video { width: 45vw; height: 45vw; max-width: 200px; max-height: 200px; } }

.drop-zone-container { display: flex; justify-content: space-around; gap: 15px; margin-top: 30px; }
.drop-zone { border: 3px dashed #ccc; border-radius: 10px; padding: 15px; min-height: 150px; display: flex; justify-content: center; align-items: center; transition: background-color 0.2s ease, border-color 0.2s ease; }
.owner-zone { width: 30%; flex-direction: column; justify-content: flex-start; }
.owner-zone h4 { margin: 0 0 10px 0; font-size: 1.3rem; font-weight: bold; color: #a1887f; }
.owner-photo-container { display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 10px; width: 100%; min-height: 80px; }
.owner-photo-container .owner-photo, .owner-photo-container .animal-draggable { height: 100%; max-height: 200px; width: auto; object-fit: contain; }
.owner-photo { border-radius: 8px; }
#animal-source { width: 50%; max-width: 250px; min-height: 200px; margin: 20px auto; border-style: solid; flex-direction: column; justify-content: space-between; }
#animal-name { color: #5a4e49; font-size: 1.4rem; margin: 0; }
#animal-source .animal-draggable { height: 150px; width: auto; cursor: grab; transition: transform 0.2s ease; z-index: 10; }
#animal-source .animal-draggable:hover { transform: scale(1.1); }
.drag-over { background-color: #e8f5e9; border-color: #388e3c; }

.feedback-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); display: flex; justify-content: center; align-items: center; z-index: 1000; }
.feedback-content { background-color: white; padding: 30px; border-radius: 15px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
#real-photo { max-width: 80vw; max-height: 70vh; border-radius: 10px; margin: 15px 0; }
video { clip-path: fill-box; }

