/* WPT Advanced Analytics & Insights Public Styles */

#wpt-heatmap-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    pointer-events: none;
    z-index: 999999;
    display: none;
    background-color: rgb(0 0 0 / .15) !important;
}

#wpt-heatmap-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #0073aa;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    z-index: 1000000;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease;
}

#wpt-heatmap-toggle:hover {
    background: #005a87;
}

#wpt-heatmap-toggle:active {
    transform: translateY(1px);
}

.wpt-heatmap-dot {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.wpt-heatmap-dot.click {
    background: #ff4444;
    border: 2px solid #cc0000;
}

.wpt-heatmap-dot.move {
    background: #44aaff;
    border: 2px solid #0088cc;
}

.wpt-heatmap-dot.scroll {
    background: #44ff44;
    border: 2px solid #00cc00;
}

#wpt-heatmap-stylish-overlay {
    background-color: rgb(0 0 0 / .15) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    #wpt-heatmap-toggle {
        top: 10px;
        right: 10px;
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .wpt-heatmap-dot {
        /* Smaller dots on mobile */
    }
}

@media (max-width: 480px) {
    #wpt-heatmap-toggle {
        top: 5px;
        right: 5px;
        padding: 6px 10px;
        font-size: 11px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    #wpt-heatmap-overlay,
    #wpt-heatmap-toggle {
        border: 2px solid #000;
    }
    
    .wpt-heatmap-dot.click {
        background: #ff0000;
        border: 3px solid #000;
    }
    
    .wpt-heatmap-dot.move {
        background: #0000ff;
        border: 3px solid #000;
    }
    
    .wpt-heatmap-dot.scroll {
        background: #00ff00;
        border: 3px solid #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    #wpt-heatmap-toggle,
    .wpt-heatmap-dot {
        transition: none;
    }
} 