<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Login - Instafix24</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://unpkg.com/lucide@latest"></script>
</head>
<body class="bg-gray-100 flex items-center justify-center h-screen font-sans">
    
    <div class="bg-white p-8 rounded-3xl shadow-xl w-full max-w-md border border-gray-100">
        <div class="text-center mb-8">
            <div class="inline-flex items-center justify-center w-16 h-16 rounded-full bg-green-50 mb-4">
                <i data-lucide="zap" class="text-[#109E38] w-8 h-8"></i>
            </div>
            <h2 class="text-2xl font-black text-gray-900">Welcome Back</h2>
            <p class="text-sm font-bold text-gray-500 mt-1">Login to Instafix24 Partner App</p>
        </div>

        <form action="/dummy-login" method="POST" class="space-y-5">
            @csrf 
            
            <div>
                <label class="text-xs font-black text-gray-500 uppercase tracking-wide">Phone Number</label>
                <input type="tel" name="phone" placeholder="Enter 10 digit number" required class="w-full mt-1 border-2 border-gray-200 rounded-xl px-4 py-3 text-sm font-bold focus:border-[#109E38] outline-none transition-colors" />
            </div>
            
            <div>
                <label class="text-xs font-black text-gray-500 uppercase tracking-wide">Password</label>
                <input type="password" name="password" placeholder="••••••••" required class="w-full mt-1 border-2 border-gray-200 rounded-xl px-4 py-3 text-sm font-bold focus:border-[#109E38] outline-none transition-colors" />
            </div>

            <button type="submit" class="w-full h-12 bg-[#109E38] hover:bg-green-700 text-white font-black rounded-xl shadow-md transition-transform hover:scale-105 flex items-center justify-center gap-2">
                <span>Login Securely</span>
                <i data-lucide="arrow-right" class="w-4 h-4"></i>
            </button>
        </form>

        <div class="mt-8 text-center">
            <p class="text-sm font-bold text-gray-500">Don't have an account? <a href="/signup" class="text-[#109E38] hover:underline">Create one</a></p>
            <p class="text-sm font-bold text-gray-500 mt-2"><a href="/admin" class="text-blue-500 hover:underline">Go to Admin Panel</a></p>
        </div>
    </div>

    <script>
        lucide.createIcons();
    </script>
</body>
</html>