{% extends 'base.html' %}

{% block title %}403 - Forbidden — AgentForms{% endblock %}

{% block head_extra %}
<style nonce="{{ csp_nonce }}">
    .error-page main {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 40px 24px;
    }
    .error-content { text-align: center; max-width: 480px; }
    .error-code {
        font-size: 96px;
        font-weight: 800;
        line-height: 1;
        color: var(--accent);
        margin-bottom: 16px;
        letter-spacing: -0.03em;
    }
    .error-title {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 8px;
        color: var(--text);
    }
    .error-desc {
        color: var(--text-muted);
        margin-bottom: 24px;
        line-height: 1.6;
    }
    @media (max-width: 480px) {
        .error-code { font-size: 64px; }
        .error-title { font-size: 20px; }
    }
</style>
{% endblock %}

{% block content %}
<main>
    <div class="error-content">
        <div class="error-code">403</div>
        <div class="error-title">Access Denied</div>
        <p class="error-desc">You don't have permission to access this resource.</p>
        <a href="/" class="btn">Go Home</a>
    </div>
</main>
{% endblock %}