<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  <title>Transaction Successful</title>
  <style>
    body {
      margin: 0;
      font-family: 'Segoe UI', sans-serif;
      background: #f4f8fb;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
    }

    .success-card {
      background: #fff;
      padding: 40px 30px;
      border-radius: 16px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
      text-align: center;
      max-width: 400px;
      width: 90%;
      animation: fadeInUp 0.5s ease;
    }

    .checkmark {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      display: inline-block;
      border: 4px solid #2ecc71;
      position: relative;
      margin-bottom: 20px;
    }

    .checkmark::after {
      content: '';
      position: absolute;
      left: 22px;
      top: 14px;
      width: 22px;
      height: 40px;
      border-right: 4px solid #2ecc71;
      border-bottom: 4px solid #2ecc71;
      transform: rotate(45deg);
      animation: checkmark 0.4s ease forwards;
    }

    h1 {
      font-size: 1.8em;
      color: #2ecc71;
      margin: 0 0 10px;
    }

    p {
      font-size: 1em;
      color: #555;
      margin: 0 0 20px;
    }

    .btn {
      padding: 12px 24px;
      border: none;
      background-color: #2ecc71;
      color: white;
      font-size: 1em;
      border-radius: 8px;
      cursor: pointer;
      transition: background 0.3s ease;
      text-decoration: none;
    }

    .btn:hover {
      background-color: #27ae60;
    }

    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes checkmark {
      0% {
        height: 0;
        width: 0;
      }
      100% {
        height: 40px;
        width: 22px;
      }
    }
  </style>
</head>
<body>

<div class="success-card">
  <div class="checkmark"></div>
  <h1>Transaction Successful</h1>
  <p>Your withdrawal has been submitted successfully <br>Pending Authorization.</p>
  <a href="index.php" class="btn">Return to Dashboard</a>
</div>

</body>
</html>
