/* ============================================
   프로덕트 투어 — Light GIS 스타일
   ============================================ */

.pt-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 10002;
    pointer-events: none;
}

.pt-overlay::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.35);
    pointer-events: auto;
}

.pt-highlight {
    position: fixed;
    z-index: 10003;
    border-radius: 8px;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.35);
    border: 2px solid #1565C0;
    background: transparent;
    pointer-events: none;
    transition: top 0.3s ease, left 0.3s ease, width 0.3s ease, height 0.3s ease;
    display: none;
}

.pt-tooltip {
    position: fixed;
    z-index: 10004;
    width: 340px;
    background: #fff;
    border: 1px solid #e0e4e8;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
    display: none;
    pointer-events: auto;
    overflow: hidden;
}

.pt-tooltip.pt-anim {
    animation: ptSlideIn 0.25s ease-out forwards;
}

/* ── 타이틀바 ── */
.pt-tooltip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f5f8fb;
    padding: 10px 16px;
    border-bottom: 1px solid #e8eaee;
}

.pt-tooltip-step {
    font-size: 12px;
    font-weight: 700;
    color: #1565C0;
    background: #e8f0fe;
    padding: 3px 10px;
    border-radius: 12px;
    letter-spacing: 0.5px;
}

.pt-tooltip-skip {
    background: none;
    border: 1px solid #e0e4e8;
    color: #9ca3af;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    line-height: 1;
    transition: all 0.15s;
}

.pt-tooltip-skip:hover {
    background: #f0f0f0;
    color: #555;
}

/* ── 본문 영역 ── */
.pt-tooltip-body {
    padding: 18px 20px 16px;
}

/* ── 프로그레스 바 ── */
.pt-progress-wrap {
    margin-bottom: 16px;
}

.pt-progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.pt-progress-label-text {
    font-size: 10px;
    font-weight: 600;
    color: #9ca3af;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.pt-progress-label-pct {
    font-size: 10px;
    font-weight: 700;
    color: #1565C0;
}

.pt-progress-bar {
    height: 6px;
    background: #eef0f3;
    border-radius: 3px;
    overflow: hidden;
}

.pt-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1565C0, #42a5f5);
    border-radius: 3px;
    transition: width 0.4s ease;
}

/* ── 타이틀 ── */
.pt-tooltip-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.pt-tooltip-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.pt-tooltip-icon svg {
    display: block;
}

/* ── 설명 ── */
.pt-tooltip-desc {
    background: #f8f9fb;
    border: 1px solid #eef0f3;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 18px;
    font-size: 13px;
    color: #4b5563;
    line-height: 1.7;
}

/* ── 네비게이션 버튼 ── */
.pt-tooltip-nav {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.pt-tooltip-btn {
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}

.pt-tooltip-btn.prev {
    background: #fff;
    border: 1px solid #d0d5dd;
    color: #6b7280;
}

.pt-tooltip-btn.prev:hover {
    background: #f5f6f8;
    color: #374151;
}

.pt-tooltip-btn.next {
    background: #1565C0;
    border: none;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(21, 101, 192, 0.25);
}

.pt-tooltip-btn.next:hover {
    background: #1255a0;
    box-shadow: 0 4px 10px rgba(21, 101, 192, 0.3);
}

.pt-tooltip-btn.next.finish {
    background: #16a34a;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.25);
}

.pt-tooltip-btn.next.finish:hover {
    background: #15803d;
}

/* ── 7일 숨김 ── */
.pt-tooltip-dismiss {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #eef0f3;
    text-align: center;
}

.pt-tooltip-dismiss-btn {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 12px;
    cursor: pointer;
    padding: 2px 6px;
    transition: color 0.15s;
}

.pt-tooltip-dismiss-btn:hover {
    color: #6b7280;
}

/* ── 애니메이션 ── */
@keyframes ptSlideIn {
    from { opacity: 0; transform: translateY(8px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
