<div *ngIf="visible">
  <div class="darker-background"></div>

  <mat-card>
    <mat-card-header>
      <mat-card-title>Confirmation</mat-card-title>
    </mat-card-header>
    <mat-card-content>
      {{message}}
    </mat-card-content>
    <mat-card-actions>
      <button mat-raised-button color="primary" (click)="emitCancel()">Annuler</button>
      <button mat-raised-button color="accent" (click)="emitConfirm()">Confirmer</button>
    </mat-card-actions>
  </mat-card>
</div>
