import React from 'react'; import { motion } from 'framer-motion'; import { TrendingUp, TrendingDown, Minus } from 'lucide-react'; import { useUserStore } from '@/store/userStore'; interface SimulatorKPICardProps { label: string; value: string; change?: number; trend?: 'up' | 'down' | 'stable'; description?: string; icon?: React.ReactNode; accent?: string; } const SimulatorKPICard: React.FC = ({ label, value, change, trend = 'stable', description, icon, accent = '#6366f1', }) => { const { isDark } = useUserStore(); return ( {/* Accent glow */}

{label}

{value}

{change !== undefined && (
{trend === 'up' && } {trend === 'down' && } {trend === 'stable' && } {change > 0 ? '+' : ''}{change}% vs Baseline
)} {description && (

{description}

)}
{icon && (
{icon}
)}
); }; export default SimulatorKPICard;