.trainType {
  display: inline-block;
  width: 462px;
  background: linear-gradient(360deg, #DBF1FF 0%, #E7F9FF 100%);
  border-radius: 13px;
  position: relative;
  overflow: hidden;
  border: 1px solid #CAE4F4;
  transition: all .2s ease;

  .overflowBg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    padding: 20px;
    cursor: move;
  }

  &:hover {
    transition: all .2s ease;
    border-color: #007afe;
    transform: scale(1.01);

    .iconDelete {
      opacity: 1;
      visibility: visible;
      transition: all .2s ease;
    }

    .trainDisabled {
      .iconDelete {
        display: none;
      }
    }
  }
}

.train-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;

  .title {
    display: flex;
    align-items: center;
    font-size: max(18px, 13Px);
    font-weight: 600;
    color: #131415;

    .title-tag {
      width: 28px;
      height: 28px;
      margin-right: 8px;
    }

    .title-text {
      max-width: 200px;
    }
  }

  .btn {
    padding: 0 12px;
    height: 32px;
    background: linear-gradient(270deg, #23c3ff 0%, #007afe 100%);
    font-size: max(16px, 12Px);
    font-weight: 600;
    color: #ffffff;
    line-height: 22px;
    --n-border: 0 !important;
    --n-border-hover: 0 !important;
    --n-border-pressed: 0 !important;
    --n-border-focus: 0 !important;

    &:hover,
    &:active,
    &:visited,
    &:focus {
      border: 0;
      color: #fff;
    }

    img {
      margin-left: 10px;
      width: 8px;
      height: 10px;
    }
  }

  // .iconDelete {
  //   position: absolute;
  //   right: 0px;
  //   top: 0px;
  //   z-index: 11;
  //   display: flex;
  //   height: 30px;
  //   padding: 0;

  //   img {
  //     height: 30px;
  //     width: 30px;
  //   }
  // }
}

.train-content {
  height: 140px;
  background: #ffffff;
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
  cursor: pointer;

  &.trainDisabled {
    cursor: default;
    height: 238px;
  }

  :global {
    .n-image {
      width: 100%;
      height: inherit;
      // transition: all 0.2s ease;

      img {
        width: 100%;
        height: fit-content;
      }
    }
  }

  .preview {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;

    .previewBtn {
      background: #fff;
      height: 44px;
      padding: 0 44px;
      border-radius: 12px;
    }
  }

  .disPreview {
    position: absolute;
    // opacity: 0;
    // visibility: hidden;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    .disPreviewDivide {
      font-size: max(15px, 13Px);
      color: #fff;
    }

    :global {
      .n-progress-graph-circle-rail {
        stroke: #8b8b8b !important;
      }

      .n-progress {
        width: max(120px, 105Px) !important;
      }
    }

    .BProgress {
      color: #fff;
      margin-top: -4px;


      h4 {
        font-size: max(28px, 20Px);
        font-family: 'DINA';
        text-align: center;

        span {
          font-size: max(13px, 11Px);
          font-weight: 400;
          padding-left: 4px;

        }
      }

      p {
        font-size: max(14px, 12Px);
      }
    }
  }



  &:hover {
    .preview {
      opacity: 1;
      visibility: visible;
      transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    // :global {
    //   .n-image {
    //     transform: scale(1.05);
    //     transition: all 0.2s ease;
    //   }
    // }
  }

  .iconDelete {
    position: absolute;
    top: 8px;
    right: 10px;
    z-index: 98;
    // opacity: 0;
    // visibility: hidden;
    transition: all .2s ease;
    width: 27px;
    height: 27px;
    cursor: pointer;
  }


  .audioPlayTypeSection {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 0;
    gap: 8px 10px !important;

    .iconType {
      display: inline-block;
      width: 26px;
      height: 26px;
    }

    .iconPlay {
      background: url('@/common/images/icon-play-default.png');
      background-size: contain;

      &:hover {
        background: url('@/common/images/icon-play-active.png');
        background-size: contain;
      }
    }

    .iconSing {
      background: url('@/common/images/icon-sing-default.png');
      background-size: contain;

      &:hover {
        background: url('@/common/images/icon-sing-active.png');
        background-size: contain;
      }
    }
  }
}

.train-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px;

  .type {
    gap: 8px 10px !important;
  }

  .title-text {
    width: 150px;
  }


  .operation {
    display: flex;
    height: 34px;
    padding: 0;
    border-radius: 50%;

    img {
      height: 36px;
      width: 36px;
    }

    .iconEdit {
      display: inline-block;
      width: 34px;
      height: 34px;
      background: url('./images/icon-edit.png') no-repeat center;
      background-size: contain;

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

.trainInfo {
  max-width: 86%;

  .trainName {
    display: flex;
    align-items: center;
    font-size: max(13px, 12Px);
    font-family: PingFangSC, PingFang SC;
    font-weight: 600;
    color: #131415;
    line-height: 21px;
  }

  .type {
    padding: 0 9px;
    display: inline-block;
    background-color: #ccc;
    border-radius: 5px;
    font-size: max(12px, 10Px);
    font-weight: 600;
    color: #FFFFFF;
    height: 18Px;
    line-height: 18Px;
    margin-right: 7px;
    flex-shrink: 0;
  }

  .PRACTICE {
    background: linear-gradient(270deg, #23C3FF 0%, #007AFE 100%);
  }

  .EVALUATION {
    background: linear-gradient(270deg, #FF7B57 0%, #FF3460 100%);
  }

  .tagList {
    display: flex;
    align-items: center;
    padding-top: 5px;
    font-size: 11Px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.5);

    :global {
      .n-divider {
        --n-color: rgba(0, 0, 0, 0.5) !important;
        height: 11Px;
        margin: 0 5px !important;
      }
    }
  }
}


// .evaluationType {
//   background: #fff0eb;

//   .btn {
//     background: linear-gradient(270deg, #ff7b57 0%, #ff3460 100%);
//   }

//   .train-content {
//     border: 1px solid rgba(249, 45, 83, 0.5);
//   }

//   .train-footer {
//     :global {
//       .n-tag {
//         --n-border: none !important;
//         color: #f92d53;
//         border: 1px solid #f92d53;

//       }
//     }
//   }
// }

.offShelfBg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  .offShelfTips {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    line-height: 30px;
    padding-bottom: 32px;
  }

  .offShelfBtn {
    height: 44px;
    border-radius: 10px;
    min-width: 124px;
  }
}


.removeVisiable {
  width: 432px;

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

  .studentRemove {
    padding: 20px 40px 0;

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

      span {
        color: #EA4132;
      }
    }
  }

  .btnGroupModal {
    padding: 32px 0;

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

.reportModel {
  width: 1200px;
  overflow: hidden;
}
