﻿﻿﻿﻿<!DOCTYPE html>
<html lang="ar" dir="rtl">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta name="csrf-token" content="1fJVsfTFz1b7yfsz7wrxOmLrgMKZMO9e2cNEEdIY">

        <title>نظام معادلة للمقاولات</title>

        <!-- Fonts -->
        <link rel="preconnect" href="https://fonts.bunny.net">
        <link href="https://fonts.bunny.net/css?family=figtree:400,500,600&display=swap" rel="stylesheet" />

        <!-- Scripts -->
        <link rel="preload" as="style" href="http://127.0.0.1:8000/build/assets/app-88be7b49.css" /><link rel="modulepreload" href="http://127.0.0.1:8000/build/assets/app-52547501.js" /><link rel="stylesheet" href="http://127.0.0.1:8000/build/assets/app-88be7b49.css" /><script type="module" src="http://127.0.0.1:8000/build/assets/app-52547501.js"></script>    </head>
    <body class="font-sans text-gray-900 antialiased">
        <div class="min-h-screen flex flex-col sm:justify-center items-center pt-6 sm:pt-0 bg-gradient-to-b from-primary-50 to-white">
            <div class="mb-4">
                <a href="/" class="flex items-center justify-center">
                    <svg viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg" class="w-20 h-20 fill-current text-primary-600">
    <rect x="5" y="5" width="40" height="40" rx="5" fill="#3b82f6" />
    <text x="25" y="32" font-family="Arial" font-size="24" font-weight="bold" fill="white" text-anchor="middle">M</text>
</svg>
                </a>
            </div>

            <div class="w-full sm:max-w-md mt-4 p-8 py-6 bg-white shadow-lg overflow-hidden sm:rounded-lg border-t-4 border-secondary-500">
                <!-- Session Status -->
    ﻿

    <div class="mb-6 text-center">
        <h1 class="text-2l font-bold text-primary-700">تسجيل الدخول</h1>
        <p class="text-gray-600">أدخل بيانات حسابك للوصول إلى لوحة التحكم</p>
    </div>

    <form method="POST" action="http://127.0.0.1:8000/login">
        <input type="hidden" name="_token" value="1fJVsfTFz1b7yfsz7wrxOmLrgMKZMO9e2cNEEdIY">
        <!-- Email Address -->
        <div>
            ﻿
<label class="block font-medium text-sm text-gray-700 text-primary-700 font-medium" for="email">
    البريد الإلكتروني
</label>
            ﻿
<input  class="border-gray-300 focus:border-indigo-500 focus:ring-indigo-500 rounded-md shadow-sm block mt-1 w-full form-control" id="email" type="email" name="email" required="required" autofocus="autofocus" autocomplete="username">
            ﻿
        </div>

        <!-- Password -->
        <div class="mt-4">
            ﻿
<label class="block font-medium text-sm text-gray-700 text-primary-700 font-medium" for="password">
    كلمة المرور
</label>

            ﻿
<input  class="border-gray-300 focus:border-indigo-500 focus:ring-indigo-500 rounded-md shadow-sm block mt-1 w-full form-control" id="password" type="password" name="password" required="required" autocomplete="current-password">

            ﻿
        </div>

        <!-- Remember Me -->
        <div class="block mt-4">
            <label for="remember_me" class="inline-flex items-center">
                <input id="remember_me" type="checkbox" class="rounded border-gray-300 text-primary-600 shadow-sm focus:ring-primary-500 focus:ring-opacity-50" name="remember">
                <span class="mr-2 text-sm text-gray-700">تذكرني</span>
            </label>
        </div>

        <div class="flex items-center justify-between mt-6">
                            <a class="text-sm text-primary-600 hover:text-primary-800 transition-colors duration-200" href="http://127.0.0.1:8000/forgot-password">
                    نسيت كلمة المرور؟
                </a>

            <button type="submit" class="btn-primary p-6 py-3 text-base rounded-lg shadow-md transition duration-300 ease-in-out transform hover:scale-105 flex items-center">
                <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 ml-2" viewBox="0 0 20 20" fill="currentColor">
                    <path fill-rule="evenodd" d="M3 3a1 1 0 011-1h12a1 1 0 011 1v3a1 1 0 01-.293.707L12 11.414V15a1 1 0 01-.293.707l-2 2A1 1 0 018 17v-5.586L3.293 6.707A1 1 0 013 6V3z" clip-rule="evenodd" />
                </svg>
                تسجيل الدخول
            </button>
        </div>

        <div class="mt-8 text-center">
            <p class="text-sm text-gray-600">
                ليس لديك حساب؟
                <a href="http://127.0.0.1:8000/register" class="text-secondary-600 hover:text-secondary-800 font-medium transition-colors duration-200">إنشاء حساب جديد</a>
            </p>
        </div>
    </form>
            </div>

            <div class="mt-8 text-center text-sm text-gray-500">
                <div class="flex items-center justify-center">
                    جميع الحقوق محفوظة &copy; 2025 | نظام  معادلة لشركات المقاولات
                </div>
            </div>
        </div>
    </body>
</html>
