export default function PatternDetailLoading() {
  return (
    <div className="space-y-6">
      <div className="h-10 w-64 bg-[var(--secondary)] rounded animate-pulse" />

      <div className="h-6 w-24 bg-[var(--secondary)] rounded animate-pulse" />

      <div className="space-y-2">
        <div className="h-4 w-full bg-[var(--secondary)] rounded animate-pulse" />
        <div className="h-4 w-full bg-[var(--secondary)] rounded animate-pulse" />
        <div className="h-4 w-3/4 bg-[var(--secondary)] rounded animate-pulse" />
      </div>

      <div>
        <div className="h-6 w-48 bg-[var(--secondary)] rounded animate-pulse mb-4" />
        <div className="grid gap-4">
          {[1, 2, 3].map((i) => (
            <div
              key={i}
              className="p-4 rounded-lg bg-[var(--card)] border border-[var(--border)]"
            >
              <div className="h-5 w-48 bg-[var(--secondary)] rounded animate-pulse mb-2" />
              <div className="h-4 w-full bg-[var(--secondary)] rounded animate-pulse" />
            </div>
          ))}
        </div>
      </div>
    </div>
  );
}
