<?php
$order_id = $_GET['order_id'] ?? 'UNKNOWN';
?>
<!DOCTYPE html>
<html>
<head>
    <title>Payment Cancelled</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <style>
        body {
            font-family: sans-serif;
            background: #fefefe;
            padding: 30px;
            text-align: center;
        }
        .box {
            background: #fff0f0;
            border: 2px solid #ff0000;
            border-radius: 12px;
            padding: 25px;
            max-width: 400px;
            margin: auto;
        }
        h2 { color: red; }
        p { margin-top: 10px; font-size: 18px; }
    </style>
</head>
<body>
    <div class="box">
        <h2>⚠️ Payment Cancelled</h2>
        <p>Your order <b><?php echo htmlspecialchars($order_id); ?></b> was not completed.</p>
        <p>You can try again or go back to home.</p>
        <a href="/" style="text-decoration:none; color:blue;">🏠 Home</a>
    </div>
</body>
</html>
