import { cn } from "@/lib/cn";

export function EmptyStateCard({
  title,
  description,
  className,
}: {
  title: string;
  description?: string;
  className?: string;
}) {
  return (
    <div
      className={cn(
        "rounded-[1.75rem] border border-dashed border-line bg-surface p-8",
        className,
      )}
    >
      <h1 className="text-3xl font-semibold tracking-[-0.04em] text-primary">
        {title}
      </h1>
      {description ? (
        <p className="mt-3 max-w-2xl text-base leading-7 text-primary/72">
          {description}
        </p>
      ) : null}
    </div>
  );
}
