.trainType {
  display: inline-block;
  width: 462px;
  background: #ECF6FF;
  border-radius: 16px;
  padding: 20px;
}

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

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

.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, .7);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s cubic-bezier(0.175, 0.885, 0.32, 1.275);

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

  &:hover {
    .preview {
      opacity: 1;
      visibility: visible;
      transition: all .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;
    }
  }

  .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 {
        color: #F92D53;
        border: 1px solid #F92D53;
      }
    }
  }
}