/* Tutorial Mode Styles */

.tutorial-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1000;
  cursor: pointer;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.tutorial-highlight {
  position: relative;
  z-index: 1001;
  box-shadow: 0 0 0 3px #9a3030ff, 0 0 20px rgba(154, 48, 48, 0.6);
  border-radius: 8px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 3px #9a3030ff, 0 0 20px rgba(154, 48, 48, 0.6);
  }
  50% {
    box-shadow: 0 0 0 3px #9a3030ff, 0 0 30px rgba(154, 48, 48, 0.9);
  }
}

.tutorial-tooltip {
  position: fixed;
  background: linear-gradient(135deg, #1a2332 0%, #2c3e50 100%);
  color: #ecf0f1;
  padding: 24px;
  border-radius: 12px;
  width: 360px;
  max-height: 280px;
  overflow-y: auto;
  z-index: 1002;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 1px rgba(154, 48, 48, 0.5) inset;
  border: 1px solid rgba(154, 48, 48, 0.3);
  animation: slideIn 0.4s ease-out;
  font-family: 'Inter', sans-serif;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tutorial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(154, 48, 48, 0.3);
  padding-bottom: 12px;
  font-family: "Inter";
}


.tutorial-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #9a3030ff;
    font-family: "Inter";
  margin: 0;
  flex: 1;
}

.tutorial-progress {
  font-size: 0.85rem;
  color: #95a5a6;
  background: rgba(154, 48, 48, 0.1);
  padding: 4px 8px;
  border-radius: 4px;
    font-family: "Inter";
  white-space: nowrap;
}

.tutorial-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #bdc3c7;
    font-family: "Inter";
  margin: 12px 0 16px 0;
}

.tutorial-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
    font-family: "Inter";
}

.tutorial-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}

.tutorial-next-btn {
  background: linear-gradient(135deg, #9a3030ff 0%, #c0392b 100%);
  color: white;
    font-family: "Inter";
  flex: 1;
}

.tutorial-next-btn:hover {
  background: linear-gradient(135deg, #b84040ff 0%, #d64434 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(154, 48, 48, 0.4);
    font-family: "Inter";
}

.tutorial-next-btn:active {
  transform: translateY(0);
}

.tutorial-prev-btn {
  background: rgba(52, 152, 219, 0.2);
  color: #3498db;
  border: 1px solid #3498db;
    font-family: "Inter";
}

.tutorial-prev-btn:hover {
  background: rgba(52, 152, 219, 0.3);
  transform: translateY(-2px);
}

.tutorial-skip-btn {
  background: rgba(149, 165, 166, 0.2);
  color: #95a5a6;
  border: 1px solid rgba(149, 165, 166, 0.5);
    font-family: "Inter";
}

.tutorial-skip-btn:hover {
  background: rgba(149, 165, 166, 0.3);
  color: #bdc3c7;
}

.tutorial-skip-btn:active,
.tutorial-prev-btn:active,
.tutorial-next-btn:active {
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .tutorial-tooltip {
    max-width: calc(100vw - 20px);
    padding: 16px;
  }

  .tutorial-title {
    font-size: 1.1rem;
  }

  .tutorial-description {
    font-size: 0.9rem;
  }

  .tutorial-buttons {
    flex-direction: column;
  }

  .tutorial-btn {
    width: 100%;
  }
}

/* Hide tutorial elements on print */
@media print {
  .tutorial-overlay,
  .tutorial-tooltip,
  .tutorial-highlight {
    display: none !important;
  }
}
