<div class="flex flex-col justify-center items-center px-6 pt-8 mx-auto md:h-screen pt:mt-0">
    <a href="" class="flex justify-center items-center mb-8 text-2xl font-semibold lg:mb-10">
        <img src="/images/logo.svg" class="mr-4 h-10">
        <span class="self-center text-2xl font-bold whitespace-nowrap">School Management System</span>
    </a>
    <!-- Card -->
    <div class="p-10 w-full max-w-lg bg-white rounded-2xl shadow-xl shadow-gray-300">
        <div class="space-y-8">
            <?php if(session('error')): ?>
            <div class="bg-red-100 border border-red-400 text-red-700 px-2 rounded relative" role="alert">
                <span class="block sm:inline"><?php echo e(session('error')); ?></span>
            </div>
            <?php endif; ?>
            <h2 class="text-2xl font-bold text-gray-900">
                Admin Login
            </h2>
            <form class="mt-8 space-y-6" action="<?php echo e(route('admin.loginCheck')); ?>" method="post">
                <?php echo csrf_field(); ?>
                <div>
                    <label for="username" class="block mb-2 text-sm font-medium text-gray-900">Admin ID</label>
                    <input type="text" name="username" class="border border-gray-300 text-gray-900 sm:text-sm rounded-lg focus:ring-2 focus:ring-fuchsia-50 focus:border-fuchsia-300 block w-full p-2.5" placeholder="username">
                    <?php $__errorArgs = ['username'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                    <span class="text-red-500 text-xs"><?php echo e($message); ?></span>
                    <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                </div>
                <div>
                    <label for="password" class="block mb-2 text-sm font-medium text-gray-900">Password</label>
                    <input type="password" name="password" id="password" placeholder="••••••••" class="border border-gray-300 text-gray-900 sm:text-sm rounded-lg focus:ring-2 focus:ring-fuchsia-50 focus:border-fuchsia-300 block w-full p-2.5">
                    <?php $__errorArgs = ['password'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                    <span class="text-red-500 text-xs"><?php echo e($message); ?></span>
                    <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                </div>
                <div class="flex items-start">
                    <div class="flex items-center h-5">
                        <input id="remember" aria-describedby="remember" name="remember" type="checkbox" class="w-5 h-5  rounded border-gray-300 focus:outline-none focus:ring-0 checked:bg-dark-900">
                    </div>
                    <div class="ml-3 text-sm">
                        <label for="remember" class="font-medium text-gray-900">Remember me</label>
                    </div>

                </div>
                <button type="submit" class="py-3 px-5 w-full text-base font-medium text-center text-white bg-green-500 hover:scale-[1.02] shadow-md shadow-gray-300 transition-transform rounded-lg sm:w-auto">Login</button>
            </form>
        </div>
    </div>
</div><?php /**PATH /home/lyon/sch/schm-master/resources/views/livewire/admin/auth/login.blade.php ENDPATH**/ ?>