<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  <title>Flowpesa — Withdraw</title>
  <link rel="stylesheet" href="css/style.css">
</head>
<body class="dashboard">

  <!-- HEADER -->
  <header class="top-bar">
    <h2>Withdraw Money</h2>
    <a href="dashboard.html" class="back-link">← Back</a>
  </header>

  <!-- WITHDRAW CARD -->
  <div class="balance-card">
    <p class="label">Amount</p>
    <input
      type="number"
      id="amount"
      placeholder="Enter amount (UGX)"
      class="amount-input"
    />

    <p class="label">Withdraw to</p>
    <select id="method" class="method-select">
      <option value="">Select destination</option>
      <option value="mtn">MTN Mobile Money</option>
      <option value="airtel">Airtel Money</option>
      <option value="bank">Bank Account</option>
    </select>

    <button class="btn-primary" onclick="requestWithdraw()">
      Request Withdraw
    </button>
  </div>

  <!-- INFO -->
  <div class="info-card">
    <p>
      Withdrawals are processed securely. Funds may take a few minutes to arrive.
    </p>
  </div>

<script src="js/withdraw.js"></script>
</body>
</html>
