<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Withdraw</title>
  <style>
    :root {
      --bg:#0b0b0e;
      --card:#16161b;
      --soft:#1d1d24;
      --text:#e9e9ef;
      --muted:#a7a7b3;
      --gold:#d9b872;
      --gold-2:#f5d293;
      --radius:14px;
    }
    body {
      margin:0;
      font-family:"Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
      background:var(--bg);
      color:var(--text);
    }
    .page {
      max-width:480px;
      margin:0 auto;
      padding:20px;
    }

    /* Header */
    .header {
      display:flex;
      align-items:center;
      gap:12px;
      margin-bottom:20px;
    }
    .header i {
      cursor:pointer;
      font-size:20px;
      color:var(--gold);
    }
    .header h1 {
      font-size:18px;
      font-weight:600;
      color:var(--gold-2);
      margin:0;
    }

    /* Form */
    form {
      background:var(--card);
      padding:20px;
      border-radius:var(--radius);
      box-shadow:0 6px 18px rgba(0,0,0,.35);
    }
    .form-group {
      margin-bottom:18px;
    }
    label {
      display:block;
      font-weight:600;
      margin-bottom:6px;
      color:var(--gold);
      font-size:14px;
    }
    input {
      width:100%;
      padding:12px;
      border-radius:8px;
      border:1px solid #333;
      background:var(--soft);
      color:var(--text);
      font-size:15px;
      transition:border .3s, box-shadow .3s;
    }
    input:focus {
      border-color:var(--gold);
      outline:none;
      box-shadow:0 0 0 2px rgba(217,184,114,.3);
    }

    /* Button */
    .btn {
      width:100%;
      padding:14px;
      border:none;
      border-radius:var(--radius);
      font-size:16px;
      font-weight:700;
      cursor:pointer;
      background:linear-gradient(90deg,var(--gold),var(--gold-2));
      color:#1c1c1c;
      transition:transform .2s;
    }
    .btn:hover {
      transform:translateY(-2px);
    }
  </style>
</head>
<body>
  <div class="page">
    <!-- Header -->
    <div class="header">
      <i onclick="window.history.back()">←</i>
      <h1>Withdraw</h1>
    </div>

    <!-- Withdraw Form -->
    <form action="<?php echo e(route('user.withdraw.request')); ?>" method="POST">
      <?php echo csrf_field(); ?>
      <div class="form-group">
        <label>Bank Name</label>
        <input type="text" value="<?php echo e(user()->gateway_method); ?>" readonly>
      </div>

      <div class="form-group">
        <label>Withdraw Amount</label>
        <input type="number" name="amount" step="any" placeholder="Minimum: R100 | Maximum: R25 000" required>
      </div>

      <div class="form-group">
        <label>Bank Account Number</label>
        <input type="text" value="<?php echo e(user()->gateway_number); ?>" readonly>
      </div>

      <button type="submit" class="btn">Submit</button>
    </form>
  </div>

  <?php echo $__env->make('partials.preloader', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</body>
</html>
<?php /**PATH /home/ddmkeqvc/public_html/resources/views/app/main/withdraw/index.blade.php ENDPATH**/ ?>