.sscard-disableAction {
  user-select: none;
  pointer-events: none;
}
.sscard-headerBox {
  color: #1f2227;
  font-size: 18px;
  line-height: 21px;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sscard-textBox {
  color: #1f2227;
  // line-height: 22px;
  white-space: pre-line;
  word-break: break-all;
  flex: 1;
  line-height: 1.5;
}
.sscard-markdown {
  ul {
    margin-left: 10px;
    white-space: normal;
  }
  img {
    max-width: 100%;
    height: auto;
  }
  span {
    display: inline;
  }
  table {
    background: #ffffff;
    border-collapse: collapse;
    display: inline-block !important;
    font-size: 12px;
    width: auto;
    max-width: 100%;
    overflow-x: auto;
    word-break: break-word;

    font-size: 14px;
    font-weight: 400;
    color: #1f2227;
    line-height: 16px;
    white-space: normal;

    &::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }
}

  tr {
    th,
    td {
        min-width: 120px;
        border: 1px solid #edeff4;
        padding: 8px 16px;
    }

    th {
        background: #f5f6fb;
        text-align: center;
    }
}
}
.sscard-lineBox {
  .line {
    width: 100%;
    height: 1px;
  }
}
.sscard-flexBox {
  display: flex;
  align-items: center;
  // user-select: none;
  .desc {
    width: 70px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    margin-right: 8px;
  }
  .selectItem {
    flex: 1;
  }
}
.sscard-imgBox {
  .image {
    width: 100%;
    height: 165px;
    object-fit: cover;
  }
  .preview {
    cursor: pointer;
  }
}

