<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Refund Menu</title>
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
  <link rel="stylesheet" href="refund.css">
</head>
<body>
  <div id="refundMenu" class="hidden">
    <div class="menu">
      <div class="menu-header">
        <h2>Refund Menu</h2>
      </div>

      <div class="section">
        <label for="playerInput">Speler License (identifier)</label>
        <input type="text" id="playerInput" placeholder="Enter player identifier">
      </div>

      <div class="section">
        <h3>Items</h3>
        <table id="itemTable">
          <thead>
            <tr>
              <th>Item Naam</th>
              <th>Aantal</th>
              <th>Actie</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td><input type="text" placeholder="Item naam" class="itemName"></td>
              <td><input type="number" placeholder="0" class="itemAmount"></td>
              <td><button class="removeRow">✕</button></td>
            </tr>
          </tbody>
        </table>
        <button id="addItem">+ Voeg Item</button>
      </div>

      <div class="section">
        <label for="refundReason">Reden voor de refund</label>
        <textarea id="refundReason" placeholder="Vul een reden in om de refund uit te schrijven"></textarea>
      </div>

      <div class="buttons">
        <button id="saveChanges">Schrijf uit</button>
        <button id="cancel">Annuleer</button>
      </div>

      <div class="footer">
        <p>Powered by Matrix</p>
      </div>
    </div>
  </div>

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