<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title><?php echo e(config('app.name', 'Laravel')); ?></title>
    <link rel="icon" type="image/x-icon" href="<?php echo e(getSingleMedia(appSettingData('get'),'site_favicon',null)); ?>">
    <link rel="stylesheet" href="<?php echo e(asset('frontend-website/assets/css/style.css')); ?>">
    <link rel="stylesheet" href="<?php echo e(asset('vendor/@fortawesome/fontawesome-free/css/all.min.css')); ?>"/>
    <link href="<?php echo e(asset('frontend-website/assets/css/bootstrap.min.css')); ?>" rel="stylesheet">
</head>

<body>

    <div class="container-fluid">
        <div class="row">
            <div class="col-lg-6 col-md-6">
                <div class="d-flex justify-content-center align-items-center admin-login-container">
                    <img src="<?php echo e(getSingleMediaSettingImage(getSettingFirstData('app_content','app_logo_image'),'app_logo_image')); ?>" class="rounded-circle p-3 admin-logo-img" width="100">
                </div>
                <div class="mt-3 offset-lg-2 offset-md-1 offset-sm-2 mb-3">
                    <h2><?php echo e(__('message.login')); ?></h2>
                    <p class="mb-1 mt-3"><?php echo e(__('message.welcome_to')); ?>

                        <?php echo e(SettingData('app_content', 'app_name')); ?><span> 🛵</span></p>
                    <p class="admin-p"><?php echo e(__('message.Please_enter_your_login_credentials')); ?></p>
                    <!-- Session Status -->
                    <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.auth-session-status','data' => ['class' => 'mb-4','status' => session('status')]]); ?>
