@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 {
  select {
    width: 100%;
    option {
      color: #000000;
    }
  }
  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 #000000;
        border-radius: 4px;
        width: 47%;
        .select-box {
          input {
            border: none;
            text-align: center;
          }
        }
        span {
          background: #fafafa;
          padding: 7px 32px;
          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;
            text-align: center;
          }
        }
        span {
          background: #fafafa;
          padding: 7px 28px;
          border-top-right-radius: 4px;
          border-bottom-right-radius: 4px;
          color: $popupText;
        }
      }
    }
  }
}

.modal-body {
  .mat-row {
    transition: all 0.5s;
    &:hover {
      border-color: #9645c4;
    }
    &:hover td.mat-cell {
      border-color: #9645c4;
      border-left-color: #9645c4 !important;
      border-right-color: #9645c4 !important;
    }
  }
  tr.mat-header-row {
    background: #2a2a5b;
    height: 50px;
  }
  tr.mat-header-row th:first-child {
    // border: 1px solid #2f3464;
    border-right: none;
  }
  tr.mat-header-row th {
    // border-top: 1px solid #2f3464;
    border-bottom: 1px solid #2f3464;
  }
  tr.mat-header-row th {
    // border-top: 1px solid #2f3464;
    border-bottom: 1px solid #2f3464;
  }
  tr td.mat-cell:first-child {
    border-left: 1px solid #303563;
    background: #1a1f47;
  }
  tr td.mat-cell {
    background: #1a1f47;
    // border-top: 1px solid #303563;
    border-bottom: 1px solid #303563;
    padding: auto !important;
  }
  tr td.mat-cell:last-child {
    border-right: 1px solid #303563;
  }
  .pagesection {
    border-top: 1px solid #000000;
    padding-top: 20px;
    margin-top: 30px;
    .search-wrap {
      .search-icon {
        width: 50%;
        margin: 0;
        input {
          background: $searchBg;
          border: 1px solid $searchBorder;
          padding: 10px 40px 10px 20px;
          margin: 10px 0;
          width: calc(100% - 60px);
          color: $searchText;
        }
        span {
          right: 10px;
          top: 16px;
        }
      }
    }
  }
  .mat-paginator {
    background: none;
  }
}
::ng-deep tr.mat-header-row th {
  &:first-child {
    width: 50px;
  }
  &:nth-child(2) {
    width: 150px;
  }
  &:nth-child(3) {
    width: 200px;
  }
  &:nth-child(4) {
    width: 170px;
  }
  &:nth-child(5) {
    width: 130px;
  }
  &:last-child {
    width: 50px;
  }
}
::ng-deep tr td.mat-cell {
  &:first-child {
    width: 50px;
  }
  &:nth-child(2) {
    width: 150px;
  }
  &:nth-child(3) {
    width: 200px;
  }
  &:nth-child(4) {
    width: 170px;
  }
  &:nth-child(5) {
    width: 130px;
  }
  &: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;
  }
}
