import Link from "next/link";
import { Button } from "@/components/ui/button";
import { XCircle } from "lucide-react";

export default function SubscriptionCancelPage() {
  return (
    <div className="flex flex-col items-center justify-center min-h-screen px-4">
      <div className="rounded-full bg-muted p-4 mb-4">
        <XCircle className="size-10 text-muted-foreground" />
      </div>
      <h2 className="text-lg font-semibold">Checkout cancelled</h2>
      <p className="mt-2 text-muted-foreground text-center max-w-md">
        Your subscription checkout was cancelled. No charges were made. You can
        try again anytime from the settings page.
      </p>
      <Button asChild className="mt-6">
        <Link href="/app/settings/subscription">Back to Settings</Link>
      </Button>
    </div>
  );
}
