<?php
$umi_id = $_GET['umi_id'] ?? '';
?>
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>Payment Cancelled</title>
  <meta name="viewport" content="width=device-width,initial-scale=1">
  <style>
    body{
      font-family:Arial,Helvetica,sans-serif;
      background:#f5f7fb;
      padding:20px;
      margin:0;
      /*display: flex;*/
      align-items: center;
      justify-content: center;
      min-height: 100vh;
    }
    .card{
      max-width:600px;
      background:#fff;
      padding:40px;
      border-radius:8px;
      border:1px solid #e1e5ea;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
      text-align: center;
    }
    .cancel-icon{
      width: 80px;
      height: 80px;
      background: #ffc107;
      border-radius: 50%;
      margin: 0 auto 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 48px;
      color: white;
    }
    h1{
      color: #333;
      margin-bottom: 10px;
    }
    p{
      /*color: #666;*/
      line-height: 1.6;
      margin: 10px 0;
    }
    .btn{
      display: inline-block;
      background: #635bff;
      color: white;
      padding: 12px 30px;
      border-radius: 6px;
      text-decoration: none;
      margin-top: 20px;
      font-weight: 600;
    }
    .btn:hover{
      background: #4f46e5;
    }
  </style>
</head>
<body>
    
    <!--==============================================header========================================================-->

        <?php include 'includes/header.php'; ?>

    <!--==============================================header========================================================-->
    <br>
    <br>
    <br>
   <section> 
  <div class="card">
    <div class="cancel-icon">✕</div>
    <h1>Payment Cancelled</h1>
    <p>Your payment was cancelled. No charges have been made.</p>
    <p>If you experienced any issues, please try again or contact support.</p>
    
    <?php if ($umi_id): ?>
    <a href="paypalpay.php?umi_id=<?php echo htmlspecialchars($umi_id); ?>" class="btn">Try Again</a>
    <?php endif; ?>
  </div>
  
          <div class="text-center mt-6 text-sm" bis_skin_checked="1" style="background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1)); color: #fff; padding: 20px;">
            <p>Copyright © 2025 RSIS International</p>
        </div>
        </section>

</body>
</html>