{{!
    This file is part of Moodle - http://moodle.org/

    Moodle is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    Moodle is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
}}
{{!
    @package    local_academic_ticket_system
    @copyright  2026 Abdulrahman
    @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
}}

<div class="local-academic-ticket-system">
    <link href="https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap" rel="stylesheet">
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">

    <div class="fixed inset-0 z-[-1] overflow-hidden">
        <div class="blob-err denied-blob-e1 rounded-full"></div>
        <div class="blob-err denied-blob-e2 rounded-full"></div>
    </div>

    <div class="ats-error-page p-4">
        <div class="glass-error p-10 rounded-3xl text-center max-w-lg w-full transform transition-all hover:scale-[1.01]">
            <div class="w-24 h-24 bg-red-50 rounded-full flex items-center justify-center mx-auto mb-6 shadow-sm">
                <i class="fas fa-lock text-4xl text-red-500"></i>
            </div>
            <h2 class="text-3xl font-extrabold text-gray-800 mb-2">{{#str}}nopermission, local_academic_ticket_system{{/str}}</h2>
            <p class="text-gray-500 mb-8 text-lg font-medium leading-relaxed">
                {{#str}}nopermission_desc, local_academic_ticket_system{{/str}}
            </p>
            <a href="{{home_url}}" class="inline-flex items-center justify-center gap-2 px-8 py-4 bg-gradient-to-r from-gray-800 to-gray-700 text-white rounded-xl font-bold text-lg hover:shadow-xl hover:-translate-y-1 transition-all w-full text-decoration-none">
                <i class="fas fa-arrow-left"></i> {{#str}}back_to_home, local_academic_ticket_system{{/str}}
            </a>
        </div>
    </div>
</div>
