<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Admin Login - <?php echo e(config('app.name')); ?></title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css" rel="stylesheet">
    <link rel="stylesheet" href="<?php echo e(asset('css/admin.css')); ?>">
    <style>
        .login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--skyline-ink); padding: 24px; }
        .login-card { width: 100%; max-width: 400px; }
        .login-brand { text-align: center; color: #fff; margin-bottom: 24px; }
        .login-brand i { color: var(--skyline-red); font-size: 2.4rem; }
        .login-brand h3 { margin-top: 8px; font-weight: 700; }
    </style>
</head>
<body class="login-page">
    <div class="login-card">
        <div class="login-brand">
            <i class="bi bi-tools"></i>
            <h3><?php echo e(config('app.name')); ?></h3>
            <p class="text-secondary mb-0">Admin Panel</p>
        </div>
        <div class="card shadow-sm">
            <div class="card-body p-4">
                <?php if(session('error')): ?>
                    <div class="alert alert-danger"><?php echo e(session('error')); ?></div>
                <?php endif; ?>
                <?php if($errors->any()): ?>
                    <div class="alert alert-danger">
                        <ul class="mb-0">
                            <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?><li><?php echo e($error); ?></li><?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </ul>
                    </div>
                <?php endif; ?>
                <form action="<?php echo e(route('admin.login.attempt')); ?>" method="POST">
                    <?php echo csrf_field(); ?>
                    <div class="mb-3">
                        <label class="form-label">Email address</label>
                        <div class="input-group">
                            <span class="input-group-text"><i class="bi bi-envelope"></i></span>
                            <input type="email" name="email" class="form-control" value="<?php echo e(old('email')); ?>" required autofocus>
                        </div>
                    </div>
                    <div class="mb-3">
                        <label class="form-label">Password</label>
                        <div class="input-group">
                            <span class="input-group-text"><i class="bi bi-lock"></i></span>
                            <input type="password" name="password" class="form-control" required>
                        </div>
                    </div>
                    <div class="form-check mb-3">
                        <input type="checkbox" class="form-check-input" id="remember" name="remember">
                        <label class="form-check-label" for="remember">Remember me</label>
                    </div>
                    <button type="submit" class="btn btn-primary w-100"><i class="bi bi-box-arrow-in-right me-1"></i> Sign In</button>
                </form>
            </div>
        </div>
        <p class="text-secondary text-center mt-3"><a href="<?php echo e(url('/')); ?>" class="text-decoration-none">&larr; Back to website</a></p>
    </div>
</body>
</html>
<?php /**PATH C:\xampp\htdocs\skyline\resources\views/auth/login.blade.php ENDPATH**/ ?>