<?php $__env->startSection('title', 'ورود'); ?>

<?php $__env->startSection('content'); ?>
<div class="digi-auth-wrap">

    <div class="digi-auth-logo">
        <a href="<?php echo e(route('home')); ?>">
            <img src="<?php echo e($siteLogo); ?>" width="160" alt="">
        </a>
    </div>

    <div class="digi-auth-card">
        <p class="digi-auth-card-title">ورود به حساب کاربری</p>
        <p class="digi-auth-card-desc">شماره موبایل و رمز عبور خود را وارد کنید.</p>

        <?php if($errors->any()): ?>
            <div class="alert alert-danger digi-auth-alert" role="alert">
                <ul class="mb-0 pe-3">
                    <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <li><?php echo e($error); ?></li>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </ul>
            </div>
        <?php endif; ?>

        <form method="POST" action="<?php echo e(route('login')); ?>">
            <?php echo csrf_field(); ?>

            <div class="digi-auth-input-wrap">
                <label class="digi-auth-input-label">شماره موبایل</label>
                <input type="text" name="mobile" value="<?php echo e(old('mobile')); ?>"
                    class="digi-auth-input <?php $__errorArgs = ['mobile'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                    placeholder="09xxxxxxxxx" autocomplete="tel">
            </div>

            <div class="digi-auth-input-wrap">
                <label class="digi-auth-input-label">رمز عبور</label>
                <input type="password" name="password"
                    class="digi-auth-input <?php $__errorArgs = ['password'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                    placeholder="رمز عبور" autocomplete="current-password">
            </div>

            <button type="submit" class="digi-auth-btn">ورود</button>
        </form>

        <a href="<?php echo e(route('otp.login')); ?>" class="digi-auth-secondary-link">ورود با رمز یکبار مصرف</a>
    </div>

    <div class="digi-auth-bottom mt-3">
        حساب کاربری ندارید؟ <a href="<?php echo e(route('register')); ?>">ثبت نام</a>
    </div>

    <p class="digi-auth-terms">
        با ورود به سایت، <a href="#">شرایط و قوانین</a> و <a href="#">قوانین حریم خصوصی</a> را می‌پذیرید.
    </p>

</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('site.layouts.auth-layout', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home/louishop/public_html/engine/resources/views/auth/login.blade.php ENDPATH**/ ?>