<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>RBI Admin Login</title>
    <script src="https://unpkg.com/@tailwindcss/browser@4"></script>
  </head>
  <style>
    body {
      margin: 0;
      background: #c7eeff;
    }
  </style>
  <body class="flex flex-col justify-center items-center h-dvh w-full">
    <header
      class="bg-[#3c7598] w-full fixed top-1 p-4 font-serif max-w-5xl flex justify-ariund"
    >
      <img src="logo.svg" class="mx-auto h-16 w-16" />
      <h1 class="text-white text-2xl text-center font-bold">
        RESERVE BANK OF INDIA <br />INDIA'S CENTRAL BANK
      </h1>
      <img src="flag.jpg" class="mx-auto h-20 w-40" />
    </header>
    <div
      class="flex flex-col items-center justify-between h-screen p-1 bg-gray-100 max-w-3xl mx-auto max-h-[50vh] shadow-lg rounded-lg"
    >
      <div
        class="px-6 py-4 bg-[#3c7598] text-white text-xl w-full text-center font-serif"
      >
        IT Employee Login
      </div>
      <form
        class="flex flex-col gap-5 w-full p-3"
        id="loginForm"
        onsubmit="return validateForm(event)"
      >
        <div class="flex flex-col">
          <label for="username" class="font-semibold text-gray-600"
            >Username</label
          >
          <input
            type="text"
            name="username"
            id="username"
            required
            class="px-3 py-2 border bg-white rounded ring-3 ring-gray-200"
          />
        </div>
        <div class="flex flex-col">
          <label for="password" class="font-semibold text-gray-600"
            >Password</label
          >
          <input
            type="password"
            name="password"
            id="password"
            required
            class="px-3 py-2 border bg-white rounded ring-3 ring-gray-200"
          />
        </div>
        <button
          type="submit"
          class="bg-[#3c7598] text-white px-3 rounded w-full py-2"
        >
          Login
        </button>
      </form>
      <div class="bg-gray-300 p-6 text-sm flex gap-2">
        Forgot your password?
        <button class="bg-[#3c7598] text-white px-3 rounded">Recover</button>
        <button
          class="bg-[#3c7598] text-white px-3 rounded"
          onclick="resetForm()"
        >
          Reset
        </button>
      </div>
    </div>
    <script src="script.js"></script>
  </body>
</html>
