@import "../../../utils/theme/colorVariable.scss";
.search-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
}
.mat-button.mat-primary {
  background-color: #3f51b5 !important;
  color: #fff;
  margin-left: 15px;
}
.inputsearch {
  min-width: 200px;
}
.bulk-btn {
  button {
    &:first-child {
      margin-right: 10px;
    }
  }
}

.formwrapper2 {
  > div {
    margin: 15px 0;
  }
  input,
  select {
    background: #1a1e47;
    border: 1px solid #595690;
    border-radius: 4px;
    padding: 10px;
    width: 100%;
    color: #a099da;
  }
  .w-50 {
    width: 50%;
  }
  select {
    width: 100%;
    option {
      color: #fff;
    }
  }
  textarea {
    width: calc(100% - 20px);
  }
  .select-box {
    span {
      right: 15px;
    }
  }
}

.table {
  margin-top: 20px;
  border: 1px solid #363a6e;
  border-radius: 5px;
  .table-head {
    display: flex;
    background: #2b2b5d;
    border-bottom: 1px solid #363a6e;
    .question-div {
      width: 20%;
      border-right: 1px solid #363a6e;
      padding: 10px;
      span {
        color: #7d79b6;
      }
    }
    .feedback-div,
    .allquestion-div {
      width: 40%;
      padding: 10px;
      span {
        color: #7d79b6;
        padding-left: 10px;
        font-weight: 500;
      }
    }
  }
  .table-body {
    .question-rows {
      display: flex;
      border-bottom: 1px solid #363a6e;
      &:last-child {
        border-bottom: none;
      }
      .question-div {
        width: 20%;
        border-right: 1px solid #363a6e;
        padding: 10px;
        span {
          font-size: 14px;
          font-weight: 400;
          letter-spacing: 0.5px;
          color: #d7779b;
          margin: 0;
          padding: 10px;
          display: block;
        }
      }
      .d-flex {
        display: flex;
        align-items: center;
      }
      .feedback-div,
      .allquestion-div {
        width: 40%;
        padding: 10px;
        span {
          color: #7d79b6;
          padding: 10px;
          display: block;
        }
      }
      .allquestion-div {
        textarea {
          background: #1a1e47;
          border: 1px solid #595690;
          border-radius: 4px;
          padding: 10px;
          width: calc(100% - 20px);
          height: calc(100% - 20px);
          color: #a099da;
          resize: vertical;
          font-family: sans-serif;
          font-size: 14px;
          scrollbar-width: thin;
          scrollbar-color: #343560 #090f2f;
        }
        select {
          background: #1a1e47;
          border: 1px solid #595690;
          border-radius: 4px;
          padding: 10px;
          width: 100%;
          color: #a099da;
        }
      }
    }
  }
}
::ng-deep tr.mat-header-row th {
  &:first-child {
    width: 42px;
  }
  &:nth-child(2) {
    width: 140px;
  }
  &:nth-child(3) {
    width: 130px;
  }
  &:nth-child(4) {
    width: 160px;
  }
  &:nth-child(5) {
    width: 130px;
  }
  &:last-child {
    width: 50px;
  }
}
.changeFeedback {
  border: 1px solid #d7779b;
  border-bottom: 1px solid #d7779b !important;
}
::ng-deep tr td.mat-cell {
  &:first-child {
    width: 42px;
  }
  &:nth-child(2) {
    width: 140px;
  }
  &:nth-child(3) {
    width: 130px;
  }
  &:nth-child(4) {
    width: 160px;
  }
  &:nth-child(5) {
    width: 130px;
  }
  &:last-child {
    width: 50px;
  }
}

@media only screen and (max-width: 767px) {
  .search-wrap {
    input {
      width: 100%;
      margin: 0 0 10px 0;
    }
    .bulk-btn {
      display: flex;
      justify-content: space-between;
      width: 100%;
      button {
        &:first-child {
          margin-right: 10px;
        }
      }
    }
  }
}
::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;
  }
}
