
<?php $__env->startSection('title', 'Login | E-Visa'); ?>
<?php $__env->startSection('content'); ?>
<!-- Contact Section -->
<section id="contact" class="contact section light-background mb-5">
    <div class="container" data-aos="fade-up" data-aos-delay="100">
        <div class="row g-4 g-lg-5 d-flex justify-content-center">
            <div class="col-lg-5">
                <div class="contact-form" data-aos="fade-up" data-aos-delay="300">
                    <h3 class="fw-bold">Forget Password?</h3>
                    <p>Enter your registered email address below and we'll send you a link to reset your password.</p>
                    <form action="<?php echo e(route('password.email')); ?>" method="post" data-aos="fade-up" data-aos-delay="200">
                        <?php echo csrf_field(); ?>
                        <div class="row">
                            <div class="col-lg-12">
                                <?php if($errors->any()): ?>
                                <div class="bg-warning p-3 mb-3 rounded">
                                    <div class="error-box">
                                        <ul>
                                            <?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>
                                </div>
                                <?php endif; ?>
                            </div>
                            <div class="col-lg-12">
                                <?php $__sessionArgs = ['status'];
if (session()->has($__sessionArgs[0])) :
if (isset($value)) { $__sessionPrevious[] = $value; }
$value = session()->get($__sessionArgs[0]); ?>
                                <div class="bg-success p-3 mb-3 rounded">
                                    <div class="text-white">
                                        <?php echo e($value); ?>

                                    </div>
                                </div>
                                <?php unset($value);
if (isset($__sessionPrevious) && !empty($__sessionPrevious)) { $value = array_pop($__sessionPrevious); }
if (isset($__sessionPrevious) && empty($__sessionPrevious)) { unset($__sessionPrevious); }
endif;
unset($__sessionArgs); ?>
                            </div>


                            <div class="col-md-12 mb-3">
                                <input type="email" class="form-control" name="email" value="<?php echo e(old('email')); ?>" placeholder="Enter Registered Email" required>
                            </div>

                            <div class="col-md-12 mb-3 text-end">
                                <strong>Remember Password?</strong> <a href="<?php echo e(route('login')); ?>">Login Now</a>
                            </div>

                            <div class="col-12 text-center">
                                <button type="submit" class="btn btn-primary">Send Password Reset Link</button>
                            </div>
                        </div>
                    </form>

                </div>
            </div>
        </div>
    </div>
</section><!-- /Contact Section -->
<?php $__env->stopSection(); ?>

<?php echo $__env->make('frontend.master', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH D:\xampp\htdocs\e-visa\resources\views/credentials/forget-password.blade.php ENDPATH**/ ?>