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

{% raw %}{% block title %}Payment Cancelled{% 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-yellow-100 rounded-full flex items-center justify-center mb-4">
                <svg class="w-8 h-8 text-yellow-500" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-2.5L13.732 4c-.77-.833-1.964-.833-2.732 0L2.732 16.5c-.77.833.192 2.5 1.732 2.5z"></path>
                </svg>
            </div>
            <h2 class="text-2xl font-bold text-yellow-600 mb-2">Payment Cancelled</h2>
            <p class="text-gray-600">Your payment was cancelled. No charges were made to your account.</p>
        </div>
        
        <div class="space-y-4">
            <a href="{% raw %}{% url 'checkout' %}{% endraw %}" class="block w-full bg-blue-500 hover:bg-blue-600 text-white font-bold py-2 px-4 rounded">
                Try Again
            </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">
                Return to Home
            </a>
        </div>
    </div>
</div>
{% raw %}{% endblock %}{% endraw %}