{% extends 'base.html' %}

{% block title %}Confirm Delete - PixelMinds{% endblock %}

{% block content %}
<section class="section">
  <div class="container">
    <div class="row justify-content-center">
      <div class="col-lg-6">
        <div class="card shadow-sm border-danger">
          <div class="card-body text-center p-5">
            <h1 class="card-title text-danger mb-4">Delete Mission</h1>
            <p>Are you sure you want to delete the mission: <strong>"{{ object.title }}"</strong>?</p>
            <p class="text-muted">This action cannot be undone.</p>
            <form method="post">
              {% csrf_token %}
              <div class="d-grid gap-2 d-md-flex justify-content-center mt-4">
                <button type="submit" class="btn btn-danger">Yes, Delete</button>
                <a href="{% url 'core:mission_list' %}" class="btn btn-secondary">Cancel</a>
              </div>
            </form>
          </div>
        </div>
      </div>
    </div>
  </div>
</section>
{% endblock %}
