<?php $__env->startSection('content'); ?>
    <!-- Login Section Start -->
    <section class="mhq-hero-section fix mhq-hero-1 bg-cover pt-0"
        style="background-image: url('<?php echo e(asset('assets/front/img/home-1/hero/hero-bg.jpg')); ?>');">
        <div class="hero-shape-1 float-bob-x">
            <img src="<?php echo e(asset('assets/front/img/home-1/hero/shape-01.png')); ?>" alt="img">
        </div>
        <div class="hero-shape-2 float-bob-y">
            <img src="<?php echo e(asset('assets/front/img/home-1/hero/shape-02.png')); ?>" alt="img">
        </div>
        <div class="hero-shape-3 float-bob-y">
            <img src="<?php echo e(asset('assets/front/img/home-1/hero/shape-03.png')); ?>" alt="img">
        </div>
        <div class="container">
            <div class="row justify-content-center align-items-center min-vh-100">
                <div class="col-lg-6 col-md-8">
                    <div class="mhq-login-wrapper bg-white wow fadeInUp" data-wow-delay=".3s">
                        <div class="mhq-login-header text-center mb-4">
                            <?php $siteName = site_name(); ?>
                            <a href="<?php echo e(route('home')); ?>" class="login-logo mb-3">
                                <img src="<?php echo e(branding_asset(['dark_logo_path', 'logos.secondary', 'primary_logo_path', 'logos.primary'], 'assets/front/img/logo/black-logo.svg')); ?>" alt="<?php echo e($siteName); ?> logo">
                            </a>
                            <h2 class="wow fadeInUp" data-wow-delay=".2s"><?php echo e(__('auth.welcome_back')); ?></h2>
                            <p class="wow fadeInUp" data-wow-delay=".3s"><?php echo e(__('auth.sign_in_subtitle')); ?></p>
                        </div>

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



                            <div class="row">
                                <div class="col-12 wow fadeInUp" data-wow-delay=".4s">
                                    <div class="form-clt">
                                        <input type="email" name="email" id="email" value="<?php echo e(old('email')); ?>"
                                            placeholder="<?php echo e(__('auth.your_email')); ?>" class="<?php $__errorArgs = ['email'];
$__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); ?>" required
                                            autocomplete="email" autofocus>
                                    </div>
                                    <?php $__errorArgs = ['email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                        <div class="invalid-feedback d-block mt-2"><?php echo e($message); ?></div>
                                    <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                </div>

                                <div class="col-12 wow fadeInUp" data-wow-delay=".5s">
                                    <div class="form-clt position-relative">
                                        <input type="password" name="password" id="password" placeholder="<?php echo e(__('auth.your_password')); ?>"
                                            class="<?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); ?>" required
                                            autocomplete="current-password">
                                        <span class="toggle-password position-absolute">
                                            <i class="fa-regular fa-eye" id="togglePassword"></i>
                                        </span>
                                    </div>
                                    <?php $__errorArgs = ['password'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                        <div class="invalid-feedback d-block mt-2"><?php echo e($message); ?></div>
                                    <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                </div>
                            </div>

                            <div class="d-flex justify-content-between align-items-center mb-4 wow fadeInUp"
                                data-wow-delay=".6s">
                                <div class="form-check">
                                    <input class="form-check-input" type="checkbox" name="remember" id="remember">
                                    <label class="form-check-label" for="remember">
                                        <?php echo e(__('auth.remember_me')); ?>

                                    </label>
                                </div>
                                <a href="<?php echo e(route('password.request')); ?>" class="text-primary"><?php echo e(__('auth.forgot_password')); ?></a>
                            </div>

                            <?php if (isset($component)) { $__componentOriginald5fddbcdc4d3817a38f27d03ddc4cc63 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginald5fddbcdc4d3817a38f27d03ddc4cc63 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.recaptcha-widget','data' => ['class' => 'mb-4 wow fadeInUp','dataWowDelay' => '.65s','action' => 'login']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('recaptcha-widget'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['class' => 'mb-4 wow fadeInUp','data-wow-delay' => '.65s','action' => 'login']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginald5fddbcdc4d3817a38f27d03ddc4cc63)): ?>
<?php $attributes = $__attributesOriginald5fddbcdc4d3817a38f27d03ddc4cc63; ?>
<?php unset($__attributesOriginald5fddbcdc4d3817a38f27d03ddc4cc63); ?>
<?php endif; ?>
<?php if (isset($__componentOriginald5fddbcdc4d3817a38f27d03ddc4cc63)): ?>
<?php $component = $__componentOriginald5fddbcdc4d3817a38f27d03ddc4cc63; ?>
<?php unset($__componentOriginald5fddbcdc4d3817a38f27d03ddc4cc63); ?>
<?php endif; ?>

                            <button type="submit" class="theme-btn w-100 mb-3 wow fadeInUp" data-wow-delay=".7s"
                                id="loginSubmitBtn">
                                <?php echo e(__('auth.sign_in')); ?>

                                <i class="fa-solid fa-arrow-up-right"></i>
                            </button>

                            <div class="text-center wow fadeInUp" data-wow-delay=".8s">
                                <p class="mb-0">
                                    <?php echo e(__('auth.dont_have_account')); ?>

                                    <a href="<?php echo e(route('register')); ?>" class="text-primary fw-bold"><?php echo e(__('auth.create_account')); ?></a>
                                </p>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <?php $__env->startPush('scripts'); ?>
        <script>
            document.addEventListener('DOMContentLoaded', function () {
                const togglePassword = document.getElementById('togglePassword');
                const password = document.getElementById('password');
                const loginForm = document.querySelector('.mhq-login-form');
                const submitBtn = document.getElementById('loginSubmitBtn');

                if (togglePassword) {
                    togglePassword.addEventListener('click', function () {
                        const type = password.getAttribute('type') === 'password' ? 'text' : 'password';
                        password.setAttribute('type', type);
                        this.classList.toggle('fa-eye');
                        this.classList.toggle('fa-eye-slash');
                    });
                }

                if (loginForm && submitBtn) {
                    loginForm.addEventListener('submit', function () {
                        submitBtn.disabled = true;
                        submitBtn.innerHTML = '<?php echo e(__('auth.signing_in')); ?> <i class="fa fa-spinner fa-spin"></i>';
                    });
                }
            });
        </script>
    <?php $__env->stopPush(); ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /Users/mahmudul/Codecanyone/edu_ex_full/Eduex_laravel/resources/views/auth/login.blade.php ENDPATH**/ ?>