import { RouteLoading } from "@/components/molecules/RouteLoading";
import { ShieldCheckIcon } from "@heroicons/react/24/outline";
import { Skeleton } from "@/components/atoms/loading-skeleton";

export default function VerificationSettingsLoading() {
  return (
    <RouteLoading
      icon={<ShieldCheckIcon />}
      title="Verification"
      description="Loading verification settings..."
      mode="content"
    >
      <div className="space-y-6 max-w-2xl">
        {/* Back link */}
        <Skeleton className="h-4 w-32" />

        {/* Info card */}
        <div className="bg-card border border-border rounded-2xl p-6 space-y-4">
          <div className="flex items-start gap-4">
            <Skeleton className="h-12 w-12 rounded-xl shrink-0" />
            <div className="flex-1 space-y-2">
              <Skeleton className="h-6 w-48" />
              <Skeleton className="h-4 w-full" />
              <Skeleton className="h-4 w-3/4" />
            </div>
          </div>
        </div>

        {/* Verification form card */}
        <div className="bg-card border border-border rounded-2xl p-6 space-y-6">
          <div className="space-y-2">
            <Skeleton className="h-5 w-40" />
            <Skeleton className="h-4 w-full" />
          </div>

          {/* Form fields */}
          <div className="space-y-4">
            <div className="space-y-2">
              <Skeleton className="h-4 w-28" />
              <Skeleton className="h-10 w-full rounded-lg" />
            </div>
            <div className="space-y-2">
              <Skeleton className="h-4 w-28" />
              <Skeleton className="h-10 w-full rounded-lg" />
            </div>
          </div>

          {/* Submit button */}
          <Skeleton className="h-10 w-full rounded-lg" />
        </div>
      </div>
    </RouteLoading>
  );
}
