<?php $__env->startSection('title', 'Login'); ?>
<?php $__env->startSection('content'); ?>
<div class="auth-card">
    <div class="auth-logo">
        <div class="logo">E</div>
        <h1>EduSmart SMS</h1>
        <p>School Management System</p>
    </div>

    <?php if($errors->any()): ?>
        <div class="alert alert-danger"><?php echo e($errors->first()); ?></div>
    <?php endif; ?>

    <form method="POST" action="<?php echo e(route('login.post')); ?>">
        <?php echo csrf_field(); ?>
        <div class="form-group">
            <label>Email Address</label>
            <div class="input-wrap">
                <i class="bi bi-envelope"></i>
                <input type="email" name="email" value="<?php echo e(old('email')); ?>" placeholder="admin@school.ac.ke" required autofocus>
            </div>
        </div>
        <div class="form-group">
            <label>Password</label>
            <div class="input-wrap">
                <i class="bi bi-lock"></i>
                <input type="password" name="password" placeholder="••••••••" required minlength="8">
            </div>
        </div>
        <div class="form-check">
            <input type="checkbox" name="remember" id="remember">
            <label for="remember">Remember me</label>
        </div>
        <button type="submit" class="btn-login">Sign In</button>
    </form>
</div>
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css" rel="stylesheet">
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.auth', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\xampp\htdocs\cbe\resources\views\auth\login.blade.php ENDPATH**/ ?>