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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

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

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes rowRemove {
    to {
        opacity: 0;
        transform: scaleY(0);
        height: 0;
        padding: 0;
        margin: 0;
    }
}

@keyframes checkmark {
    0% { stroke-dashoffset: 24; }
    100% { stroke-dashoffset: 0; }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(32, 130, 240, 0.3); }
    50% { box-shadow: 0 0 20px rgba(32, 130, 240, 0.6); }
}

/* Animation utilities */
.animate-fade-in {
    animation: fadeIn var(--duration-normal) var(--ease-out);
}

.animate-fade-in-up {
    animation: fadeInUp var(--duration-normal) var(--ease-out);
}

.animate-slide-in {
    animation: slideIn var(--duration-normal) var(--ease-spring);
}

.animate-scale-in {
    animation: scaleIn var(--duration-normal) var(--ease-spring);
}

/* Staggered animations */
.stagger > * {
    animation: fadeInUp var(--duration-normal) var(--ease-out) both;
}

.stagger > *:nth-child(1) { animation-delay: 0ms; }
.stagger > *:nth-child(2) { animation-delay: 50ms; }
.stagger > *:nth-child(3) { animation-delay: 100ms; }
.stagger > *:nth-child(4) { animation-delay: 150ms; }
.stagger > *:nth-child(5) { animation-delay: 200ms; }
.stagger > *:nth-child(6) { animation-delay: 250ms; }
.stagger > *:nth-child(7) { animation-delay: 300ms; }
.stagger > *:nth-child(8) { animation-delay: 350ms; }

/* Transition classes for JS */
.transition-fade {
    transition: opacity var(--duration-normal) var(--ease-out);
}

.transition-slide {
    transition: transform var(--duration-normal) var(--ease-out),
                opacity var(--duration-normal) var(--ease-out);
}

.transition-all {
    transition: all var(--duration-normal) var(--ease-out);
}
