.trainType {
  display: inline-block;
  width: 462px;
  background: #ecf6ff;
  border-radius: 16px;
  padding: 20px;
  position: relative;

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

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

  .title {
    display: flex;
    align-items: center;
    font-size: 18px;
    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: 16px;
    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 {
  margin: 20px 0;
  height: 238px;
  background: #ffffff;
  border-radius: 11px;
  border: 1px solid #74baff;
  position: relative;
  overflow: hidden;

  :global {
    .n-image {
      width: 100%;
      height: inherit;

      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);

    .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: 15px;
      color: #fff;
    }

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

    .BProgress {
      color: #fff;

      h4 {
        font-size: 20px;
        font-family: 'DINA';
        font-weight: bold;
        text-align: center;

        span {
          font-size: 12px;
          font-weight: 400;
        }
      }
    }
  }

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

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

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

  :global {
    .n-tag {
      font-size: 14px;
      font-weight: 500;
      color: #0378ec;
      line-height: 20px;
      border: 1px solid #198cfe;
      border-radius: 6px;
      background-color: transparent;
      height: 28px;
      --n-border: none !important;
    }
  }

  .operation {
    display: flex;
    height: 26px;
    padding: 0;

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

.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;
      }
    }
  }
}
