<?php $__env->startSection('title', 'تسجيل الدخول'); ?>

<?php $__env->startSection('content'); ?>
<div class="w-full max-w-md">
    <div class="glass-card p-8">
        <h1 class="text-center text-2xl font-extrabold">مرحباً بعودتك</h1>
        <p class="mt-2 text-center text-sm text-zinc-400">سجّل دخولك لاستخدام منصة مدار</p>
        <form method="POST" action="<?php echo e(route('web.login.attempt')); ?>" class="mt-8 space-y-4">
            <?php echo csrf_field(); ?>
            <div>
                <label class="mb-1 block text-xs text-zinc-400">البريد أو اسم المستخدم</label>
                <input type="text" name="login" value="<?php echo e(old('login')); ?>" required class="madar-input" autocomplete="username">
                <?php $__errorArgs = ['login'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?><p class="mt-1 text-xs text-red-400"><?php echo e($message); ?></p><?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
            </div>
            <div>
                <label class="mb-1 block text-xs text-zinc-400">كلمة المرور</label>
                <input type="password" name="password" required class="madar-input" autocomplete="current-password">
            </div>
            <button type="submit" class="neon-btn w-full">تسجيل الدخول</button>
        </form>
        <p class="mt-6 text-center text-sm text-zinc-500">
            <a href="<?php echo e(route('web.password.request')); ?>" class="text-cyan-400 hover:underline">نسيت كلمة المرور؟</a>
        </p>
        <p class="mt-2 text-center text-sm text-zinc-500">
            ليس لديك حساب؟ <a href="<?php echo e(route('web.register')); ?>" class="font-bold text-violet-400 hover:underline">إنشاء حساب</a>
        </p>
    </div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.madar-guest', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\wamp64\www\madar-backend\resources\views\web\auth\login.blade.php ENDPATH**/ ?>