.listWrap {
  padding: 32px;
  background-color: #fff;
  border-radius: 20px;
}

.searchList {
  .searchInput {
    max-width: 260px;
  }

  // .CDatePickerItem {
  //   :global {
  //     .n-input {
  //       width: 303px;
  //     }
  //   }
  // }

  :global {
    .n-form.n-form--inline {
      flex-wrap: wrap;
    }

    .n-form.n-form--inline .n-form-item {
      margin-right: 18px;
    }

    // .n-form-item-blank>div {
    //   .n-select {
    //     min-width: 150px !important;
    //     width: 150px !important;
    //   }
    // }
  }
}

.infoListWrap {
  min-height: calc(100vh - 150px) !important
}

.addBtnIcon {
  width: 13Px !important;
  height: 14Px !important;
}

.addBtn {
  margin-bottom: 30px;
  background: #198cfe !important;
  border-radius: 7Px !important;
  padding: 0 18Px !important;
  font-weight: 600 !important;
}

.btnGroup {
  padding: 40px 0;

  :global {
    .n-button {
      height: 47px;
      min-width: 156px;
    }
  }
}

.addClass {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 50px;
}

.listWrap {
  min-height: 100%;
  padding: 32px;
  background-color: #fff;
  border-radius: 20px;

}

.workVisiable {
  width: 1420px;

  :global {
    .c-cascaderPopover {
      width: 320px !important;
    }
  }
}

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

  .workTrain {
    flex: 1;
    height: 75vh;

    &>div {
      padding-top: 15px;
    }
  }

  :global {
    .train-container {
      // max-height: calc(var(--window-page-lesson-height) - 135px) !important;
      max-height: calc(var(--window-page-lesson-height) - 100px) !important;

      .train-listSection {
        min-height: calc(var(--window-page-lesson-height) - 100px) !important;
      }
    }
  }

  .resourceMain {
    flex: 0 0 360px;
    width: 360px;
    height: 75vh;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
  }
}

.removeVisiable {
  width: 432px;

  :global {
    .n-card-header {
      font-size: max(22px, 16Px);
    }
  }

  .studentRemove {
    padding: 0 40px;

    p {
      font-size: max(18px, 14Px);
      color: #777777;
      line-height: 30px;

      span {
        color: #EA4132;
      }
    }
  }

  .btnGroup {
    padding: 32px 0;

    :global {
      .n-button {
        height: 47px;
        min-width: 156px;
      }
    }
  }
}

.listSection {
  padding: 0 0 12px;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  gap: 20px 2%;

  &>div {
    width: 49% !important;
  }
}

.theTooltip {
  max-width: 650px !important;
}

.item {
  cursor: pointer;
  background: #F4F7FD;
  border-radius: 13px;
  padding: 0 17px 17px;
  position: relative;
  display: flex;
  flex-direction: column;

  .header {
    display: flex;
    align-items: center;
    padding: 13px 0;

    .navatar {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      padding: 2px;
      border: 1px solid #198CFE;
      margin-right: 15px;
      flex-shrink: 0;
      background-color: #fff !important;

      :global {
        img {
          border-radius: 50%;
        }
      }
    }

    .userInfo {
      padding-top: 4px;
      flex: 1;

      h2 {
        font-size: max(17px, 14Px);
        font-weight: 600;
        color: #131415;
        line-height: 28px;
      }

      p {
        font-size: max(16px, 12Px);
        color: #777777;
        line-height: 28px;
      }
    }

    .ing,
    .over {
      position: absolute;
      top: 0;
      right: 0;
      width: 121px;
      height: 38px;
      display: inline-block;
    }

    .ing {
      background: url('./images/icon-ing.png') no-repeat center;
      background-size: contain;
    }

    .over {
      background: url('./images/icon-over.png') no-repeat center;
      background-size: contain;
    }
  }

  .content {
    // display: flex;
    // justify-content: space-between;
    // align-items: flex-end;
    flex: 1;
    padding: 13px;
    background: #FFFFFF;
    border-radius: 10px;

    .homeTitle {
      font-size: max(17px, 14Px);
      font-family: PingFangSC, PingFang SC;
      font-weight: 600;
      color: #000000;
      padding-bottom: 5px;
      display: flex;
      align-items: center;
      justify-content: space-between;

      :global {
        .n-space {
          flex-shrink: 0;
        }
      }

      &>p {
        display: flex;
        align-items: center;
      }

      .CLASSWORK,
      .HOMEWORK {
        padding: 2px 8px 1px;
        border-radius: 4px;
        font-size: max(13px, 11Px);
        line-height: 18px;
        margin-right: 7px;
      }

      .CLASSWORK {
        color: #E24F4F;
        background: #FFD2D2;
      }

      .HOMEWORK {
        color: #3F8ADF;
        background: #D2E9FF;

      }
    }

    .homeContent {
      padding-bottom: 5px;
    }

    .homeworkText {
      display: flex;
      align-items: flex-start;

      .pSection {
        max-width: 650px;
      }

      .p1,
      .p2 {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      .p1::before,
      .p2::before {
        content: '';
        display: inline-block;
        width: 5px;
        height: 5px;
        background: #198CFE;
        margin-right: 7px;
        border-radius: 50%;
        flex-shrink: 0;
        transform: translateY(-3px);
      }

      .p1 {
        padding-bottom: 6px;
      }

      .p2::before {
        background: #F44040;
      }
    }

    .title {
      font-size: max(13px, 12Px);
      color: #777777;
      flex-shrink: 0;
    }

    .text {
      font-size: max(13px, 12Px);
      font-weight: 500;
      color: #333333;
      line-height: 22px;

      :global {
        .showContentWidthWrap {
          max-width: 100% !important;
          display: inline;
        }
      }
    }

    .errorBtn {
      // min-width: 93px;
      // height: 30px;
      --n-height: 24px !important;
      // background: #F94D50;
      // border-radius: 7px;
      --n-font-size: max(15px, 13Px);
      font-weight: 500 !important;
      // color: #FFFFFF;
      line-height: 18px;
    }
  }
}
