{% extends 'base.html' %}

{% block title %}Access Forbidden | TaskFlow{% endblock %}

{% block content %}
<div class="container mt-5">
    <div class="row justify-content-center">
        <div class="col-md-8 text-center">
            <h1 class="display-1 text-danger">403</h1>
            <h2 class="mb-4">Access Forbidden</h2>
            <p class="lead">You don't have permission to access this page.</p>
            <p>If you believe this is an error, please contact your administrator.</p>
            <div class="mt-4">
                <a href="{% url 'home' %}" class="btn btn-primary">
                    <i class="fas fa-home me-2"></i>Return to Homepage
                </a>
                <button onclick="history.back()" class="btn btn-outline-secondary ms-2">
                    <i class="fas fa-arrow-left me-2"></i>Go Back
                </button>
            </div>
        </div>
    </div>
</div>
{% endblock %}

{% block extra_css %}
<style>
    body {
        background-color: #f8f9fa;
    }
    .display-1 {
        font-size: 8rem;
        font-weight: 700;
    }
</style>
{% endblock %}
