<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Admin Login - Academia</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet">
    <style>
        body { font-family: 'Inter', sans-serif; }
    </style>
</head>
<body class="bg-slate-50 flex items-center justify-center min-h-screen p-6">
    <div class="max-w-md w-full bg-white rounded-3xl shadow-xl p-10">
        <div class="text-center mb-10">
            <div class="w-16 h-16 bg-indigo-600 rounded-2xl flex items-center justify-center text-white mx-auto mb-6">
                <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path></svg>
            </div>
            <h1 class="text-3xl font-extrabold text-slate-900">Super Admin</h1>
            <p class="text-slate-500 mt-2">Sign in to manage your platform</p>
        </div>

        <?php if($errors->any()): ?>
            <div class="bg-red-50 text-red-600 p-4 rounded-xl mb-6 text-sm">
                <?php echo e($errors->first()); ?>

            </div>
        <?php endif; ?>

        <form action="<?php echo e(route('admin.login.post')); ?>" method="POST" class="space-y-6">
            <?php echo csrf_field(); ?>
            <div class="space-y-2">
                <label class="text-sm font-bold text-slate-700">Email Address</label>
                <input type="email" name="email" required placeholder="admin@academia.com" class="w-full px-6 py-4 rounded-xl border border-slate-200 focus:ring-4 focus:ring-indigo-500/10 outline-none transition-all">
            </div>
            <div class="space-y-2">
                <label class="text-sm font-bold text-slate-700">Password</label>
                <input type="password" name="password" required placeholder="••••••••" class="w-full px-6 py-4 rounded-xl border border-slate-200 focus:ring-4 focus:ring-indigo-500/10 outline-none transition-all">
            </div>
            <button type="submit" class="w-full bg-indigo-600 text-white font-bold py-4 rounded-xl hover:bg-indigo-700 shadow-lg transition-all">Sign In</button>
        </form>
    </div>
</body>
</html>
<?php /**PATH /Applications/MAMP/htdocs/comp/resources/views/admin/login.blade.php ENDPATH**/ ?>