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

<?php $__env->startSection('content'); ?>
    <h1>Log in</h1>
    <form method="POST" action="<?php echo e(route('login')); ?>">
        <?php echo csrf_field(); ?>
        <div class="form-group">
            <label for="email">Email</label>
            <input id="email" class="form-control" type="email" name="email" value="<?php echo e(old('email')); ?>" required autofocus autocomplete="username">
            <?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="error-text"><?php echo e($message); ?></div><?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </div>
        <div class="form-group">
            <label for="password">Password</label>
            <input id="password" class="form-control" type="password" name="password" required autocomplete="current-password">
        </div>
        <div class="form-group flex gap" style="align-items:center">
            <input id="remember" type="checkbox" name="remember">
            <label for="remember" style="margin:0">Remember me</label>
        </div>
        <div class="flex-between">
            <a href="<?php echo e(route('password.request')); ?>" style="font-size:0.85rem">Forgot password?</a>
            <button type="submit" class="btn btn-primary">Log in</button>
        </div>
        <p class="mt-1" style="font-size:0.875rem;color:var(--muted)">No account? <a href="<?php echo e(route('register')); ?>">Register</a></p>
    </form>
<?php $__env->stopSection(); ?>

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