export default function StatCard({ label, value, gradient = 'from-blue-500 to-blue-600' }) {
  return (
    <div className={`bg-gradient-to-br ${gradient} rounded-2xl p-5 text-white shadow-md`}>
      <p className="text-3xl font-bold leading-tight">{value ?? '—'}</p>
      <p className="text-sm font-medium mt-2 opacity-85">{label}</p>
    </div>
  );
}
