"use client";

export function ScansLoadingSkeleton() {
  return (
    <div className="space-y-4 animate-pulse">
      {/* Scan form skeleton */}
      <div className="rounded-lg border border-border bg-card p-4">
        <div className="flex gap-4 items-end">
          <div className="flex-1 space-y-2">
            <div className="h-4 w-24 bg-muted rounded" />
            <div className="h-10 bg-muted rounded" />
          </div>
          <div className="h-10 w-24 bg-muted rounded" />
        </div>
      </div>

      {/* Scan list skeleton */}
      <div className="space-y-3">
        {[1, 2, 3].map((i) => (
          <div key={i} className="rounded-lg border border-border bg-card p-4">
            <div className="flex items-center justify-between mb-3">
              <div className="h-5 w-40 bg-muted rounded" />
              <div className="h-6 w-20 bg-muted rounded" />
            </div>
            <div className="flex gap-4">
              <div className="h-4 w-32 bg-muted rounded" />
              <div className="h-4 w-32 bg-muted rounded" />
              <div className="h-4 w-32 bg-muted rounded" />
            </div>
          </div>
        ))}
      </div>
    </div>
  );
}
