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

      <div className="flex gap-2">
        {[1, 2, 3].map((i) => (
          <div
            key={i}
            className="h-6 w-20 bg-[var(--secondary)] rounded animate-pulse"
          />
        ))}
      </div>

      <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-2/3 bg-[var(--secondary)] rounded animate-pulse" />
      </div>

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

      <div className="p-4 rounded-lg bg-[var(--card)] border border-[var(--border)]">
        <div className="h-6 w-24 bg-[var(--secondary)] rounded animate-pulse mb-4" />
        <div className="h-48 w-full bg-[var(--secondary)] rounded animate-pulse" />
      </div>
    </div>
  );
}
