/* Number Counter Animation */
.animate-number {
    transition: all var(--animation-speed-normal);
}

/* Chart Animations */
.chart-animate {
    animation: chartFadeIn var(--animation-speed-slow) ease-out;
    will-change: opacity, transform;
}

@media (max-width: 768px) {
    .chart-animate {
        animation-duration: calc(var(--animation-speed-slow) * 0.75);
    }
}

@keyframes chartFadeIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Tab Transition */
.tab-pane {
    transition: opacity var(--animation-speed-normal);
}

.tab-pane.fade {
    opacity: 0;
}

.tab-pane.show {
    opacity: 1;
}

/* Result Highlight */
.highlight {
    animation: highlightPulse var(--animation-speed-slow) ease-in-out;
}

@keyframes highlightPulse {
    0% {
        background-color: transparent;
    }
    50% {
        background-color: rgba(46, 139, 87, 0.1);
    }
    100% {
        background-color: transparent;
    }
}

/* Button Click Effect */
.btn-click {
    animation: buttonClick var(--animation-speed-fast) ease-in-out;
}

@keyframes buttonClick {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
    }
} 