<section class="search-employee">
  <main>
    <h1 class="bold">Search for employees</h1>
    <div class="search mt-2 gap-5" fxLayout="row" fxLayoutAlign="start center">
      <input class="input-search" type="text" placeholder="Search..." />
      <button class="filter">Filter</button>
    </div>
  </main>

  <table mat-table [dataSource]="dataSource" class="mat-elevation-z8 mt-3">
    <ng-container matColumnDef="user">
      <th mat-header-cell *matHeaderCellDef>User</th>
      <td mat-cell *matCellDef="let element">
        <div fxLayout="row" fxLayoutAlign="start center" class="gap-10 ptb-10">
          <img [src]="element.user.img" alt="" title="" />
          <div>
            <span class="span bold d-block ptr">{{ element.user.name }}</span>
            <span class="span gray d-block">{{ element.user.position }}</span>
            <span class="span gray d-block">{{ element.user.email }}</span>
          </div>
        </div>
      </td>
    </ng-container>

    <ng-container matColumnDef="status">
      <th mat-header-cell *matHeaderCellDef>Status</th>
      <td mat-cell *matCellDef="let element">{{ element.status }}</td>
    </ng-container>

    <ng-container matColumnDef="industry">
      <th mat-header-cell *matHeaderCellDef>Industry</th>
      <td mat-cell *matCellDef="let element">{{ element.industry }}</td>
    </ng-container>

    <ng-container matColumnDef="country">
      <th mat-header-cell *matHeaderCellDef>Country</th>
      <td mat-cell *matCellDef="let element">
        <span>{{ element.country }}</span>
      </td>
    </ng-container>

    <ng-container matColumnDef="company">
      <th mat-header-cell *matHeaderCellDef>Company Name</th>
      <td mat-cell *matCellDef="let element">
        <span>{{ element.company }}</span>
      </td>
    </ng-container>

    <tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
    <tr mat-row *matRowDef="let row; columns: displayedColumns"></tr>
  </table>
  <app-pagenation></app-pagenation>
</section>
