Response from server: <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login</title>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="bg-gray-100 flex items-center justify-center h-screen">
<!-- Login Form -->
<div class="bg-white p-8 rounded-lg shadow-md w-full max-w-md">
<h1 class="text-2xl font-semibold text-gray-800 mb-6 text-center">Login to Your Account</h1>
<!-- Django Auth Form -->
<form method="POST" action="/login/">
<input type="hidden" name="csrfmiddlewaretoken" value="GaO3GQ5R2NZT7AP6lLOnZt3vyXIYmyWAUYgzwgmISgRmA2o24YPIMN5pGRD4dVG7">
<!-- Username Input -->
<div class="mb-4">
<label for="username" class="block text-gray-700 font-medium mb-2">Username</label>
<input
type="text"
id="username"
name="username"
class="w-full border-gray-300 rounded-lg shadow-sm focus:ring-blue-500 focus:border-blue-500"
placeholder="Enter your username"
required
/>
</div>
<!-- Password Input -->
<div class="mb-4">
<label for="password" class="block text-gray-700 font-medium mb-2">Password</label>
<input
type="password"
id="password"
name="password"
class="w-full border-gray-300 rounded-lg shadow-sm focus:ring-blue-500 focus:border-blue-500"
placeholder="Enter your password"
required
/>
</div>
<!-- Error Message -->
<!-- Resend Verification Link -->
<!-- Submit Button -->
<div class="flex justify-center">
<button type="submit" class="bg-blue-500 text-white py-2 px-4 rounded-lg hover:bg-blue-600 w-full">
Login
</button>
</div>
</form>
<!-- Password Reset Link -->
<div class="mt-4 text-center text-gray-600 text-sm">
<a href="/password-reset/" class="text-blue-500 hover:underline">
Forgot your password?
</a>
</div>
<!-- Footer -->
<div class="mt-4 text-center text-gray-600 text-sm">
Don't have an account? <a href="/register/" class="text-blue-500 hover:underline">Sign up</a>
</div>
</div>
</body>
</html>