{% raw %}{% extends 'base.html' %}{% endraw %}

{% raw %}{% block title %}Payment Successful{% endblock %}{% endraw %}

{% raw %}{% block content %}{% endraw %}
<div class="container mx-auto px-4 py-8">
    <div class="max-w-md mx-auto bg-white rounded-lg shadow-md p-6 text-center">
        <div class="mb-6">
            <div class="mx-auto w-16 h-16 bg-green-100 rounded-full flex items-center justify-center mb-4">
                <svg class="w-8 h-8 text-green-500" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path>
                </svg>
            </div>
            <h2 class="text-2xl font-bold text-green-600 mb-2">Payment Successful!</h2>
            <p class="text-gray-600">Thank you for your purchase. Your order has been confirmed.</p>
        </div>
        
        <div class="space-y-4">
            <a href="{% raw %}{% url 'order_list' %}{% endraw %}" class="block w-full bg-blue-500 hover:bg-blue-600 text-white font-bold py-2 px-4 rounded">
                View Your Orders
            </a>
            <a href="{% raw %}{% url 'home' %}{% endraw %}" class="block w-full bg-gray-500 hover:bg-gray-600 text-white font-bold py-2 px-4 rounded">
                Continue Shopping
            </a>
        </div>
    </div>
</div>
{% raw %}{% endblock %}{% endraw %}