import { glassSurfaceCard } from "@/lib/styles/glassSurface";

function SkeletonCard() {
  return (
    <div className={glassSurfaceCard("flex animate-pulse items-center gap-4 p-4")}>
      <div className="size-16 shrink-0 rounded-2xl bg-(--danak-orange-muted)" />
      <div className="flex-1 space-y-2.5">
        <div className="h-4 w-2/3 rounded-lg bg-black/5" />
        <div className="h-3 w-full rounded-lg bg-black/5" />
        <div className="h-3 w-4/5 rounded-lg bg-black/5" />
      </div>
    </div>
  );
}

export default function RestaurantsSkeleton() {
  return (
    <div className="space-y-3 px-4 pb-8">
      {Array.from({ length: 6 }).map((_, i) => (
        <SkeletonCard key={i} />
      ))}
    </div>
  );
}
