<?php
include 'includes/header.php';
$order_id = $_GET['order_id'] ?? 0;
?>

<div class="container" style="text-align: center; padding: 50px;">
    <i class="fas fa-check-circle" style="font-size: 50px; color: green;"></i>
    <h1>Order Placed Successfully!</h1>
    <p>Your Order ID is: <strong>#<?php echo $order_id; ?></strong></p>
    <p>We have received your order. Please send the payment screenshot on WhatsApp to activate your product.</p>
    
    <a href="https://wa.me/15852502693?text=Hi%20Pro%20Offers,%20I%20placed%20order%20%23<?php echo $order_id; ?>" class="btn btn-whatsapp" style="display: inline-block; width: auto; margin-top: 20px;">
        Send Screenshot on WhatsApp
    </a>
</div>
<?php include 'includes/footer.php'; ?>