/* ─── Interactieve Handleiding ─── */

/* ═══ Overlay ═══ */
.tour-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
}
.tour-overlay.active {
    pointer-events: auto;
}

/* ═══ Spotlight ═══ */
.tour-spotlight {
    position: fixed;
    z-index: 9999;
    border-radius: 8px;
    box-shadow: 0 0 0 9999px rgba(1, 22, 51, 0.55);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

/* ═══ Tooltip ═══ */
.tour-tooltip {
    position: fixed;
    z-index: 10000;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2), 0 4px 12px rgba(0,0,0,0.1);
    max-width: 380px;
    min-width: 280px;
    padding: 0;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s, transform 0.25s;
    pointer-events: auto;
}
.tour-tooltip.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Arrow */
.tour-arrow {
    position: absolute;
    width: 14px;
    height: 14px;
    background: white;
    transform: rotate(45deg);
    box-shadow: -2px -2px 4px rgba(0,0,0,0.04);
}
.tour-tooltip[data-pos="bottom"] .tour-arrow { top: -7px; left: 50%; margin-left: -7px; }
.tour-tooltip[data-pos="top"] .tour-arrow { bottom: -7px; left: 50%; margin-left: -7px; box-shadow: 2px 2px 4px rgba(0,0,0,0.04); }
.tour-tooltip[data-pos="left"] .tour-arrow { right: -7px; top: 24px; box-shadow: 2px -2px 4px rgba(0,0,0,0.04); }
.tour-tooltip[data-pos="right"] .tour-arrow { left: -7px; top: 24px; }

/* Accent bar */
.tour-accent {
    height: 4px;
    background: linear-gradient(90deg, #FF5722, #FF8A65);
    border-radius: 12px 12px 0 0;
}

/* Body */
.tour-body { padding: 1.25rem 1.5rem 0.75rem; }

.tour-step-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #FF5722;
    margin-bottom: 0.4rem;
}

.tour-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.tour-text {
    font-size: 0.85rem;
    color: #64748B;
    line-height: 1.55;
}
.tour-text strong {
    color: #334155;
    font-weight: 600;
}

/* Footer */
.tour-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem 1.25rem;
    gap: 0.5rem;
}

.tour-dots { display: flex; gap: 5px; }

.tour-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #E2E8F0; transition: all 0.2s;
}
.tour-dot.active { background: #FF5722; width: 18px; border-radius: 4px; }
.tour-dot.done { background: #16A34A; }

.tour-btns { display: flex; gap: 0.4rem; }

.tour-btn {
    display: inline-flex; align-items: center; gap: 0.3rem;
    padding: 0.45rem 0.85rem; border: none; border-radius: 8px;
    font-size: 0.8rem; font-weight: 600; cursor: pointer;
    transition: all 0.15s; font-family: inherit;
}
.tour-btn-skip { background: none; color: #94A3B8; }
.tour-btn-skip:hover { color: #64748B; background: #F1F5F9; }
.tour-btn-prev { background: #F1F5F9; color: #475569; }
.tour-btn-prev:hover { background: #E2E8F0; }
.tour-btn-next { background: #011633; color: white; box-shadow: 0 1px 3px rgba(1, 22, 51, 0.3); }
.tour-btn-next:hover { background: #000D1F; transform: translateY(-1px); }
.tour-btn-finish { background: #16A34A; color: white; }
.tour-btn-finish:hover { background: #15803D; }


/* ═══ Handleiding-knop in navigatie ═══ */

.nav-help-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    background: linear-gradient(135deg, #FF5722, #FF8A65);
    color: white !important;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    font-family: inherit;
    box-shadow: 0 1px 4px rgba(255, 87, 34, 0.3);
    margin-left: 0.25rem;
}
.nav-help-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(255, 87, 34, 0.35);
    background: linear-gradient(135deg, #E64A19, #FF5722);
}
.nav-help-btn svg { flex-shrink: 0; }


/* ═══ Responsive ═══ */

@media (max-width: 768px) {
    .tour-tooltip { max-width: calc(100vw - 2rem); min-width: 0; }
}
