<!DOCTYPE html>
<html lang="id">
<head>
  <meta charset="UTF-8">
  <title>PENGAMBILAN SERTIFIKAT KULIAH UMUM</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <!-- Bootstrap CSS untuk tampilan yang rapih -->
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
  <style>
    body {
      background: linear-gradient(135deg, #ece9e6, #ffffff);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: 20px;
    }
    .container {
      text-align: center;
      max-width: 600px;
      background: white;
      padding: 30px;
      border-radius: 15px;
      box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    }
    .logo {
      max-width: 150px;
      margin-bottom: 20px;
    }
    h1 {
      font-size: 28px;
      font-weight: bold;
      color: #333;
    }
    .btn-custom {
      padding: 15px 25px;
      font-size: 1.2rem;
      border-radius: 5px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .btn-custom:hover {
      transform: scale(1.05);
      box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    }
  </style>
</head>
<body>

  <div class="container">
    <!-- Logo -->
    <img src="logo.png" alt="Logo STT IKSM Santosa Asih" class="logo img-fluid">

    <!-- Judul -->
    <h1>AMBIL SERTIFIKAT ANDA</h1>

    <!-- Form Pencarian -->
    <form action="generate_pdf.php" method="GET">
      <div class="mb-3">
        <label for="nama" class="form-label">Cari Nama Peserta</label>
        <input type="text" name="nama" id="nama" class="form-control" placeholder="Masukkan sebagian atau keseluruhan nama peserta" required>
      </div>
      <button type="submit" class="btn btn-primary btn-custom">Generate PDF</button>
    </form>
  </div>

  <!-- Bootstrap Bundle with Popper -->
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>
