{% extends 'base.html' %}
{% block title %}Delete Folder{% endblock %}
{% block content %}
<div class="container py-5">
    <div class="row justify-content-center">
        <div class="col-md-6">
            <div class="card border-0 shadow-sm border-top border-4 border-danger">
                <div class="card-body p-5 text-center">
                    <div class="display-4 text-danger mb-4">
                        <i class="bi bi-folder-x"></i>
                    </div>
                    <h2 class="h4 mb-3">Delete Folder: {{ folder.name }}?</h2>
                    <p class="text-muted mb-4">Removing this required folder will hide it from <strong>all existing jobs</strong>. Uploaded files within this folder may become inaccessible.</p>
                    <form method="post">
                        {% csrf_token %}
                        <div class="d-grid gap-2">
                            <button type="submit" class="btn btn-danger py-2">Confirm Removal</button>
                            <a href="{% url 'settings' %}" class="btn btn-outline-secondary py-2">Cancel</a>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
{% endblock %}
