/* SightOps product tour — fixed dock (always visible) + optional spotlight */

.so-tour-spotlight {
    position: fixed;
    border-radius: 10px;
    box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.72);
    pointer-events: none;
    z-index: 2147483000;
    transition: top 0.2s ease, left 0.2s ease, width 0.2s ease, height 0.2s ease;
    outline: 2px solid rgba(45, 212, 191, 0.95);
    outline-offset: 2px;
}

.so-tour-dock {
    position: fixed;
    left: 50%;
    bottom: 1.25rem;
    transform: translateX(-50%);
    z-index: 2147483001;
    width: min(520px, calc(100vw - 2rem));
    background: #fff;
    border-radius: 14px;
    padding: 1rem 1.15rem 0.9rem;
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(148, 163, 184, 0.4);
    font-size: 0.9375rem;
    line-height: 1.45;
    color: #0f172a;
    pointer-events: auto;
}

.so-tour-dock-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

.so-tour-dock-header h4 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0d9488;
}

.so-tour-close {
    flex-shrink: 0;
    border: none;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
    padding: 0.15rem 0.35rem;
    border-radius: 6px;
}

.so-tour-close:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.so-tour-dock p {
    margin: 0 0 0.85rem;
    color: #475569;
}

.so-tour-dock-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding-top: 0.15rem;
}

.so-tour-progress {
    font-size: 0.75rem;
    color: #64748b;
}

.so-tour-actions {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
    flex-wrap: wrap;
}

.so-tour-actions .btn {
    min-width: 4.5rem;
}

.so-tour-highlight-target {
    position: relative;
    z-index: 2147482999 !important;
}

.so-tour-hint {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: -0.35rem;
    margin-bottom: 0.65rem;
}

@media (max-width: 640px) {
    .so-tour-dock {
        bottom: 0.75rem;
        width: calc(100vw - 1rem);
    }
}
