/**
 * Styles pour le système de tutoriel de l'application CARTO
 */

.tutorial-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  pointer-events: none;
  transition: all 0.3s ease;
}

.tutorial-tooltip {
  position: fixed;
  width: 300px;
  background-color: white;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 10001;
  animation: tooltip-bounce 0.5s ease;
  border-left: 4px solid #4a89dc;
}

@keyframes tooltip-bounce {
  0% { transform: scale(0.9); opacity: 0; }
  70% { transform: scale(1.05); }
  100% { transform: scale(1); opacity: 1; }
}

.tutorial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.tutorial-header h3 {
  margin: 0;
  font-size: 16px;
  color: #333;
}

.tutorial-progress {
  font-size: 12px;
  color: #777;
  font-weight: 500;
}

.tutorial-tooltip p {
  margin: 0 0 15px;
  font-size: 14px;
  line-height: 1.5;
  color: #555;
}

.tutorial-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.tutorial-buttons button {
  padding: 6px 12px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s ease;
}

.tutorial-next, .tutorial-finish {
  background-color: #4a89dc;
  color: white;
}

.tutorial-next:hover, .tutorial-finish:hover {
  background-color: #357ab7;
}

.tutorial-prev, .tutorial-skip {
  background-color: #f5f5f5;
  color: #555;
  border: 1px solid #ddd;
}

.tutorial-prev:hover, .tutorial-skip:hover {
  background-color: #eaeaea;
}
