body {
  background: #0f172a;
  color: #f0eded;
  min-height: 100vh;
  margin: 0;
  font-family: Arial, "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}

section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 300px;
  max-width: 90vw;
}

input, button, select {
  font-size: 1.2em;
  margin: 0.5em;
  padding: 0.5em 1em;
  border-radius: 5px;
  border: none;
}

select {
  background: #fff;
  color: #000;
  cursor: pointer;
}

select option {
  background: #fff;
  color: #000;
}

button {
  background: #222;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}
button:hover, button:focus {
  background: #444;
}

.disclaimer-box {
            background-color: #fff3cd;
            border: 1px solid #ffeeba;
            border-left: 6px solid #ffc107;
            padding: 20px;
            max-width: 800px;
            margin: auto;
            box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.disclaimer-title {
            font-size: 1.5em;
            font-weight: bold;
            color: #856404;
            margin-bottom: 10px;
}

.disclaimer-text {
            color: #856404;
            font-size: 1em;
            line-height: 1.6;
}

.disclaimer-icon {
            font-size: 1.3em;
            margin-right: 8px;
}

.faces-row {
  display: flex;
  gap: 1em;
  margin: 1em 0;
}

.face-placeholder {
  width: 180px;
  height: 180px;    
  background: #444;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  font-size: 1em;
  border: 2px solid #ddd;
  cursor: pointer;
  transition: border 0.2s;
}
.face-placeholderBOLD {
  width: 180px;
  height: 180px;
  background: #444;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  font-size: 1em;
  border: 10px solid #1a71bc;
  cursor: pointer;
  transition: border 0.2s;
}

.face-placeholder video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  background: #222;
  pointer-events: none;
}

.face-placeholder.selected {
  border: 2px solid #0af;
}

/* Questions Stage Styles */
.questions-container {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

.question-item {
  margin-bottom: 2em;
  padding: 1.5em;
  background: #222;
  border-radius: 10px;
  border: 1px solid #444;
}

.question-item h3 {
  margin: 0 0 1em 0;
  font-size: 1.3em;
  color: #fff;
  text-align: center;
}

.answer-buttons {
  display: flex;
  gap: 1em;
  justify-content: center;
}

.answer-btn {
  padding: 0.8em 2em;
  font-size: 1.1em;
  border: 2px solid #444;
  background: #333;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 80px;
}

.answer-btn:hover {
  background: #555;
  border-color: #666;
}

.answer-btn.selected {
  background: #0af;
  border-color: #0af;
  color: #000;
}

#continue-btn {
  background: #0a5;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

#continue-btn:hover {
  background: #0c7;
}

@media (max-width: 600px) {
  .faces-row {
    flex-direction: column;
    gap: 0.5em;
  }
  .face-placeholder {
    width: 180px;
    height: 180px;
    font-size: 0.9em;
  }
}
/* Applique à l’élément qui affiche le timer (ex: <span id="timer" class="timer"></span>) */
.timer {
  transition: color 0.2s linear;
}

.timer--warning {
  color: red; /* ou #d32f2f si tu préfères */
}
