/*
 * Statystyki (/stats.php) — style specyficzne dla strony. Port 1:1 v1
 * stats.php l.434-471 (.worktrees/v1, inline <style>, kotwica
 * inwentaryzacja-faza3.md rozdz. B.3) — .stat-card hover, .progress-bar
 * transition, .file-row hover (light+dark), .gradient-text, .pulse-dot
 * keyframes. Ładowany przez <link> w templates/pages/stats/head.php
 * (cache-bust ?v=APP_VERSION, w przeciwieństwie do /assets/css/main.css na tej
 * samej stronie, który go NIE ma — kotwica B.8.8, zachowana świadomie), zamiast
 * v1 inline <style> — sankcjonowana zmiana F3 (wzorzec F3T1/changelog.css).
 */

/* Stats page specific */
.stat-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px -4px var(--shadow-color, rgba(46, 125, 50, 0.15));
}

.progress-bar {
    transition: width 0.5s ease-out;
}

.file-row:hover {
    background: rgba(46, 125, 50, 0.05);
}
.dark .file-row:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #2E7D32, #66BB6A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pulse animation for live stats */
.pulse-dot {
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
