<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Admin Login - <?php echo e(\App\Models\Setting::val('site_name', 'Admin Panel')); ?></title>
    <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <style>
        body { font-family: 'Poppins', sans-serif; background: #0f172a; min-height: 100vh; display: flex; align-items: center; justify-content: center; }
        .login-card { background: #1e293b; border-radius: 20px; padding: 40px; width: 100%; max-width: 420px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); border: 1px solid #334155; }
        .brand-logo { text-align: center; margin-bottom: 30px; }
        .brand-logo h2 { color: #fff; font-weight: 700; font-size: 28px; }
        .brand-logo span { color: #3b82f6; }
        .form-control { background: #0f172a; border: 1px solid #334155; color: #fff; padding: 12px 15px; border-radius: 10px; }
        .form-control:focus { background: #0f172a; border-color: #3b82f6; color: #fff; box-shadow: none; }
        .form-label { color: #94a3b8; font-size: 14px; font-weight: 500; }
        .btn-primary { background: #3b82f6; border: none; padding: 12px; border-radius: 10px; font-weight: 600; width: 100%; margin-top: 10px; }
        .btn-primary:hover { background: #2563eb; }
    </style>
</head>
<body>

    <div class="login-card">
        <div class="brand-logo">
            <h2><span>Admin</span> <?php echo e(\App\Models\Setting::val('site_name', 'Panel')); ?></h2>
            <p class="text-muted small">Secure Access Only</p>
        </div>

        <?php if(session('error')): ?>
            <div class="alert alert-danger p-2 small rounded"><?php echo e(session('error')); ?></div>
        <?php endif; ?>

        <form action="<?php echo e(route('admin.login.post')); ?>" method="POST">
            <?php echo csrf_field(); ?>
            <div class="mb-3">
                <label class="form-label"><i class="fas fa-user text-primary me-2"></i>Username</label>
                <input type="text" name="username" class="form-control" placeholder="Admin Username" required>
            </div>
            
            <div class="mb-4">
                <label class="form-label"><i class="fas fa-lock text-primary me-2"></i>Password</label>
                <input type="password" name="password" class="form-control" placeholder="••••••••" required>
            </div>

            <button type="submit" class="btn btn-primary">
                Login to Dashboard <i class="fas fa-arrow-right ms-2"></i>
            </button>
        </form>
    </div>

</body>
</html>
<?php /**PATH /home/anstserv/shop.bd1b.com/resources/views/admin/auth/login.blade.php ENDPATH**/ ?>