/* 튜토리얼 오버레이와 컨테이너 */
.tutorial-overlay,
.map-tutorial-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  transition: opacity 0.4s ease;
}

.tutorial-container,
.map-tutorial-container {
  position: fixed;
  z-index: 2001;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  max-width: 85%;
  width: 320px;
}

/* 튜토리얼 슬라이드 */
.tutorial-slide,
.map-tutorial-step {
  padding: 20px;
  transition: all 0.3s ease;
}

.tutorial-slide:not(.active) {
  display: none;
}

/* 튜토리얼 내용 스타일 */
.tutorial-title,
.map-tutorial-step-content h4 {
  font-size: 18px;
  margin-bottom: 12px;
  font-weight: 600;
  color: #333;
}

.tutorial-description,
.map-tutorial-step-content p {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 16px;
}

/* 튜토리얼 아이콘 */
.tutorial-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.tutorial-icon i {
  font-size: 28px;
  color: white;
}

/* 진행 표시기 */
.tutorial-indicators,
.map-tutorial-progress {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.tutorial-indicator,
.map-tutorial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ddd;
  margin: 0 4px;
  transition: all 0.3s ease;
}

.tutorial-indicator.active,
.map-tutorial-dot.active {
  background-color: #2196f3;
  width: 20px;
  border-radius: 10px;
}

/* 네비게이션 버튼 */
.tutorial-navigation,
.map-tutorial-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tutorial-prev-btn,
.tutorial-next-btn,
.tutorial-skip-btn,
.map-tutorial-btn {
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tutorial-next-btn,
.map-tutorial-btn-next {
  background-color: #2196f3;
  color: white;
}

.tutorial-prev-btn,
.tutorial-skip-btn,
.map-tutorial-btn-skip {
  background-color: #f5f5f5;
  color: #666;
}

.tutorial-prev-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* 포인터 애니메이션 */
.map-tutorial-pointer {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(33, 150, 243, 0.3);
  border: 2px solid #2196f3;
  transform: translate(-50%, -50%);
  z-index: 2002;
  animation: tutorial-pulse 2s infinite;
}

/* 종료 애니메이션 */
.tutorial-overlay.closing,
.map-tutorial-exit {
  opacity: 0;
}

/* 애니메이션 */
@keyframes tutorial-pulse {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 1;
  }
  70% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.7;
  }
  100% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 1;
  }
}

@keyframes tutorial-highlight-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(33, 150, 243, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(33, 150, 243, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(33, 150, 243, 0);
  }
}

/* 기능 팁 스타일 */
.feature-tip {
  position: fixed;
  z-index: 2010;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  padding: 12px;
  max-width: 240px;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateY(10px);
}

.feature-tip.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-tip-content h4 {
  font-size: 16px;
  margin-bottom: 6px;
  font-weight: 500;
}

.feature-tip-content p {
  font-size: 13px;
  line-height: 1.4;
  color: #666;
  margin-bottom: 0;
}

.feature-tip-close {
  position: absolute;
  top: 6px;
  right: 6px;
  border: none;
  background: transparent;
  color: #999;
  font-size: 14px;
  cursor: pointer;
}

.feature-tip-arrow {
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: white;
  transform: rotate(45deg);
}

.feature-tip-top .feature-tip-arrow {
  bottom: -6px;
  left: 50%;
  margin-left: -6px;
}

.feature-tip-bottom .feature-tip-arrow {
  top: -6px;
  left: 50%;
  margin-left: -6px;
}

.feature-tip-left .feature-tip-arrow {
  right: -6px;
  top: 50%;
  margin-top: -6px;
}

.feature-tip-right .feature-tip-arrow {
  left: -6px;
  top: 50%;
  margin-top: -6px;
}

.feature-tip.closing {
  opacity: 0;
  transform: translateY(10px);
}