import { Skeleton } from "@/components/ui/skeleton";

// /odeme/sonuc iyzico doğrulaması bekler — ortalanmış sonuç kartı iskeleti.
export default function Loading() {
  return (
    <main
      aria-live="polite"
      className="mx-auto flex w-full max-w-md flex-1 flex-col justify-center px-4 py-16"
    >
      <div className="rounded-2xl border border-slate-200 bg-white p-8 shadow-sm">
        <Skeleton className="mx-auto size-12 rounded-full" />
        <Skeleton className="mx-auto mt-5 h-7 w-2/3" />
        <Skeleton className="mx-auto mt-3 h-5 w-full" />
        <Skeleton className="mx-auto mt-2 h-5 w-3/4" />
        <Skeleton className="mx-auto mt-6 h-12 w-full rounded-lg" />
      </div>
    </main>
  );
}
