.tutorial-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s;
}

.tutorial-box {
  background: white;
  border-radius: 16px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: slideUp 0.3s;
}

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

.tutorial-header h2 {
  margin: 0;
  color: #2c3e50;
  font-size: 1.8em;
}

.tutorial-close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #95a5a6;
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
}

.tutorial-close:hover {
  color: #2c3e50;
}

.tutorial-content {
  font-size: 1.1em;
  line-height: 1.6;
  color: #34495e;
  margin-bottom: 25px;
}

.tutorial-content p {
  margin: 12px 0;
}

.tutorial-content strong {
  color: #2c3e50;
}

.tutorial-highlight {
  background: #fffacd;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
}

.tutorial-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.tutorial-progress {
  color: #7f8c8d;
  font-size: 0.95em;
}

.tutorial-buttons {
  display: flex;
  gap: 10px;
}

.tutorial-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 1em;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 600;
}

.tutorial-btn-primary {
  background: #27ae60;
  color: white;
}

.tutorial-btn-primary:hover {
  background: #229954;
  transform: translateY(-1px);
}

.tutorial-btn-secondary {
  background: #ecf0f1;
  color: #2c3e50;
}

.tutorial-btn-secondary:hover {
  background: #bdc3c7;
}

.tutorial-btn-skip {
  background: #e74c3c;
  color: white;
  font-size: 0.9em;
  padding: 8px 16px;
}

.tutorial-btn-skip:hover {
  background: #c0392b;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 600px) {
  .tutorial-box {
    padding: 20px;
    max-width: 95%;
  }
  
  .tutorial-header h2 {
    font-size: 1.4em;
  }
  
  .tutorial-content {
    font-size: 1em;
  }
  
  .tutorial-controls {
    flex-direction: column;
    gap: 12px;
  }
  
  .tutorial-buttons {
    width: 100%;
  }
  
  .tutorial-btn {
    flex: 1;
  }
}
