.problemFeedback {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 998;
}

.flexCener {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fixedBtns {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: calc(100% - 20px);
  bottom: 10px;
  z-index: 999;
}

.annex {
  :global {
    .ant-form-item-label {
      background: url(../../../assets/annex.svg) no-repeat left center;
      background-size: 20px 20px;
      padding-left: 16px;
      padding-top: 3px;
    }
  }
}

.iconBtn {
  display: flex;
  align-items: center;
  justify-content: center;

  :global {
    img {
      width: 16px;
      margin-right: 5px;
    }

    span[role='img'] {
      height: 16px;

      svg {
        width: 16px;
        height: 16px;
      }
    }
  }
}

.modalWrap:not(.antdV5) {
  :global {
    .ant-modal-close {
      color: #4a495f !important;
    }

    .ant-modal-close-x {
      width: 30px;
    }

    .ant-modal-header {
      background-color: #e1edfe !important;
      border: 0;

      .ant-modal-title {
        color: #4a495f !important;
      }
    }

    .ant-modal-body {
      padding: 0 !important;
    }
  }
}

.modalContent {
  width: 100%;
  height: calc(100vh - 39px);
  background-color: #e1edfe;
  display: flex;
  padding: 20px 70px 50px 70px;

  .modalContentMenu {
    width: 250px;
    height: 100%;
    background-color: #edf1f9;
    position: relative;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;

    .logo {
      width: 100%;
      height: 200px;
      display: flex;
      align-items: center;
      justify-content: center;

      .xlyLogo {
        background: url(../../../assets/logo.png) no-repeat;
        background-size: 100% 100%;
        width: 45px;
        height: 39px;
      }

      .xlyTitle {
        font-size: 36px;
        line-height: 36px;
        font-weight: 700;
        color: #eda716;
        padding-left: 10px;
      }
    }
  }

  .modalContentShowContent {
    width: calc(100% - 250px);
    height: 100%;
    display: flex;
    // align-items: center;
    padding-top: 35px;
    justify-content: center;
    background-color: #eff5fe;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;

    :global {
      .ant-table.ant-table-small {
        font-size: 14px;

        .ant-table-thead>tr>th {
          background: #fafafa;
          height: 45px;
        }
      }
    }
  }
}

.xlyMenu {
  position: absolute;
  left: 0;
  bottom: 110px;
  width: 100%;
  background: transparent;
  border: 0;

  :global {
    .ant-menu-item {
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #4a495f;

      .ant-menu-title-content {
        font-size: 18px;
      }
    }
  }
}

.problemFb {
  width: 90%;

  :global {
    .ant-form-item {
      margin-bottom: 15px;

      .ant-form-item-label label {
        color: #4a495f !important;
        font-size: 16px !important;
      }

      .ant-upload-list {
        max-height: 50px;
        max-width: calc(100vw - 500px);
        overflow-x: auto;
        overflow-y: hidden;
        display: flex;

        .ant-upload-list-item-card-actions Button {
          opacity: 1;
          display: flex;
          align-items: center;
          justify-content: center;

          .anticon-delete {
            width: 12px;
          }
        }
      }

      .ant-btn {
        height: 32px;
        padding: 3px 15px;
        font-size: 14px;
      }

      input[class*='ant-input'] {
        height: 35px;
        font-size: 14px;
      }
    }
  }

  .braftEditor {
    height: calc(100vh - 420px);
    background-color: #f6f6f6;
    border: 1px solid #d9d9d9;

    :global {
      .bf-content {
        height: calc(100vh - 512px);
        background-color: #fff;
      }
    }
  }
}

.historyList {
  :global {
    tbody tr:not(.selected-record-row):not(.ant-table-expanded-row-level-1):hover td {
      font-weight: 500;
    }

    .ant-table-pagination.ant-pagination {
      position: initial;
    }
  }

  .historyListSearchForm {
    display: flex;
    height: 50px;

    :global {
      .ant-form-item {
        .ant-input {
          width: 400px;
        }

        margin-right: 20px;
      }
    }
  }
}

.detailModal,
.newContentModal,
.replyModal {
  width: 100%;

  :global {
    .ant-modal-close {
      color: #4a495f !important;
    }

    .ant-modal-close-x {
      width: 30px;
    }

    .ant-modal-header {
      background-color: #e1edfe !important;
      border: 0;

      .ant-modal-title {
        color: #4a495f !important;
      }
    }

    .ant-modal-body {
      padding: 20px !important;
      height: calc(100vh - 40px);
      overflow: auto;

      .ant-form-item {
        margin-bottom: 15px;

        .ant-form-item-label label {
          color: #4a495f !important;
          font-size: 16px !important;
        }

        .ant-upload-list {
          max-height: 50px;
          max-width: calc(100vw - 50px);
          overflow-x: auto;
          overflow-y: hidden;
          display: flex;

          .ant-upload-list-item-card-actions Button {
            opacity: 1;
            display: flex;
            align-items: center;
            justify-content: center;

            .anticon-delete {
              width: 12px;
            }
          }
        }

        .ant-btn {
          height: 32px;
          padding: 3px 15px;
          font-size: 14px;
        }

        input[class*='ant-input'] {
          height: 35px;
          font-size: 14px;
        }
      }
    }
  }

  .detailBraftEditor {
    height: auto;
    background-color: #f6f6f6;
    border: 1px solid #d9d9d9;

    :global {
      .bf-content {
        height: auto;
        background-color: #fff;
      }
    }
  }

  .detailBraftEditorReply {
    height: auto;
    width: calc(100% - 50px);
    margin-left: 50px;

    :global {
      .bf-content {
        height: auto;
        padding: 0;

        .public-DraftEditor-content,
        .public-DraftEditor-content>div {
          padding: 0;
        }
      }
    }
  }
}

.newContentModal {
  :global {
    .ant-modal-body {
      padding: 20px !important;
      height: 200px;
    }
  }

  .rate {
    height: 98px;
    display: flex;
    align-items: center;
  }
}

.replyModal {
  :global {
    .ant-modal-body {
      padding: 20px !important;
      height: 70vh;
      overflow: hidden;
    }
  }

  .replyBraftEditor {
    height: calc(70vh - 110px);
    background-color: #f6f6f6;
    border: 1px solid #d9d9d9;

    :global {
      .bf-content {
        height: calc(70vh - 204px);
        background-color: #fff;
      }
    }
  }
}

.replyDiv {
  background: #f6f6f6;
  padding: 10px 0 0 10px;

  .replyTitle {
    font-size: 14px;
  }
}

// ai助手
.aiAssistant {
  width: 90%;
  height: 100%;
  position: relative;

  :global {
    .dialogue {
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      overflow-y: auto;

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

      .emptyLine {
        flex: 0 0 90px;
        max-width: 90px;
      }

      .question {
        font-size: 16px;
        display: flex;
        justify-content: flex-end;
        padding: 15px 0 15px 0;

        >span {
          background: #7366ff;
          color: #fff;
          padding: 10px 20px 10px 20px;
          border-radius: 20px;
          border-bottom-right-radius: 0;
          max-width: 70%;
        }
      }

      .answer {
        font-size: 16px;
        padding: 15px 0 15px 0;

        >span {
          background: #FFF;
          padding: 10px 20px 10px 20px;
          border-radius: 20px;
          border-top-left-radius: 0;
          max-width: 70%;
        }
      }
    }

    .enter {
      position: absolute;
      bottom: 30px;
      width: 100%;
      height: 37px;
      display: flex;
      align-items: center;
      justify-content: center;

      input {
        width: 100%;
        height: 100%;
        border: 1px solid #fff;
        box-shadow: #9ac2d3 2px 2px 4px 0px;
        border-radius: 10px;
        font-size: 14px;
        padding: 0 10px 0 10px
      }

      .ant-btn {
        width: 40px;
        height: 100%;

        svg {
          width: 20px;
          height: 20px;

          &:hover {
            scale: 1.2;
          }

          &:active {
            scale: 0.95;
          }
        }
      }

    }

  }
}

.hideBtnToRight {
  transform: translate(20px, 0px);
  transition: transform 1.5s;
}

.hideBtnToLeft {
  transform: translate(-20px, 0px);
  transition: transform 1.5s;
}

.hideBtnToBottom {
  transform: translate(0px, 20px);
  transition: transform 1.5s;
}
