<?php $__env->startSection('content'); ?>

 <main>
        <!-- Start register-pg -->
        <section class="register-pg">
            <div class="container-fluid">
                <div class="row">
                    <div class="col-md-6 pr-0 pl-0">
                        <div class="inner center-vr">
                            <div class="form-wrapper ">
                                <div class="reg_heading text-center mb-5">
                                    <div class="img-box mb-5">
                                        <img src="<?php echo e(url('')); ?>/assets/web/images/icon.svg" alt="" class="logo"/>
                                    </div>
                                    <div class="content">
                                        <h3 class="title text-white"><b><?php echo e(__('web.login')); ?></b></h3>
                                        <p class="p text-white-50"><?php echo e(__('web.login_desc')); ?></p>
                                    </div>
                                </div>
                                <form method="post" action="<?php echo e(url(getCurrentLocale().'/check')); ?>">
                                    <?php echo csrf_field(); ?>
                                       <?php if(Session::has('error')): ?>
   <div class="col-12">
    <div  class="alert alert-danger">
<p style="color: black;"><?php echo e(Session::get('error')); ?></p>
</div>
</div>
<?php endif; ?>
                                    <div class="col-md-8 m-auto">
                                        <div class="form-group">
                                            <label class="label"><?php echo e(__('web.email')); ?></label>
                                            <input class="form-control" type="email" name="email" placeholder="test@mail.com"/>
                                        </div>
                                        <div class="form-group">
                                            <label class="label"><?php echo e(__('web.password')); ?></label>
                                            <input type="password" id="password" name="password" class="form-control" placeholder="******">
                                            <span class="togglePassword"><i class="far fa-eye" id="togglePassword"></i></span>
                                            <a href="<?php echo e(url(getCurrentLocale().'/forgetpassword')); ?>" class="forget_pass mt-3"><?php echo e(__('web.forgetpassword')); ?></a>
                                        </div>
                                        <button class="submit-butn main-butn mt-4"><span><?php echo e(__('web.login')); ?></span></button>
                                        <p class="another_act text-center mt-4"><?php echo e(__('web.haventacc')); ?> <a href="<?php echo e(url(getCurrentLocale().'/regist')); ?>"><?php echo e(__('web.newacc')); ?></a></p>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-6 pr-0 pl-0">
                        <img src="<?php echo e(url('')); ?>/assets/web/images/register-1.png" alt="" class="register-img"/>
                    </div>
                </div>
            </div>
        </section>
    </main>
    
    <?php $__env->startPush('js'); ?>
    <script>
        //show password
        const togglePassword = document.querySelector('#togglePassword');
        const password = document.querySelector('#password');
    
        togglePassword.addEventListener('click', function (e) {
            // toggle the type attribute
            const type = password.getAttribute('type') === 'password' ? 'text' : 'password';
            password.setAttribute('type', type);
            // toggle the eye slash icon
            this.classList.toggle('fa-eye-slash');
        });
    </script>
    <?php $__env->stopPush(); ?>
    <?php $__env->stopSection(); ?>
<?php echo $__env->make('web.layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/omaralyomhost/public_html/raied/resources/views/web/pages/login.blade.php ENDPATH**/ ?>