<!-- ===================== PASSWORD TAB ===================== -->
<div class="tab-pane <?= (isset($_GET['tab']) && $_GET['tab'] == 'password') ? 'active' : '' ?>" id="tab-password">
  <div class="card" style="max-width:400px">
    <div class="card-header"><span class="card-title">Change Password</span></div>
    <div class="card-body">
      <form id="pwForm">
        <div class="form-group">
          <label class="form-label">Current Password</label>
          <input type="password" name="current_password" class="form-control" required>
        </div>
        <div class="form-group">
          <label class="form-label">New Password</label>
          <input type="password" name="new_password" class="form-control" required minlength="6">
        </div>
        <div class="form-group">
          <label class="form-label">Confirm New Password</label>
          <input type="password" name="confirm_password" class="form-control" required>
        </div>
        <button type="button" class="btn btn-primary" onclick="changePassword()">Update Password</button>
      </form>
    </div>
  </div>
