body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #f3f3f3;
}
#map {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
}

.score-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 16px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  font-weight: bold;
}

.progress-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 10px;
}

.progress-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: white;
  border: 2px solid #a1a1a1;
  transition: background-color 0.3s;
}

.progress-dots .dot.active {
  background-color: #453EDB;
}

.overlay {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  max-width: 80vw;
}
.overlay h2 {
  margin: 0 0 -10px;
  font-size: 20px;
}
.validate-btn {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 24px;
  background-color: #453EDB;
  color: white;
  font-weight: bold;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: background-color 0.2s;
}
.validate-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}
.result {
  font-weight: bold;
  font-size: 18px;
  margin-top: 10px;
}

@media (max-width: 600px) {
  .overlay {
    top: auto;
    bottom: 80px; /* juste au-dessus du bouton */
    transform: translateX(-50%);
    width: 90%;
    padding: 16px;
  }

  .overlay h2 {
    font-size: 16px;
  }

  .score-overlay {
    font-size: 14px;
    padding: 8px 12px;
  }
}