body {
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  margin: 0;
  padding: 40px;
}

.container {
  max-width: 600px;
  margin: auto;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px #ccc;
}

button {
  display: block;
  width: 100%;
  margin: 10px 0;
  padding: 15px;
  font-size: 16px;
  border-radius: 8px;
  border: none;
  background: #0078ff;
  color: white;
  cursor: pointer;
}

button:hover {
  background: #005fcc;
}

.bouton-reponse {
  display: block;
  width: 100%;
  margin: 10px 0;
  padding: 15px;
  font-size: 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}
.reponse-impaire {
  background-color: #0078ff; 
  color: white;
}

.reponse-paire {
  background-color: #4da8ff; 
  color: white;
}

.reponse-speciale {
  background-color: #0050b3; /* Bleu plus foncé */
  color: white;
}

#btn-retour {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #001F3F; /* Bleu marine drapeau français */
  color: white;
  padding: 8px 14px;
  font-size: 0.8rem; /* Plus petit que les réponses */
  border-radius: 6px;
  border: none;
  cursor: pointer;
  z-index: 9999;
  opacity: 0.9;
  width: auto; /* Important : ne pas prendre toute la largeur */
}

#btn-retour:hover {
  opacity: 1;
  background-color: #002B5B;
}


.progress-container {
  margin-bottom: 20px;
}

.progress-label {
  font-size: 0.85rem;
  color: #374151;
  margin-bottom: 6px;
}

.progress-track {
  width: 100%;
  height: 10px;
  background-color: #e5e7eb;
  border-radius: 9999px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(
    90deg,
    #3b82f6,
    #2563eb
  );
  border-radius: 9999px;
  transition: width 0.35s ease;
}


/* ✅ Réponse sélectionnée (état actif) */
.bouton-reponse.selectionnee {
  background-color: #16a34a !important; /* Vert */
  color: white;
  border: 2px solid #15803d;
}


/* ✅ Bouton Valider désactivé */
#btn-valider-question {
  margin-top: 20px;
  background-color: #9ca3af; /* gris */
  cursor: not-allowed;
  opacity: 0.8;
}

/* ✅ Bouton Valider actif */
#btn-valider-question.actif {
  background-color: #0078ff; /* ton bleu principal */
  cursor: pointer;
  opacity: 1;
}

.diagnostic-urgence {
  border-left: 6px solid #dc2626;        /* rouge */
  background-color: #fee2e2;             /* rouge très clair */
  padding: 16px 20px;
  border-radius: 8px;
  margin-top: 15px;
}

.diagnostic-urgence h2 {
  color: #991b1b;
}

.diagnostic-urgence h3 {
  color: #7f1d1d;
}

.diagnostic-critique {
  background-color: #fee2e2;
  border-left: 6px solid #dc2626;
}

.diagnostic-moyen {
  background-color: #ffedd5;
  border-left: 6px solid #f97316;
}

.diagnostic-faible {
  background-color: #dcfce7;
  border-left: 6px solid #16a34a;
}

