export default function TodayPage() {
  return (
    <div>
      <h1 className="text-2xl font-semibold mb-6">
        Welcome back Babak !!
      </h1>

      <div className="grid grid-cols-1 md:grid-cols-2 xl:grid-cols-4 gap-4">
        <Card title="Today's Appointments" value="12" sub="Monday 2/5/2026" />
        <Card title="Active Patients" value="675" />
        <Card title="New Lab Case" value="5" sub="35 ↑" />
        <Card title="Today invoices" value="1200$" sub="21,300 $" />
      </div>
    </div>
  );
}

function Card({
  title,
  value,
  sub,
}: {
  title: string;
  value: string;
  sub?: string;
}) {
  return (
    <div className="surface-card p-4">
      <p className="text-sm text-text-secondary">{title}</p>
      <p className="text-2xl font-semibold mt-2">{value}</p>
      {sub && <p className="text-xs text-text-muted mt-1">{sub}</p>}
    </div>
  );
}