/* Guided Tour Styles */

.tour-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
    pointer-events: none;
}

.tour-overlay.active {
    pointer-events: auto;
}

.tour-overlay-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    transition: opacity 0.3s ease;
}

.tour-spotlight {
    position: absolute;
    z-index: 9999;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.6);
    border-radius: var(--radius-md, 8px);
    transition: all 0.4s ease;
    pointer-events: none;
}

.tour-tooltip {
    position: absolute;
    z-index: 10000;
    background: var(--surface, #fff);
    border-radius: var(--radius-lg, 12px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    padding: 24px;
    max-width: 380px;
    min-width: 280px;
    animation: tourFadeIn 0.3s ease;
}

@keyframes tourFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.tour-tooltip-arrow {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--surface, #fff);
    transform: rotate(45deg);
}

.tour-tooltip-arrow.top { top: -6px; left: 24px; }
.tour-tooltip-arrow.bottom { bottom: -6px; left: 24px; }
.tour-tooltip-arrow.left { left: -6px; top: 24px; }
.tour-tooltip-arrow.right { right: -6px; top: 24px; }

.tour-step-badge {
    display: inline-block;
    background: var(--accent, #E67E22);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    margin-bottom: 8px;
}

.tour-tooltip h3 {
    font-family: var(--font-heading, 'Inter', sans-serif);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary, #2C3E50);
    margin: 0 0 8px 0;
}

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

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

.tour-actions .tour-skip {
    background: none;
    border: none;
    color: var(--text-secondary, #6C757D);
    font-size: 13px;
    cursor: pointer;
    padding: 4px 8px;
}

.tour-actions .tour-skip:hover {
    color: var(--text-primary, #2C3E50);
}

.tour-actions .tour-next {
    background: var(--accent, #E67E22);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: var(--radius-md, 8px);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.tour-actions .tour-next:hover {
    background: #D35400;
}

.tour-progress {
    display: flex;
    gap: 4px;
    align-items: center;
}

.tour-progress-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border, #DEE2E6);
    transition: background 0.2s;
}

.tour-progress-dot.active {
    background: var(--accent, #E67E22);
    width: 18px;
    border-radius: 3px;
}

.tour-progress-dot.done {
    background: var(--success, #27AE60);
}

/* Welcome step (centered, no spotlight) */
.tour-tooltip.tour-center {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 440px;
}

.tour-tooltip.tour-center .tour-actions {
    justify-content: center;
}

/* Floating help button */
.help-float-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent, #E67E22);
    color: #fff;
    border: none;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.4);
    z-index: 1000;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.help-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.5);
}
