/**
 * Nudge Vote System - Minimal Functional CSS
 * All styling handled by Bootstrap 5 classes
 * This file only contains animations
 */

/* Spinning animation for processing state */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.fm-nudge-button.processing i,
.fm-nudge-inline.processing i {
    animation: spin 1s linear infinite;
}

/* Pulse animation on successful nudge */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.fm-nudge-button.pulse-animation,
.fm-nudge-inline.pulse-animation {
    animation: pulse 0.6s ease;
}