.cloudPractice {
   display: flex;
   width: 100%;
   height: 100%;

   & > :deep(.elScrollbar) {
      .el-scrollbar__view {
         width: 100%;
         display: flex;
         padding: 50px 50px 0;
      }
      .el-scrollbar__wrap {
         overflow-x: hidden;
      }
   }
}

:global {
   .PopSelect, .PopSelectPart {
      width: 184px;
      background: #ffffff;
      box-shadow: 0px 2px 17px 0px rgba(0, 0, 0, 0.08);
      border-radius: 12px;
      --n-space-arrow: 12px !important;
      --n-option-height: 40px !important;

      .n-base-select-menu-option-wrapper {
         padding-top: 4px;
         padding-bottom: 4px;
      }
      .n-base-select-option:hover::before {
         background: #fff3d7 !important;
      }
      .n-base-select-option {
         font-size: 16px !important;
      }
      .n-base-select-option.n-base-select-option--selected {
         font-weight: 600;

         color: #994d1c;
      }
      .n-base-select-option::before {
         left: 6px;
         right: 6px;
      }
      .n-base-select-option.n-base-select-option--selected.n-base-select-option--pending::before {
         background-color: inherit;
      }
      .n-base-select-option .n-base-select-option__check {
         display: none;
      }

      .n-base-select-menu__empty {
         padding-top: 50px;
         padding-bottom: 50px;
      }
   }

   .PopSelectPart {
      width: 260px
   }
}
.leftContainer {
   flex-shrink: 0;
   margin-left: 60px;
   margin-top: 47px;
   width: 600px;
   // min-height: 729px;
   height: calc(100% - 47px - 50px);
   position: relative;
   background: linear-gradient(270deg, #fede94 0%, #ffe3a3 48%, #fede94 100%);
   border-radius: 36px;
   padding-top: 47px;

   &::before {
      content: "";
      width: 335px;
      height: 59px;
      background: url("@/img/cloudPractice/header-ring.png");
      background-size: contain;
      display: block;
      position: absolute;
      top: -30px;
      left: 50%;
      margin-left: -167.5px;
   }

   .details {
      position: relative;
      margin: 0 32px 32px;
      width: 536px;
      height: calc(100% - 36px);
      background: #ffffff;
      border-radius: 30px;
   }
   .leftSection {
      position: absolute;
      left: -49px;
      top: 21px;
      height: calc(100% - 42px);
      overflow-x: hidden;
      overflow-y: auto;

      &::-webkit-scrollbar {
         width: 4px;
         display: none;
      }
      .leftSection_item {
         padding-left: 10px;
         letter-spacing: 4px;
         width: 49px;
         height: 131px;
         background: url("@/img/cloudPractice/icon-left-default.png");
         background-size: contain;
         margin-bottom: 12px;
         display: flex;
         align-items: center;
         justify-content: center;
         writing-mode: vertical-lr;
         font-weight: 600;
         font-size: 20px;
         color: #ffffff;
         line-height: 24px;
         text-shadow: 0px 1px 1px #ffac2d;
         user-select: none;
         cursor: pointer;

         &:last-child {
            margin-bottom: 0;
         }
      }
      .leftSection_item__active {
         background: url("@/img/cloudPractice/icon-left-active.png");
         background-size: contain;
         color: #fe7846;
         text-shadow: none;
      }
   }

   .musicList {
      height: 100%;
      overflow-x: hidden;
      overflow-y: auto;
      display: flex;
      flex-direction: column;

      &::-webkit-scrollbar {
         width: 0;
         display: none;
      }
   }

   .searchHeader {
      position: sticky;
      top: 0;
      left: 0;
      z-index: 9;
      padding: 28px 0 15px;
      background-color: #fff;
      border-radius: 36px 36px 0 0;

      .categorySection {
         border-bottom: 1px solid #f2f2f2;
         padding: 0 20px 16px;
         margin-bottom: 18px;
      }
      .iconTagName {
         cursor: pointer;
         &::before {
            content: "";
            display: inline-block;
            margin-right: 8px;
            width: 22px;
            height: 22px;
            background: url("../../img/cloudPractice/icon-tag.png") no-repeat center;
            background-size: contain;
            // vertical-align: text-bottom;
         }
         font-weight: 600;
         font-size: 18px;
         color: #333333;
         line-height: 22px;
         height: 22px;
         display: flex;
         align-items: center;

         &::after {
            content: "";
            display: inline-block;
            margin-left: 8px;
            width: 12px;
            height: 12px;
            background: url("../../img/cloudPractice/icon-arrow-down.png") no-repeat center;
            background-size: contain;
         }

         &.show {
            &::after {
               transform: rotate(180deg);
            }
         }

         span {
            max-width: 440px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            display: inline-block;
         }
      }
   }

   .searchMore {
      display: flex;
      justify-content: space-between;
      padding: 0 20px;
   }

   .searchSection {
      gap: 0 16px;
      display: flex;
      margin-right: 16px;

      :global {
         .el-cascader .el-input .el-input__inner {
            color: #994d1c;
         }
      }
   }

   :global {
      .h_dictionary {
         flex: 1;
      }
      .h_dictionary .el-input__wrapper {
         background: #fff3d7;
         padding-left: 14px;
         padding-right: 7px;
         font-size: 16px;
         .el-input__icon {
            margin-left: 0;
            color: #994d1c;
         }
      }
      .el-cascader:not(.is-disabled):hover .el-input__wrapper {
         box-shadow: none;
      }

      .queryCp {
         margin: 12px 20px 0 !important;
         width: calc(100% - 40px) !important;
         // margin-top: 12px;
         background: #fff3d7 !important;
         .el-input__wrapper {
            background: #fff3d7 !important;
         }
      }
   }

   .btnSearch {
      flex-shrink: 0;
      width: 42px;
      height: 42px;
      background: url("@/img/cloudPractice/icon-search.png") no-repeat center;
      background-size: contain;
      cursor: pointer;

      &.btnSearchActive {
         opacity: 0.6;
      }
   }

   .wrapList {
      width: 100%;
      // min-width: 294px;
      min-height: 100%;
      padding: 0 20px;
      min-height: auto;
      flex: 1;
      // background: #fff;
      // border-radius: 16px;
      &.wrapListEmpty {
         display: flex;
         align-items: center;
         justify-content: center;
         min-height: auto;
         flex: 1;
         .empty {
            margin-top: -100px;
            --el-empty-image-width: 277px;
            :global {
               .el-empty__description p {
                  font-weight: 400;
                  font-size: 22px;
                  color: #aaaaaa;
               }
            }
         }
      }
      .item {
         position: relative;
         display: flex;
         align-items: center;
         justify-content: space-between;
         padding: 15px 10px 15px 26px;
         border-radius: 12px;

         cursor: pointer;

         &:hover {
            background: #fff3d7;
         }

         // &.active {
         //    background: #fff3d7;

         //    .arrow {
         //       opacity: 1;
         //    }
         // }

         .img {
            position: relative;
            width: 60px;
            height: 60px;
            border-radius: 16px;
            margin-right: 12px;
            overflow: hidden;
            flex-shrink: 0;
            :global {
               .n-image {
                  width: 60px;
                  height: 60px;
               }
            }

            img {
               transition: opacity 0.3s;
               opacity: 0;
               height: 100%;
               width: 100%;
               border-radius: 16px;
            }

            img[data-loaded="true"] {
               opacity: 1;
            }

            .showPlayLoading {
               opacity: 0;
            }
         }

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

         .titleName {
            font-weight: 600;
            font-size: 20px;
            color: #a15228;
            line-height: 28px;
            max-width: 270px;
            overflow: hidden;
         }

         .btn {
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 84px;
            height: 36px;
            background: linear-gradient(312deg, #ff9e49 0%, #ff531c 100%);
            border-radius: 18px;
            font-weight: 600;
            font-size: 16px;
            color: #ffffff;

            img {
               margin-left: 7px;
               width: 14px;
               height: 14px;
            }
         }
      }
   }

   .loadingWrap {
      display: flex;
      justify-content: center;
      min-height: 80px;

      &.showLoading {
         height: 0;
         opacity: 0;
         min-height: 0;
         display: none;
      }
   }
}

.rightContainer {
   flex: 1;
   background: #ffffff;
   border-radius: 36px;
   margin-left: 32px;
   margin-top: 47px;
   margin-right: 60px;
   margin-bottom: 50px;
   position: relative;
   display: flex;
   flex-direction: column;

   .leftArrow {
      position: absolute;
      top: 245px;
      left: -15px;
      display: inline-block;
      width: 32px;
      height: 32px;
      background: #ffffff;
      border-radius: 6px;
      transform: rotate(45deg);
   }

   .goBtn {
      position: absolute;
      left: 50%;
      bottom: 46px;
      transform: translateX(-50%);
      height: 94px;
      cursor: pointer;
      transition: all 0.2s ease-in;
   }

   .musicName {
      padding-top: 79px;
      font-size: 26px;
      font-weight: 500;
      color: #333;
      line-height: 24px;
      text-align: center;
   }

   .staffImgs {
      flex: 1;
      // overflow-y: auto;
      height: 100%;
      width: 100%;
      padding: 0 30px;

      & > img {
         width: 100%;
      }

      &.staffImgsEmpty {
         display: flex;
         align-items: center;
         justify-content: center;
         .empty {
            margin-top: -80px;
            --el-empty-image-width: 277px;
            :global {
               .el-empty__description p {
                  font-weight: 400;
                  font-size: 22px;
                  color: #aaaaaa;
               }
            }
         }
      }

      :global {
         iframe {
            // visibility: hidden;
            border: none;
            width: 100%;
            // height: 500px;
            flex: 1 auto;
            overflow: hidden;

            body {
               ::-webkit-scrollbar-thumb {
                  background-color: #efeff0;
                  border: 1px solid transparent;
                  background-clip: padding-box;
                  border-radius: 5px;
               }
            }
         }
      }
   }

   .rightBtns {
      position: absolute;
      top: 30px;
      right: 30px;
      display: flex;
      align-items: center;
      .transBtn {
         width: 48px;
         height: 48px;
         cursor: pointer;
         margin-right: 15px;
         &:hover {
            opacity: 0.7;
         }
      }
   }

   // .popSelect {
   //    font-size: 16px;
   //    max-width: 600px;
   //    max-height: 500px;
   //    overflow-y: scroll;
   //    box-shadow: 0px 2px 16px 0px rgba(0, 0, 0, 0.08);
   //    border-radius: 11px;
   //    --n-option-height: 34px;

   //    :global {
   //       .n-base-select-option__content {
   //          width: 80% !important;
   //       }
   //    }
   // }

   :global {
      .n-spin-container {
         height: 100%;
      }
      .n-spin-content {
         height: 100%;
         display: flex;
         align-items: center;
         flex-direction: column;
      }
   }
}
