body {
  font-family: Arial, sans-serif;
  margin: 30px;
  background-color: #f8f9fa;
}

h1 {
  text-align: center;
}

#question-num, #score {
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
}

.quiz-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  margin-top: 20px;
  gap: 50px;
}

.audio-zone {
  flex: 1;
  text-align: left;
}

.answer-zone {
  flex: 1;
  text-align: left;
}

input[type="text"] {
  width: 90%;
  padding: 8px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}

button {
  margin-top: 10px;
  padding: 8px 16px;
  font-size: 1rem;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

button:hover {
  background-color: #0056b3;
}

#resultat {
  margin-top: 15px;
  font-weight: bold;
}

footer {
  text-align: center;
  margin-top: 60px;
  color: #555;
}

.suggestions {
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: white;
  max-height: 200px;
  overflow-y: auto;
  width: 90%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.suggestion-item {
  padding: 8px;
  cursor: pointer;
}

.suggestion-item:hover {
  background-color: #007bff;
  color: white;
}

/* --- Récapitulatif cartes --- */
#recap-container {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.recap-card {
  background-color: white;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
  width: 300px;
}

.recap-card p {
  margin: 5px 0;
}

.recap-card audio {
  width: 100%;
  margin-top: 5px;
}

#species-list {
  max-height: 300px; /* Ajuste selon ton design (250-400px est bien) */
  overflow-y: auto;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid #ddd;
  background-color: white;
}

