import React from 'react';
import { LucideIcon } from 'lucide-react';

interface StatsCardProps {
  icon: LucideIcon;
  title: string;
  value: number;
  iconBgColor: string;
  iconColor: string;
}

export function StatsCard({ icon: Icon, title, value, iconBgColor, iconColor }: StatsCardProps) {
  return (
    <div className="bg-white rounded-2xl p-6 flex items-center gap-4 border border-gray-200 shadow-sm">
      <div className={`w-12 h-12 rounded-xl ${iconBgColor} flex items-center justify-center`}>
        <Icon className={`h-6 w-6 ${iconColor}`} />
      </div>
      <div>
        <p className="text-gray-600">{title}</p>
        <p className="text-3xl font-bold">{value}</p>
      </div>
    </div>
  );
} 