/* ============================================================
   Shared dashboard onboarding tour (used by all roles)
   ============================================================ */

.htour-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    z-index: 9998;
    backdrop-filter: blur(2px);
}
.htour-tooltip {
    position: fixed;
    width: 340px;
    max-width: 90vw;
    background: #fff;
    color: #0f172a;
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25), 0 0 0 1px rgba(99,102,241,0.2);
    z-index: 10000;
    animation: htourFadeIn 0.25s ease-out;
}
@keyframes htourFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.htour__step {
    font-size: 0.72rem;
    color: #6366f1;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.htour__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: #0f172a;
}
.htour__text {
    font-size: 0.92rem;
    line-height: 1.55;
    color: #475569;
    margin-bottom: 16px;
}
.htour__actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    align-items: center;
}
.htour__btn {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.12s;
    font-weight: 500;
}
.htour__btn:hover { background: #e2e8f0; }
.htour__btn--ghost {
    background: transparent;
    border-color: transparent;
    color: #94a3b8;
}
.htour__btn--ghost:hover {
    background: transparent;
    color: #475569;
}
.htour__btn--primary {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    border-color: transparent;
    color: #fff;
}
.htour__btn--primary:hover {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
}
.htour-target-highlight {
    position: relative;
    z-index: 9999 !important;
    box-shadow: 0 0 0 4px rgba(99,102,241,0.5), 0 0 30px rgba(99,102,241,0.4) !important;
    border-radius: 8px;
    animation: htourPulse 1.5s ease-in-out infinite;
}
@keyframes htourPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(99,102,241,0.5), 0 0 30px rgba(99,102,241,0.4); }
    50% { box-shadow: 0 0 0 8px rgba(99,102,241,0.3), 0 0 40px rgba(99,102,241,0.5); }
}
