/* ============================================
   TOUR GUIADO — spotlight + tooltip de bienvenida
   ============================================ */

.tour-scrim {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    background: transparent;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    pointer-events: none;
}

.tour-scrim.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.tour-spotlight {
    position: fixed;
    border-radius: 10px;
    box-shadow: 0 0 0 9999px rgba(9, 12, 20, 0.68);
    transition: top 0.25s ease, left 0.25s ease, width 0.25s ease, height 0.25s ease;
    pointer-events: none;
}

.tour-tooltip {
    position: fixed;
    max-width: 320px;
    background: var(--card, #ffffff);
    color: var(--text, #0f172a);
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
    transition: top 0.25s ease, left 0.25s ease;
    z-index: 100001;
}

.tour-tooltip-step {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--accent, #f97316);
    margin-bottom: 6px;
}

.tour-tooltip-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
}

.tour-tooltip-text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted, #6b7280);
    margin: 0 0 16px;
}

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

.tour-tooltip-actions-right {
    display: flex;
    gap: 8px;
}

.tour-btn {
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.15s;
}

.tour-btn:hover {
    opacity: 0.88;
}

.tour-btn-skip {
    background: transparent;
    color: var(--muted, #6b7280);
    padding-left: 0;
}

.tour-btn-prev {
    background: var(--border, #e2e8f0);
    color: var(--text, #0f172a);
}

.tour-btn-next {
    background: var(--accent, #f97316);
    color: #ffffff;
}

body.theme-dark .tour-tooltip {
    background: rgba(15, 23, 42, 0.96);
    color: #f8fafc;
}

body.theme-dark .tour-tooltip-text {
    color: #cbd5e1;
}

body.theme-dark .tour-btn-prev {
    background: rgba(148, 163, 184, 0.22);
    color: #f8fafc;
}

@media (max-width: 640px) {
    .tour-tooltip {
        max-width: calc(100vw - 32px);
    }
}
