@use 'apps/dashboard/src/variables' as *;

.table-pagination {
  align-items: center;
  display: flex;
  gap: rhythm(2);
  width: 100%;

  .counter {
    display: flex;
    gap: rhythm(1);
  }

  .filtered {
    color: $color-neutral-regular;
  }

  .download {
    margin-left: auto;
    margin-right: rhythm(2);
  }

  .page-size {
    align-items: center;
    display: flex;
    gap: rhythm(2);
  }

  .pages {
    align-items: center;
    display: flex;

    pa-button:first-child ::ng-deep .pa-button {
      border-top-right-radius: 0;
      border-bottom-right-radius: 0;
      border-right: none;
    }
    pa-button:last-child ::ng-deep .pa-button {
      border-top-left-radius: 0;
      border-bottom-left-radius: 0;
    }
    pa-button:not(:first-child):not(:last-child) ::ng-deep .pa-button {
      border-radius: 0;
      border-right: none;
    }
  }
}
