/* /resources/css/gis/gis-tutorial.css */
/*
 * 예측지도 — 기능 둘러보기 튜토리얼 (gis-tutorial.js)
 * 출처: vworld-demo static/css/style.css 를 기능별로 나눈 것. 규칙 본문은 원본 그대로이고,
 * FRPS 에서 고친 곳은 "FRPS 보정" 주석을 단다.
 */

/* ============================================================================
 * 기능 둘러보기(튜토리얼) — 코치마크(coach mark) 형태
 * 어두운 배경은 별도 div 없이 .tutorial-highlight의 거대한 box-shadow(0 0 0 9999px)로
 * 만든다 — 하이라이트 박스 모양대로 "구멍"이 뚫린 스포트라이트 효과. .tutorial-overlay는
 * 화면 전체를 덮는 투명한 클릭 캐처 역할만 하고(빈 곳 클릭 시 튜토리얼 종료), 실제 어둡게
 * 보이는 효과는 그 위에 올라오는 하이라이트 박스가 만든다. 다른 패널(설정 z-index 1000,
 * 상세 패널 970)보다 확실히 위에 오도록 2000번대를 쓴다.
 * ============================================================================ */
.tutorial-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: transparent;
}

.tutorial-highlight {
    position: fixed;
    z-index: 2001;
    border: 3px solid #2563eb;
    border-radius: 10px;
    box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.6), 0 0 24px rgba(37, 99, 235, 0.55);
    pointer-events: none; /* 하이라이트 영역을 클릭해도 아래 .tutorial-overlay가 받아 종료되도록 */
    transition: top 0.25s ease, left 0.25s ease, width 0.25s ease, height 0.25s ease;
}

.tutorial-tooltip {
    position: fixed;
    z-index: 2002;
    width: 300px;
    max-width: calc(100vw - 32px);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
    padding: 18px 20px;
    transition: top 0.25s ease, left 0.25s ease;
}

.tutorial-tooltip-step {
    font-size: 12px;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 6px;
}

.tutorial-tooltip-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: #1f2430;
}

.tutorial-tooltip-desc {
    margin: 0 0 16px;
    font-size: 13px;
    line-height: 1.6;
    color: #475569;
}

.tutorial-tooltip-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.tutorial-tooltip-skip {
    border: none;
    background: none;
    color: #94a3b8;
    font-size: 12px;
    cursor: pointer;
    padding: 4px 0;
}

.tutorial-tooltip-nav {
    display: flex;
    gap: 8px;
}

.tutorial-tooltip-nav button {
    border: none;
    border-radius: 6px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.tutorial-tooltip-prev {
    background: #f1f5f9;
    color: #475569;
}

.tutorial-tooltip-prev:disabled {
    opacity: 0.4;
    cursor: default;
}

.tutorial-tooltip-next {
    background: #2563eb;
    color: #fff;
}
