import PageContainer from '@/components/layout/page-container';
import { Card, CardContent, CardHeader } from '@/components/ui/card';
import { Skeleton } from '@/components/ui/skeleton';

export default function Loading() {
  return (
    <PageContainer>
      <Card className='mx-auto w-full'>
        <CardHeader className='space-y-3'>
          <Skeleton className='h-8 w-64' />
        </CardHeader>
        <CardContent className='space-y-6'>
          <div className='grid grid-cols-1 gap-6 md:grid-cols-2'>
            {Array.from({ length: 6 }).map((_, index) => (
              <Skeleton key={index} className='h-10 w-full' />
            ))}
          </div>
          <Skeleton className='h-32 w-full' />
          <Skeleton className='h-52 w-full' />
          <div className='flex justify-end gap-2'>
            <Skeleton className='h-10 w-24' />
            <Skeleton className='h-10 w-48' />
          </div>
        </CardContent>
      </Card>
    </PageContainer>
  );
}