// .inputBox {
//   // display: flex;
//   // align-items: center;
//   .usersName {
//     max-width: 300px;
//     overflow: hidden;
//     text-overflow: ellipsis;
//     white-space: nowrap;
//   }
// }
.sscard-selectPersonBox {
  .selectContent {
    display: flex;
    flex-direction: column;
  }
  .selectInfo {
    flex: 1;
    display: flex;
    height: 24px;
    align-items: center;
    cursor: pointer;
  }
  // .disabledUser {
  //   user-select: none;
  //   pointer-events: none;
  // }
  .selectItem {
    overflow: hidden;
    white-space: nowrap;
    color: #b2b8c0;
    display: flex;
    align-items: center;
  
    .selectMore {
      width: 24px;
      height: 24px;
      font-size: 12px;
      line-height: 24px;
      color: #757B82;
      font-weight: 400;
      margin-right: 4px;
      border-radius: 50%;
      background: #E9E9E9;
      text-align: center;
      user-select: none;
    }
    img {
      width: 24px;
      height: 24px;
      margin-right: 4px;
      border-radius: 50%;
    }
  }
  .selectLength {
    color: #b2b8c0;
    font-size: 12px;
    margin-right: 2px;
  }
  .selectPersonIcon {
    font-size: 16px;
    color: #b2b8c0;
  }
  .selectPersonIcon:hover{
    color: #286CFB;
  }
}
.sscard-selectMorePersonList{
  width: 260px;
  max-height: 300px;
  position: relative;
  border-radius: 4px;
  user-select: none;
  overflow: hidden;
  .seleMorePersonListTitle{
    width: 100%;
    height: 30px;
    position: sticky;
    top: 0;
    left: 0;
    background-color: #F5F6FB;
    display: flex;
    align-items: center;
    z-index: 1000;
    span{
      font-size: 10px;
      font-weight: 400;
      color: #757B82;
      line-height: 14px;
      margin-left: 8px;
    }
  }
  .seleMorePersonListContent{
    max-height: 270px;
    overflow-y: auto;
    .seleMorePersonListContentItem{
      width: 100%;
      height: 40px;
      display: flex;
      align-items: center;
      padding: 0 8px 0 16px;
      cursor: pointer;
      position: relative;
      .seleMorePersonListPersonTextBox {
          display: flex;
          align-items: center;
          min-width: 0;
          overflow-x: hidden;
      
          .seleMorePersonListPersonName {
            flex: 1;
            min-width: 0;
            font-size: 14px;
            color: #1F2227;
            line-height: 20px;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            margin-right: 8px;
          }
      
          .seleMorePersonListPersonId {
            flex-shrink: 0;
            font-size: 14px;
            color: #A5A9AF;
            line-height: 20px;   
            white-space: nowrap;  
          }
        }
      
      img {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        margin-right: 8px;
        flex-shrink: 0;
      }
    }
    .seleMorePersonListContentItem::after{
      //下滑分割线
      content: '';
      width: 244px;
      height: 0.5px;
      background: #E9E9E9;
      position: absolute;
      bottom: 0;
      left: 8px;
    }
    .seleMorePersonListContentItem:hover{
      background: #F5F6FB;
    }
  }
  
  
}
// .datePickerBox {
//   .dateIcon {
//       font-size: 20px;
//       color: #b2b8c0;
//   }
// }
.sscard-btnBox {
  justify-content: space-between;
  // padding-top: 8px;
  span {
    // display: flex;
    // justify-content: center;
    // align-items: center;
    width: 100%;
    cursor: pointer;
    height: 32px;
    line-height: 32px;
    color: #286cfb;
    border: 1px solid #326fef;
    border-radius: 4px;
    margin: 0px 6px;
    text-align: center;
    padding: 0px 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  span:first-child {
    margin-left: 0px;
  }
  span:last-child {
    margin-right: 0px;
  }
  .leftIcon,
  .rightIcon {
    width: 16px;
    height: 16px;
  }
  .leftIcon {
    margin-right: 4px;
  }
  .rightIcon {
    margin-left: 4px;
  }
}
.sscard-pluginBox {
  .header {
    padding: 6px 16px;
    // margin-bottom: 10px;
    display: flex;
    align-items: center;
    border: 1px solid #edeff4;
    border-radius: 4px;
    background-color: #f5f6fb;
    cursor: pointer;
  }
  .outDone {
    background-color: #fff;
    border-color: #e6e6e7;
  }
  .markedBox {
    word-wrap: break-word;
  }
  .descPre {
    color: #757b82;
    margin-right: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
  }
  .pluginName {
    display: inline;
    color: #1f2227;
    font-weight: 500;
  }
  .loading {
    width: 20px;
    height: 20px;
    animation: sscardLoadingSpin 1s linear infinite;
  }
  .suffixIcon {
    color: #b2b8c0;
    font-size: 16px;
    margin-left: 8px;
    cursor: pointer;
  }
  .ant-modal {
    width: 500px !important;
  }
  .ant-modal-content {
    height: 100%;
    border-radius: 10px;
  }
  .ant-modal-body {
    // overflow: auto;
    height: 100%;
    padding-right: 0px !important;
  }
  .ant-modal-close {
    top: -16px;
    right: -16px;
  }
  .ant-modal-close-x {
    background-color: #e6e6e7;
    border-radius: 50%;
    width: 32px;
    height: 32px;
  }
  .close_icon {
    height: 100%;
    align-items: center;
    display: flex;
    justify-content: center;
  }
  // .pluginContent {
  //     padding-right: 24px;
  //     overflow: auto;
  //     height: 100%;
  //     word-break: break-all;
  // }
}
@keyframes sscardLoadingSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.sscard-disabled {
  user-select: none;
  pointer-events: none;
  opacity: 0.4;
}
.sscard-noteBox {
  color: #b2b8c0;
  font-size: 12px;
  word-break: break-all;
  width: 100%;
  // margin-top: 2px;
  padding: 4px 0px;
}
.sscard-doubleTextBox {
  display: flex;
  width: 100%;
  .leftBox,
  .rightBox {
    width: 50%;
    word-break: break-all;
    color: #1f2227;
  }
  .leftBox {
    margin-right: 8px;
  }
  .rightBox {
    margin-left: 8px;
  }
}

// .stream > *:last-child::after {
//   -webkit-animation: blink 0.8s steps(5, start) infinite;
//   animation: blink 0.8s steps(5, start) infinite;
//   content: "▋";
//   margin-left: 0.25rem;
//   vertical-align: baseline;
// }

// @keyframes blink {
//   from {
//     opacity: 1;
//   }
//   to {
//     opacity: 0;
//   }
// }

.sscard-capCardBox {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding-top: 8px;
  .cardBox {
    border-radius: 4px;
    background-color: #f9f9fc;
    padding: 12px;
    margin-top: 8px;
    display: flex;
    // flex-direction: column;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    width: 100%;
    .header {
      display: flex;
      align-items: center;
      img {
        border-radius: 2px;
        width: 18px;
        height: 18px;
        margin-right: 6px;
      }
      .title {
        width: 100%;
        max-width: 180px;
        font-size: 14px;
        font-weight: 500;
        color: #1f2227;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
      }
    }
    .subTitle {
      font-size: 11px;
      color: #757b82;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }
    .button {
      margin-right: 2px;
      margin-left: 4px;
      padding: 3px 10px;
      border-radius: 4px;
      max-width: 88px;
      color: #ffffff;
      border-color: #326fef;
      background-color: #326fef;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      flex-shrink: 0;
    }
  }
  .disabledCard {
    user-select: none;
    pointer-events: none;
    // background-color: #f7f7f8;
    .title,
    .subTitle {
      color: #b2b8c0 !important;
    }
  }
  .doubleRow {
    width: calc(50% - 4px);
  }
  .doubleRow:nth-last-child(1),
  .doubleRow:nth-last-child(2) {
    // margin-bottom: 0px;
  }
  .doubleRow:nth-child(odd) {
    margin-right: 4px;
  }
  .doubleRow:nth-child(even) {
    margin-left: 4px;
  }
  .cardBox:last-child {
    // margin-bottom: 0px;
  }
}

.sscard-rateBox {
  .rateTitle {
    color: #1f2227;
    font-size: 14px;

    &.isRequire::after {
      content: "*";
      margin-left: 5px;
      color: #ff4d4f;
      font-size: 18px;
      vertical-align: middle;
    }
  }
  .rateContent {
    display: inline-block;
  }
}

.sscard-textareaBox {
  .textareaTitle {
    color: #1f2227;
    font-size: 14px;
    margin-bottom: 1px;

    &.isRequire::after {
      content: "*";
      margin-left: 5px;
      color: #ff4d4f;
      font-size: 18px;
      vertical-align: middle;
    }
  }
  .textareaContent {
    margin-top: 7px;
  }
}
.sscard-ulTextBox {
  display: flex;
  // align-items: center;
  // align-items: flex-start;
  .ulCircle {
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    margin-left: 2px;
    margin-right: 10px;
    border-radius: 50%;
    position: relative;
    top: 8px;
    background: linear-gradient(to top, #1649ff, #68ffed);
  }
}
.sscard-textSwitchBox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  .leftBox {
    display: flex;
    align-items: center;
    .dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      margin-right: 8px;
      background-color: #1f2227;
    }
  }
  .switch {
    margin-left: 32px;
  }

  .ant-switch {
    background-color: rgba(0, 0, 0, 0.1);
  }
  .ant-switch-checked {
    background-color: rgba(71, 123, 228);
  }
}
