

<?php $__env->startSection('title', 'Login'); ?>

<?php $__env->startSection('content'); ?>
    <div class="auth-card">
        <div class="auth-card-header">
            <h1 class="auth-title">Welcome back</h1>
            <p class="auth-subtitle">Enter your credentials to access your account</p>
        </div>

        <?php if(session('error')): ?>
            <?php if (isset($component)) { $__componentOriginalaaaa43f3131e74c9e05cf94572c12d21 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalaaaa43f3131e74c9e05cf94572c12d21 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'eliteadmin::components.alert','data' => ['type' => 'danger','message' => session('error'),'class' => 'mb-3']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('eliteadmin::alert'); ?>
<?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(['type' => 'danger','message' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(session('error')),'class' => 'mb-3']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalaaaa43f3131e74c9e05cf94572c12d21)): ?>
<?php $attributes = $__attributesOriginalaaaa43f3131e74c9e05cf94572c12d21; ?>
<?php unset($__attributesOriginalaaaa43f3131e74c9e05cf94572c12d21); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalaaaa43f3131e74c9e05cf94572c12d21)): ?>
<?php $component = $__componentOriginalaaaa43f3131e74c9e05cf94572c12d21; ?>
<?php unset($__componentOriginalaaaa43f3131e74c9e05cf94572c12d21); ?>
<?php endif; ?>
        <?php endif; ?>

        <?php if($errors->any()): ?>
            <?php if (isset($component)) { $__componentOriginalaaaa43f3131e74c9e05cf94572c12d21 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalaaaa43f3131e74c9e05cf94572c12d21 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'eliteadmin::components.alert','data' => ['type' => 'danger','dismissible' => false,'class' => 'mb-3']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('eliteadmin::alert'); ?>
<?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(['type' => 'danger','dismissible' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(false),'class' => 'mb-3']); ?>
                <?php echo e($errors->first()); ?>

             <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalaaaa43f3131e74c9e05cf94572c12d21)): ?>
<?php $attributes = $__attributesOriginalaaaa43f3131e74c9e05cf94572c12d21; ?>
<?php unset($__attributesOriginalaaaa43f3131e74c9e05cf94572c12d21); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalaaaa43f3131e74c9e05cf94572c12d21)): ?>
<?php $component = $__componentOriginalaaaa43f3131e74c9e05cf94572c12d21; ?>
<?php unset($__componentOriginalaaaa43f3131e74c9e05cf94572c12d21); ?>
<?php endif; ?>
        <?php endif; ?>

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

            <div class="form-group">
                <label for="email" class="form-label">Email address</label>
                <input type="email" class="form-control <?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); ?>" id="email" name="email"
                       value="<?php echo e(old('email')); ?>" placeholder="name@example.com" required autofocus>
                <?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"><?php echo e($message); ?></div><?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
            </div>

            <div class="form-group">
                <div class="d-flex justify-content-between align-items-center">
                    <label for="password" class="form-label">Password</label>
                    <?php if(Route::has('password.request')): ?>
                        <a href="<?php echo e(route('password.request')); ?>" class="auth-link small">Forgot password?</a>
                    <?php endif; ?>
                </div>
                <div class="input-group">
                    <input type="password" class="form-control <?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); ?>" id="password"
                           name="password" placeholder="Enter your password" required>
                    <button class="btn btn-outline-secondary" type="button" data-toggle-password>
                        <i class="bi bi-eye"></i>
                    </button>
                </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"><?php echo e($message); ?></div><?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
            </div>

            <div class="form-check">
                <input class="form-check-input" type="checkbox" id="remember" name="remember" <?php if(old('remember')): echo 'checked'; endif; ?>>
                <label class="form-check-label" for="remember">Remember me</label>
            </div>

            <button type="submit" class="btn btn-primary btn-block">Sign in</button>
        </form>

        <?php if($registrationEnabled ?? false): ?>
            <p class="auth-footer-text mt-3 mb-0">
                Don't have an account?
                <a href="<?php echo e(route('register')); ?>" class="auth-link">Register as customer</a>
            </p>
        <?php endif; ?>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('eliteadmin::layouts.auth', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH D:\RABI\rabi\module-laravel-platform\apps\admin\resources\views/auth/login.blade.php ENDPATH**/ ?>