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

export default function SimActionLoading() {
  return (
    <RouteLoading
      icon={<DevicePhoneMobileIcon />}
      title="SIM Action"
      description="Loading SIM options..."
      mode="content"
    >
      <div className="space-y-6 max-w-2xl">
        {/* Back link skeleton */}
        <Skeleton className="h-4 w-32" />

        {/* Action card skeleton */}
        <div className="bg-card border border-border rounded-2xl p-6 space-y-6">
          <div className="space-y-2">
            <Skeleton className="h-6 w-48" />
            <Skeleton className="h-4 w-full" />
            <Skeleton className="h-4 w-3/4" />
          </div>

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

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