<!doctype html>
<html>
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>Login HyMoCare</title>
  <script src="https://cdn.tailwindcss.com"></script>
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
  <style>body{font-family:'Inter',sans-serif;}</style>
</head>

<div class="w-full max-w-md">
    <a href="index.php" class="inline-flex items-center text-sm text-gray-500 hover:text-blue-600 mb-8 transition">
      <svg class="w-4 h-4 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 19l-7-7m0 0l7-7m-7 7h18"/></svg>
      Kembali ke Beranda
    </a>
    
<body class="min-h-screen bg-gray-100 flex items-center justify-center p-4">
  <div class="bg-white shadow-lg rounded-2xl w-full max-w-md p-8">
    <h1 class="text-2xl font-bold text-center mb-1">Login HyMoCare</h1>
    <p class="text-center text-sm text-gray-600 mb-6">(Hypertension Mobile Care)</p>
        <form method="post" action="auth.php">
      <label class="block text-sm font-medium text-gray-700 mb-1">Username</label>
      <input type="text" name="bpjs" required class="w-full border rounded-lg p-3 mb-4" placeholder="Masukkan Username" />
      <label class="block text-sm font-medium text-gray-700 mb-1">Password</label>
      <input type="password" name="password" required class="w-full border rounded-lg p-3 mb-6" placeholder="Password" />
      <button class="w-full bg-blue-600 hover:bg-blue-700 text-white font-bold py-3 rounded-lg">Masuk</button>
    </form>
      <div class="mt-10 pt-8 border-t border-gray-100">
        <p class="text-center text-xs text-gray-400 leading-relaxed italic">
          Gunakan kredensial yang diberikan oleh administrator untuk mengakses dashboard medis.
        </p>
      </div>
    </div>
    

  </div>
</body>
</html>