<h2 mat-dialog-title class="text-xl font-semibold">Guthaben aufladen</h2>
<mat-dialog-content>
  <form [formGroup]="form">
    <div *ngIf="errorMsg">
      {{ errorMsg }}
    </div>
    <div class="mb-2">
      <label for="amount">Betrag</label>
      <input
        type="number"
        id="amount"
        formControlName="amount"
        class="w-full px-2 py-1 bg-white text-black"
      />
    </div>
  </form>
</mat-dialog-content>
<mat-dialog-actions>
  <button mat-flat-button (click)="closeDialog()">Abbrechen</button>
  <button mat-flat-button (click)="submit()">Einzahlen</button>
</mat-dialog-actions>
