@import "../../../utils/theme/colorVariable.scss";
.search-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.mat-button.mat-primary {
  background-color: #3f51b5 !important;
  color: #fff;
  margin-left: 15px;
}

.inputsearch {
  min-width: 200px;
}
mat-icon {
  cursor: pointer;
}
.loading {
  font-size: 20px;
  color: white;
}

.formwrapper {
  div {
    input {
      width: calc(100% - 20px);
    }
  }
  select {
    width: 100%;
    option {
      color: #000;
    }
  }
  ng-select {
    width: 100%;
  }
  .select-box {
    span {
      right: 15px;
    }
  }
  .date-select {
    width: 100%;
    .date-time {
      width: 100%;
      display: flex;
      justify-content: space-between;
      .hr-select {
        display: flex;
        border: 1px solid $popupBorder;
        border-radius: 4px;
        width: 47%;
        .select-box {
          input {
            border: none;
          }
          select {
            background: none;
            padding: 7px 10px !important;
            border: none;
            option {
              color: #000;
            }
          }
        }
        span {
          background: $popupBg;
          padding: 7px 10px;
          border-top-right-radius: 4px;
          border-bottom-right-radius: 4px;
          color: $popupText;
        }
      }
      .min-select {
        display: flex;
        border: 1px solid $popupBorder;
        border-radius: 4px;
        width: 47%;
        .select-box {
          input {
            border: none;
          }
          select {
            background: none;
            padding: 7px 10px !important;
            border: none;
            option {
              color: #000;
            }
          }
        }
        span {
          background: $popupBg;
          padding: 7px 10px;
          border-top-right-radius: 4px;
          border-bottom-right-radius: 4px;
          color: $popupText;
        }
      }
    }
  }
}
.mt-0 {
  margin-top: 0;
}
.pagesection-inside {
  border-top: 1px solid $popupBorder;
  padding-top: 20px;
  margin-top: 30px;
  .search-wrap {
    .search-icon {
      width: 50%;
      margin: 0;
      input {
        background: $popupBg;
        border: 1px solid $popupBorder;
        padding: 10px 40px 10px 20px;
        border-radius: 30px;
        margin: 10px 0;
        width: calc(100% - 60px);
        color: $popupText;
      }
      span {
        right: 10px;
        top: 16px;
      }
    }
  }
}
::ng-deep tr.mat-header-row th {
  &:first-child {
    width: 42px;
  }
  &:nth-child(2) {
    width: 140px;
  }
  &:nth-child(3) {
    width: 200px;
  }
  &:nth-child(4) {
    width: 100px;
  }
  &:nth-child(5) {
    width: 100px;
  }
  &:nth-child(6) {
    width: 100px;
  }
  &:last-child {
    width: 50px;
  }
}
::ng-deep tr td.mat-cell {
  &:first-child {
    width: 42px;
  }
  &:nth-child(2) {
    width: 140px;
  }
  &:nth-child(3) {
    width: 200px;
  }
  &:nth-child(4) {
    width: 100px;
  }
  &:nth-child(5) {
    width: 100px;
  }
  &:nth-child(6) {
    width: 100px;
  }
  &:last-child {
    width: 50px;
  }
}

::ng-deep .mat-paginator-container {
  padding: 0 !important;
  display: flex !important;
  justify-content: space-between !important;
  .mat-icon-button {
    background: $paginationBtnBg !important;
    border-radius: 5px !important;
    border: 1px solid $paginationBtnBorder !important;
    margin: 0 5px !important;
    cursor: pointer;
    color: $paginationBtnText !important;

    &:hover {
      border: 1px solid $PaginationBtnHover !important;
      color: $PaginationBtnHover !important;
    }
  }

  .mat-paginator-page-size-label {
    color: $paginationText !important;
    font-size: 14px !important;
  }

  .mat-paginator-range-label {
    color: $Pink;
    width: 140px;
    font-size: 14px !important;
  }
}
