/**
 * Network Graph Animations
 * CSS keyframes and transitions for the "living" network graph effect.
 * Dash automatically loads CSS files from the assets/ folder.
 */

/* Respect user preferences for reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Pulsing animation for high-degree nodes */
@keyframes pulse-strong {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes pulse-medium {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

@keyframes pulse-subtle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.92; }
}

/* Glow effect for highly connected nodes */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(0, 116, 217, 0.5);
    }
    50% {
        box-shadow: 0 0 15px rgba(0, 116, 217, 0.8);
    }
}

/* Breathing border effect */
@keyframes breathe {
    0%, 100% {
        border-width: 2px;
        border-opacity: 0.6;
    }
    50% {
        border-width: 4px;
        border-opacity: 1;
    }
}