<?php $component->withName('auth-session-status'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['class' => 'mb-4','status' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(session('status'))]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>

                    <!-- Validation Errors -->
                    <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.auth-validation-errors','data' => ['class' => 'mb-4','errors' => $errors]]); ?>
<?php $component->withName('auth-validation-errors'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['class' => 'mb-4','errors' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($errors)]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>
                </div>
                <div class="offset-lg-2 offset-md-1 offset-sm-2 mt-5">
                    <form method="POST" action="<?php echo e(route('login')); ?>" data-toggle="validator">
                        <input type="hidden" name="admin_login" value="admin_login">
                        <?php echo e(csrf_field()); ?>

                        <div class="mb-3 row">
                            <label for="exampleInputEmail1"
                                class="col-form-label admin-email-label"><?php echo e(__('message.email')); ?></label>
                            <div class="col">
                                <input type="email" class="form-control adminlogin-form" id="exampleInputEmail1"
                                    aria-describedby="emailHelp" name="email" value="<?php echo e(old('email')); ?>"
                                    placeholder="admin@example.com" required autofocus>
                            </div>
                        </div>
                        <div class="mb-1 row">
                            <label for="exampleInputPassword1"
                                class="col-form-label admin-pwd-label"><?php echo e(__('message.password')); ?></label>
                            <div class="col password-container">
                                <input type="password" name="password" placeholder="********" required
                                    autocomplete="current-password" class="form-control password  admin-pwd-input"
                                    id="exampleInputPassword1">
                                <i class="toggle-password fas fa-eye-slash forgot-togglePassword"></i>
                            </div>
                        </div>
                        <div class="mb-3 row forgot-link-row">
                            <div class="col offset-2 d-flex justify-content-end">
                                <a href="<?php echo e(route('auth.recover-password')); ?>" data-bs-toggle="modal"
                                    data-bs-target="#forgotModal"
                                    class="text-decoration-none forgot-link"><?php echo e(__('message.forgot_password')); ?></a>
                            </div>
                        </div>
                        <div class="mb-3 row admin-login-row">
                            <div class="col offset-2 d-flex justify-content-end mt-4">
                                <button type="submit"
                                    class="btn text-white fw-bold admin-login-btn"><?php echo e(__('message.login')); ?></button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>

            <div class="col-lg-6 col-md-6 vh-100 login-carousel">
                <div id="carouselExampleCaptions" class="carousel slide login-carousel-slide" data-bs-ride="carousel">
                    <div class="carousel-inner">
                        <?php $__currentLoopData = $walkthrough_data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <div class="carousel-item <?php echo e($key === 0 ? 'active' : ''); ?>">
                                <?php if($item->getFirstMedia('frontend_data_image')): ?>
                                    <img src="<?php echo e($item->getFirstMedia('frontend_data_image')->getUrl()); ?>"
                                        alt="slider" class="d-block mx-auto w-75">
                                <?php endif; ?>
                                <div class="text-center text-white">
                                    <h5 class="admin-title"><?php echo e($item->title); ?></h5>
                                    <p><?php echo e($item->description); ?></p>
                                </div>
                            </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </div>
                    <?php if(count($walkthrough_data) > 1): ?>
                        <button class="carousel-control-prev d-flex align-items-end" type="button"
                            data-bs-target="#carouselExampleCaptions" data-bs-slide="prev">
                            <span class="carousel-control-prev-icon" aria-hidden="true"></span>
                            <span class="visually-hidden"><?php echo e(__('message.previous')); ?></span>
                        </button>
                        <button class="carousel-control-next d-flex  align-items-end" type="button"
                            data-bs-target="#carouselExampleCaptions" data-bs-slide="next">
                            <span class="carousel-control-next-icon" aria-hidden="true"></span>
                            <span class="visually-hidden"><?php echo e(__('message.next')); ?></span>
                        </button>
                    <?php endif; ?>
                </div>
            </div>

        </div>
    </div>

    <!-- START FORGOT PASSWORD MODAL -->
    <div class="modal fade " id="forgotModal" tabindex="-1" aria-labelledby="forgotModalModalLabel" aria-hidden="true"
        data-bs-backdrop="static">
        <div class="modal-dialog modal-dialog-centered">
            <div class="modal-content forgotModal-modalcontent">
                <div class="modal-header border-bottom-0">
                    <div>
                        <h5 class="modal-title mb-0 fw-bold forgot-pwd-h5" id="forgotModalModalLabel">
                            <?php echo e(__('message.forgot_password')); ?></h5>
                        <p class="mt-2 mb-0 forgot-pwd-p"><?php echo e(__('message.reset_your_password_and_regain_access_with_ease')); ?></p>
                    </div>
                    <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                </div>
                <div class="modal-body forgotModal-modalbody">
                    <form method="POST" action="<?php echo e(route('password.email')); ?>">
                        <?php echo e(csrf_field()); ?>

                        <div class="mb-3">
                            <label for="email"
                                class="col-form-label forgot-email-label"><?php echo e(__('message.email')); ?></label>
                            <input type="email" name="email" class="form-control forgotModal-form"
                                id="email">
                        </div>
                        <div class="row justify-content-end">
                            <div class="col-auto">
                                <button class="btn mt-2 forgot-cancle-btn" data-bs-dismiss="modal"
                                    aria-label="Close"><?php echo e(__('message.cancel')); ?></button>
                            </div>
                            <div class="col-auto admin-forgot-btn">
                                <button type="submit"
                                    class="btn text-white mt-2 fw-bold forgot-submit-btn"><?php echo e(__('message.submit')); ?></button>
                            </div>
                        </div>
                    </form>

                </div>
            </div>
        </div>
    </div>
    <!-- END FORGOT PASSWORD MODAL -->

    <script src="<?php echo e(asset('frontend-website/assets/js/jquery.min.js')); ?>"></script>
    <script src="<?php echo e(asset('frontend-website/assets/js/popper.min.js')); ?>"></script>
    <script src="<?php echo e(asset('frontend-website/assets/js/bootstrap.min.js')); ?>"></script>

    <script>
        const togglePasswords = document.querySelectorAll('.forgot-togglePassword');
        const passwords = document.querySelectorAll('.password');

        togglePasswords.forEach((toggle, index) => {
            toggle.addEventListener('click', function() {
                const type = passwords[index].getAttribute('type') === 'password' ? 'text' : 'password';
                passwords[index].setAttribute('type', type);

                this.classList.toggle('fa-eye-slash');
                this.classList.toggle('fa-eye');
            });
        });
    </script>
</body>

</html>
<?php /**PATH /www/wwwroot/mxunzo.atharvatek.com/resources/views/frontend-website/admin/login.blade.php ENDPATH**/ ?>