{% extends 'base.html' %}

{% block content %}
<div class="container mt-5">
    <div class="row justify-content-center">
        <div class="col-lg-6 text-center">
            <h1 class="display-4 fw-bold text-uppercase mb-4">Delete Course?</h1>
            <p class="lead mb-5">Are you sure you want to delete <strong>"{{ object.title }}"</strong>? This action cannot be undone and all associated modules and lessons will be lost.</p>
            
            <form method="POST">
                {% csrf_token %}
                <button type="submit" class="btn btn-danger btn-lg rounded-0 border-2 px-5 me-3">Yes, Delete</button>
                <a href="{% url 'dashboard' %}" class="btn btn-outline-dark btn-lg rounded-0 border-2 px-5">Cancel</a>
            </form>
        </div>
    </div>
</div>
{% endblock %}
