.knowledgeLibrary {
  min-height: 100vh;
  background: url('./images/bg.png') no-repeat top center;
  background-size: contain;
  position: relative;

  .wroingBtn {
    display: flex;
    align-items: center;
    height: 24px;
    background: #FFFFFF;
    border-radius: 12px;
    font-size: 14px;
    color: #0E71BC;
    padding: 0 8px;

    .iconWroing {
      width: 14px;
      height: 14px;
      background: url('./images/icon-wroing-question.png') no-repeat center;
      background-size: contain;
      display: inline-block;
    }
  }

  .iconExamQuestion {
    position: absolute;
    right: 0;
    bottom: 20vh;
    z-index: 99;
    width: 66px;
    height: 66px;
  }
}

.btnGroup {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0 20px;

  .btnPractice,
  .btnTest {
    display: inline-block;
    width: 139px;
    height: 49px;
    border: none
  }

  .btnPractice {
    background: url('./images/btn-practice.png') no-repeat center;
    background-size: contain;
  }

  .btnTest {
    margin-left: 17px;
    background: url('./images/btn-test.png') no-repeat center;
    background-size: contain;
  }
}

.containerSection {
  background: #87D1F0;
  border-radius: 20px 20px 0px 0px;
  padding: 15px;

  &.librarySection {
    min-height: calc(100vh - var(--header-height) - 129px);
  }

  &.woringSection {
    min-height: calc(100vh - var(--header-height) - 60px);
    margin-top: 60px;

    .woringContent {
      min-height: calc(100vh - var(--header-height) - 90px);
      border-radius: 20px;
      overflow: hidden;
      background-color: #fff;
      padding: 15px;
    }
  }

  :global {
    .van-collapse {
      border-radius: 20px;
      overflow: hidden;
    }

    .van-cell {
      padding: 16px 15px;
    }

    .van-collapse-item__content {
      padding: 0 15px 12px;
    }

    .van-cell__title {
      display: flex;
      align-items: center;
      font-size: 17px;
      font-weight: 600;
      color: #333333;

      &::before {
        content: ' ';
        display: inline-block;
        width: 4px;
        height: 14px;
        border-radius: 2px;
        margin-right: 6px;
        background: linear-gradient(to bottom, #259CFE, #3FC2FF);
      }

      span {
        max-width: 200px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
    }
  }

  .unitItem {
    position: relative;
    max-height: 154px;

    &+.unitItem {
      margin-top: 12px;
    }

    .name {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 2;
      font-size: 16px;
      font-weight: bold;
      color: #781714;
      line-height: 19px;
      display: flex;
      align-items: center;
      justify-content: center;

      span {
        max-width: 70%;
        text-align: center;
      }
    }
  }

  .unitImg {
    width: 100%;
    max-height: 154px;
  }
}