<!DOCTYPE html>
<html>
 <!---include head---->

 <link rel="stylesheet" href="<?php echo e(asset('assets/css/login.min.css')); ?>">
  <link rel="stylesheet" type="text/css" href="<?php echo e(asset('assets/css/font.css')); ?>">
 <!---include head---->
 <style>
    .text-danger {
        color: red; 
        margin-top: 0.25rem;
        font-size: 0.875rem; 
        }
</style>
 <body>
    <div class="container">
      
        <div class="glass">
        <div class="logo mb-4">
            <h2 style="text-align:center; color:white;">Super Admin</h2>
                    <img class="logo-sff mt-mb-cst" src="<?php echo e(asset('assets/images/FullLogo.svg')); ?>" alt="Brand Logo">
                </div>
            <div class="form-container">
                
                <div class="tabs">
                    <button class="tab active" id="loginTab">Login</button>
                    
                </div>
               
                <form action="<?php echo e(route('admin.storelogin')); ?>" class="mt-mb-cst" method="POST" enctype="multipart/form-data" >
                <?php echo csrf_field(); ?>
                <div class="form-group">
                    <input type="email" id="email" name="email" placeholder="Enter Email Id" 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]); ?>
                        <div class="text-danger mt-1"><?php echo e($message); ?></div>
                    <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                </div>
                <!-- Password Input Field with Toggle Button -->
                <div class="form-group password-container">
                    <input type="password" id="password" name="password" placeholder="Enter Password" class="form-control">
                    <button type="button" id="togglePassword">
                        <i class="fas fa-eye"></i>
                    </button>
                    <?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="text-danger mt-1"><?php echo e($message); ?></div>
                    <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                </div>
         
                   <div class="button-submit">
                        <button type="submit" id="submit-button" class="btn btn-primary w-100">
                            <span id="button-text">Sign In</span>
                            <span id="loading-spinner" style="display: none;">
                                <i class="fa fa-spinner fa-spin"></i> Signing in...
                            </span>
                        </button>
                   </div>
                </form>
            </div>
        </div>
    </div>
    <script>
      
        document.getElementById('togglePassword').addEventListener('click', function() {
            const passwordField = document.getElementById('password');
            const type = passwordField.getAttribute('type') === 'password' ? 'text' : 'password';
            passwordField.setAttribute('type', type);
            this.innerHTML = this.innerHTML === '<i class="fas fa-eye"></i>' ? '<i class="fas fa-eye-slash"></i>' : '<i class="fas fa-eye"></i>';
        });

        
    </script>
     <script>
        document.querySelector('form').addEventListener('submit', function(event) {
        
            document.getElementById('loading-spinner').style.display = 'inline-block';
            document.getElementById('button-text').style.display = 'none';
            document.getElementById('submit-button').disabled = true;
        });
</script>
</body>
</html><?php /**PATH /home/pragyadbtechserv/public_html/church-admin/resources/views/admin/login.blade.php ENDPATH**/ ?>