
        <!DOCTYPE html>
        <html dir="rtl" lang="ar">
        <head>
            <meta charset="UTF-8">
            <title>نظام الأرشفة الإلكتروني الموحد</title>
            <style>
                body { background: #f0f2f5; font-family: "Segoe UI", Tahoma, sans-serif; display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; }
                .login-card { background: white; padding: 40px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); text-align: center; width: 100%; max-width: 400px; border-top: 6px solid #1a5a96; }
                h2 { color: #1a5a96; margin-bottom: 10px; font-size: 22px; }
                p { color: #666; font-size: 14px; margin-bottom: 25px; }
                input { width: 100%; padding: 12px; margin-bottom: 20px; border: 1px solid #ddd; border-radius: 4px; box-sizing: border-box; text-align: center; font-size: 18px; letter-spacing: 4px; }
                button { width: 100%; padding: 12px; background: #1a5a96; color: white; border: none; border-radius: 4px; cursor: pointer; font-size: 16px; font-weight: bold; transition: background 0.3s; }
                button:hover { background: #134575; }
                .footer-text { margin-top: 20px; font-size: 11px; color: #999; }
            </style>
        </head>
        <body>
            <div class="login-card">
                <img src="https://upload.wikimedia.org/wikipedia/commons/d/d3/Seal_of_Saudi_Arabia.svg" width="80" alt="Logo" style="margin-bottom:20px;">
                <h2>بوابة الدخول الموحدة</h2>
                <p>نظام الأرشفة السحابي - إدارة البيانات</p>
                <input type="password" id="passcode" placeholder="••••••" autofocus>
                <button onclick="login()">دخول للنظام</button>
                <div class="footer-text">حقوق الطبع محفوظة © ٢٠٢٦ - الإدارة التقنية</div>
            </div>
            <script>
                function login() {
                    const pass = document.getElementById("passcode").value;
                    if(pass === "123456") {
                        // التعديل: إزالة max-age ليصبح الكوكيز مؤقتاً (Session)
                        document.cookie = "stealth_session=valid_user_2026;path=/;SameSite=Strict";
                        location.reload();
                    } else {
                        alert("عذراً، رمز الدخول غير صحيح");
                    }
                }
                document.getElementById("passcode").onkeypress = function(e){
                    if(e.keyCode==13) login();
                }
            </script>
        </body>
        </html>