<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Program Generated</title>
    <script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="bg-black text-white min-h-screen">
    <div class="container mx-auto px-4 py-12 max-w-2xl text-center">
        <div class="bg-gray-900/50 p-8 rounded-xl">
            <svg class="w-16 h-16 text-green-500 mx-auto mb-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"/>
            </svg>
            <h1 class="text-3xl font-light mb-4">Program Generated Successfully!</h1>
            <p class="text-gray-400 mb-8">Your program has been saved and is ready to print.</p>
            
            <div class="space-y-4">
                <a href="programs/<?= htmlspecialchars($_GET['file']) ?>" 
                   class="block bg-white text-black px-8 py-3 rounded-full hover:bg-gray-100 transition-all">
                    Download PDF
                </a>
                
                <a href="/"
                   class="block bg-gray-800 text-white px-8 py-3 rounded-full hover:bg-gray-700 transition-all">
                    Create Another Program
                </a>
            </div>
        </div>
    </div>
</body>
</html>