body {
  font-family: 'Roboto', Arial, sans-serif;
  background: linear-gradient(135deg, #2980b9, #6dd5fa);
  color: #333;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 700px;
  margin: 50px auto;
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.5s ease-in-out;
}

h1 {
  text-align: center;
  color: #2a5298;
  font-size: 28px;
  margin-bottom: 20px;
}

h2 {
  color: #2a5298;
  font-size: 22px;
  margin-bottom: 15px;
}

label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #2a5298;
}

input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: border-color 0.3s;
}

input:focus {
  border-color: #2a5298;
  outline: none;
  box-shadow: 0 0 5px rgba(42, 82, 152, 0.5);
}

button {
  padding: 12px 20px;
  border: none;
  background: #3498db;
  color: white;
  cursor: pointer;
  border-radius: 8px;
  font-size: 16px;
  transition: background-color 0.3s, transform 0.2s;
}

button:hover {
  background: #2980b9;
  transform: scale(1.05);
}

.nav {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.submit {
  width: 100%;
  margin-top: 20px;
  background: #27ae60;
}

.submit:hover {
  background: #1e8449;
}

#questionBox {
  margin-top: 20px;
  padding: 20px;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#questionBox h3 {
  font-size: 20px;
  color: #2a5298;
  margin-bottom: 15px;
}

label {
  display: block;
  margin: 10px 0;
  font-size: 16px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  transition: background-color 0.3s, border-color 0.3s;
  cursor: pointer;
}

label:hover {
  background: #eaf2ff;
  border-color: #2a5298;
}

input[type="radio"] {
  margin-right: 10px;
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #2a5298;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
}

input[type="radio"]:checked {
  background-color: #2a5298;
  border-color: #2a5298;
}

/* Checkbox pour marquer les questions à revoir */
input[type="checkbox"] {
  margin-right: 8px;
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #e74c3c;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
  vertical-align: middle;
}

input[type="checkbox"]:checked {
  background-color: #e74c3c;
  border-color: #e74c3c;
}

input[type="checkbox"]:checked::after {
  content: "✓";
  color: white;
  font-size: 14px;
  font-weight: bold;
}

.review-checkbox-container {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding: 10px;
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  border-radius: 5px;
}

.review-checkbox-container label {
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: bold;
  color: #856404;
  cursor: pointer;
  display: flex;
  align-items: center;
}

#progress {
  font-weight: bold;
  margin-bottom: 10px;
  color: #2a5298;
}

#result {
  text-align: center;
  margin-top: 20px;
  font-size: 18px;
  color: #2a5298; /* Texte des résultats en bleu marine */
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}