<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1" />
        <title>Denied!</title>
        <!--<link href="{{ url_for('AdminController.static', filename='vendors/bootstrap/bootstrap.min.css') }}" rel="stylesheet" />-->
        <!--<script src="{{ url_for('AdminController.static', filename='vendors/bootstrap/bootstrap.bundle.min.js') }}"></script>-->
        <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
        <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
        <link href="{{ url_for('AdminController.static', filename='vendors/fontawesome/css/fontawesome.css') }}" rel="stylesheet" />
        <link href="{{ url_for('AdminController.static', filename='vendors/fontawesome/css/brands.css') }}" rel="stylesheet" />
        <link href="{{ url_for('AdminController.static', filename='vendors/fontawesome/css/solid.css') }}" rel="stylesheet" />
        <style>
            :root {
                --bg: #0f172a;
                --bg-2: #111827;
                --card: #ffffff;
                --text: #0f172a;
                --muted: #6b7280;
                --brand: #3b82f6;
                --brand-600: #2563eb;
                --ring: rgba(59,130,246,.35);
                --shadow: 0 10px 25px rgba(0,0,0,.15);

                --table-border: #e5e7eb;
                --thead-bg: #f3f4f6;
                --row-hover: #f9fafb;
                --badge-bg: #eef2ff;
                --badge-text: #3730a3;
            }

            html {
                height: auto;
                }

            body {
                margin: 0;
                font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
                background: radial-gradient(1200px 800px at 20% 10%, #1f2937 0%, var(--bg) 60%),
                            radial-gradient(1000px 700px at 80% 90%, #0b1220 0%, var(--bg-2) 60%);
                color: var(--text);
                display: grid;
                grid-template-rows: auto auto 1fr auto;
                place-items: start center;
                min-height: 100vh;  /* this alone is enough */
            }

            .card {
                width: 90%;
                background: var(--card);
                box-shadow: var(--shadow);
                overflow: hidden;
            }

            .card-header {
                padding: 20px 24px;
                border-bottom: 1px solid var(--table-border);
                display: flex;
                align-items: center;
                gap: 12px;
                justify-content: space-between;
                flex-wrap: wrap;
            }

            .card-body {
                padding: 0;
            }

            .title {
                margin: 0;
                font-size: 1.25rem;
                line-height: 1.2;
            }

        </style>

    </head>
    <body>
        <div class="card mt-4">
            <div class="card-header">
                <h5 class="title m-0">
                    <i class="fas fa-lock"></i> Permission Denied
                </h5>
            </div>

            <div class="card-body p-4 text-center">
                <div class="my-4">
                    <div class="mb-3" style="font-size: 5rem;">
                        <i class="fas fa-robot text-secondary"></i>
                        <i class="fas fa-hand-paper text-danger"></i>
                    </div>

                    <h3 class="mb-3">Hold it right there!</h3>
                    <p class="text-muted fs-5">
                        You lack security permission to view this section or perform this action.<br>
                        Please check with the administrator.
                    </p>
                </div>
            </div>
        </div>
    </body>
</html>