import { escapeHtml } from "./html.js"; const SHARED_STYLES = ` body { font-family: system-ui; background: #0a0a0a; color: #e8e8e8; display: flex; align-items: center; justify-content: center; min-height: 100vh; margin: 0; } .card { background: #141414; border: 1px solid #222; border-radius: 16px; padding: 48px; max-width: 500px; text-align: center; } h1 { color: #4f9; margin-bottom: 8px; } p { color: #888; line-height: 1.6; } a { color: #4f9; } `; export function renderSuccessPage(apiKey: string): string { const escaped = escapeHtml(apiKey); return `
Your API key:
Save this key! It won't be shown again.
5,000 PDFs/month • All endpoints • Priority support
A Pro API key has already been created for this purchase.
If you lost your key, use the key recovery feature.