﻿/* wwwroot/css/pageTour.css */
.pt-overlay {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: none;
    /* ✅ CRITICAL: overlay itself must NOT block clicks */
    pointer-events: none;
}

/* ✅ NEW: dimmer container spans screen but does NOT capture clicks */
.pt-dimmer {
    position: fixed;
    inset: 0;
    /* ✅ CRITICAL: dimmer container must NOT block the hole */
    pointer-events: none;
}

/* ✅ NEW: the 4 panes are what block clicks */
.pt-dimmer-pane {
    position: fixed;
    pointer-events: auto; /* panes block clicks */
    background: rgba(0,0,0,0.55);
}

/* Spotlight border only (no click blocking) */
.pt-spotlight {
    position: fixed;
    border-radius: 10px;
    outline: 2px solid rgba(255,255,255,0.85);
    outline-offset: 0;
    pointer-events: none;
    box-shadow: none;
    z-index: 20001;
}

.pt-tooltip {
    position: fixed;
    width: 380px;
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    overflow: auto;
    background: #fff;
    color: #111;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.22);
    padding: 10px 12px;
    z-index: 20002;
    /* ✅ CRITICAL: tooltip must be clickable even though overlay is not */
    pointer-events: auto;
}

.pt-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.pt-title {
    font-weight: 700;
    font-size: 14px;
}

.pt-x {
    border: none;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.pt-body {
    padding: 10px 0;
    font-size: 13px;
}

    .pt-body ul {
        margin: 8px 0 0 18px;
    }

    .pt-body li {
        margin: 4px 0;
    }

.pt-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.pt-progress {
    font-size: 12px;
    color: rgba(0,0,0,0.55);
}

.pt-actions {
    display: flex;
    gap: 8px;
}

.pt-btn {
    border: 1px solid rgba(0,0,0,0.18);
    background: #f7f7f7;
    padding: 6px 10px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 13px;
}

    .pt-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

.pt-dragging {
    user-select: none;
}
