.listContainer {
  margin: 10px 0;
  max-height: calc(var(--window-page-lesson-height) - 204px);
  // overflow-x: auto;

  &.listNoMusic {
    max-height: calc(var(--window-page-lesson-height) - 150px);

    .listSection {
      min-height: calc(var(--window-page-lesson-height) - 150px);
    }
  }

  .listSection {
    min-height: calc(var(--window-page-lesson-height) - 204px);
  }



  .emptySection {
    display: flex;
    align-items: center;
  }

  .list {
    padding: 10px 0;
    text-align: center;

    &>div {
      margin-bottom: 20px;

      &:last-child {
        margin-bottom: 0;
      }
    }
  }
}

.trainEditModal {
  width: 494px;
}

.itemModal {
  display: flex;
  align-items: center;
  margin: 0 17px 20px;

  .itemCover {
    position: relative;
    width: 118px;
    height: 66px;
    margin-right: 10px;
    border-radius: 12px;
    border: 1px solid #EFF0F2;
    overflow: hidden;

    :global {
      .n-image {
        width: 118px;
        height: 66px;
      }
    }

    img {
      width: 100%;
      height: 100%;
    }

    &:hover {
      .function {
        opacity: 1;
        transition: opacity 0.2s ease;
      }
    }
  }

  .function {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .3);
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    opacity: 0;
    transition: opacity 0.2s ease;

    .iconLook,
    .iconAdd {
      cursor: pointer;
      width: 27px;
      height: 27px;
      border-radius: 50%;
      background: rgba(0, 0, 0, .4);
      display: flex;
      align-items: center;
      justify-content: center;

    }

    .iconLook {
      &::before {
        display: inline-block;
        content: '';
        width: 15px;
        height: 15px;
        background: url('../../../../images/icon-look.png') no-repeat center;
        background-size: contain;
      }
    }


    .iconAdd {
      &::before {
        display: inline-block;
        content: '';
        width: 12px;
        height: 12px;
        background: url('../../../../images/icon-add.png') no-repeat center;
        background-size: contain;
      }
    }
  }

  .itemContent {
    max-width: 158px;
    text-align: left;

    .itemTitle {
      font-weight: 600;
      font-size: 12Px;
      color: #000000;
      line-height: 17px;

      &:hover {
        color: #1677FF;
        cursor: pointer;
      }
    }

    .itemSubject {
      padding-top: 7px;
      width: 100%;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      font-size: 11Px;
      color: #777777;
      line-height: 15px;
    }
  }
}