/* Container principal */
#stresstest-form {
  font-family: 'Montserrat', sans-serif;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

/* Questions */
.stresstest-question {
  background: #f5f5f5;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.stresstest-question p {
  font-weight: 600;
  color: #0e4194; /* Bleu Atlox */
  margin-bottom: 15px;
}

/* Boutons radio transformés */
.stresstest-question label {
  display: inline-block;
  background: #fff;
  border: 2px solid #b7cde5; /* Bleu clair Atlox */
  border-radius: 8px;
  padding: 8px 15px;
  margin: 5px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.stresstest-question input[type="radio"] {
  display: none;
}

.stresstest-question input[type="radio"]:checked + span {
  background: #f59c00; /* Orange Atlox */
  color: #fff;
  border-color: #f59c00;
}

/* Bouton principal */
#stresstest-form button {
  background: #f59c00; /* Orange Atlox */
  color: #fff;
  border: none;
  padding: 15px 30px;
  font-size: 1.2em;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

#stresstest-form button:hover {
  background: #d98200; /* Orange foncé */
}

/* Résultats */
#stresstest-result {
  margin-top: 30px;
  padding: 20px;
  font-size: 1.2em;
  text-align: center;
  border-radius: 12px;
  display: none; /* affiché en JS */
}

.stresstest-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 16px 0;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  opacity: .35;
}

.level-1 { background:#43b359; } /* vert */
.level-2 { background:#fae60f; } /* jaune */
.level-3 { background:#eb6408; } /* orange */
.level-4 { background:#cc0606; } /* rouge */
.level-5 { background:#000000; } /* noir */

.dot.active {
  opacity: 1;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px currentColor;
}
