import { Skeleton } from "@/components/ui/skeleton";
import { InfoCardSkeleton } from "@/components/shared/skeletons";

export default function SearchLoading() {
  return (
    <div className="max-w-5xl mx-auto space-y-6">
      <div>
        <Skeleton className="h-9 w-56 mb-6" />
        <Skeleton className="h-12 w-full rounded-md" />
        <div className="mt-3 flex flex-wrap items-center gap-3">
          <Skeleton className="h-9 w-40" />
          <Skeleton className="h-9 w-36" />
        </div>
      </div>
      <div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-4">
        {Array.from({ length: 8 }).map((_, i) => (
          <InfoCardSkeleton key={i} />
        ))}
      </div>
    </div>
  );
}
