.intelligentQA{
  display: flex;
  width: 100%;
  height: calc(100vh - 160px);
  
}

.history,
.statistics{
  background-color: #11536771;
  border: 1px solid #209cc1;
  width: 250px;
  height: calc(100vh - 200px);
  color: #fff;
  
  // line-height: 200px;
}

.history{
  .historyTitle{
    height: 50px;
    line-height: 50px;
    text-align: center;
  }
  .historyContent{
    width: 100%;
    box-sizing: border-box;
    height: calc(100vh - 300px);
    overflow: hidden;
    padding: 0px 20px;

    .historyItem{
      height: 40px;
      width: 100%;
      line-height: 40px;
      overflow: hidden;

      .question{
        float: left;
        width: 73%;
      }

      .historyMore{
        font-size: 1.2rem;
        float: right;
        height: 40px;
        line-height: 40px;
      }
      .historyMore:hover{
        cursor: pointer;
      }
    }

  }
  
}
.statistics{
  .statisticsTitle{
    height: 50px;
    line-height: 50px;
    text-align: center;
  }
  .statisticsContent{
    width: 100%;
    box-sizing: border-box;
    height: calc(100vh - 300px);
    overflow: hidden;
    padding: 0px 20px;

    .statisticsItem{
      height: 40px;
      width: 100%;
      line-height: 40px;
      overflow: hidden;
      position: relative;
    }

    li:after{
      content: "";
      display: inline-block;
      width: 20px;
      height: 20px;
      line-height: 20px;
      text-align: center;
      color: #FFF;
      background: #999999;
      text-align: center;
      position: absolute;
      left: 0;
      top: 8px;
    }
    li:first-child:after {content: "1";background: #FD8C84;}
    li:nth-child(2):after {content: "2";background: #FFCC99;}
    li:nth-child(3):after {content: "3";background: #7FD75A;}
    li:nth-child(4):after {content: "4";background: #CCCCFF;}
    li:nth-child(5):after {content: "5";background: #60C4FD;}
    li:nth-child(6):after {content: "6";}
    li:nth-child(7):after {content: "7";}
    li:nth-child(8):after {content: "8";}
    li:nth-child(9):after {content: "9";}
    li:nth-child(10):after {content: "10";}
  }
}

.chat{
  flex: 1;
  width: 100%;
  // max-width: 1400px;
  margin: 0 auto;
  overflow-y: auto;
  display: flex;
  flex-direction: column;

  .header{
    height: 60px;
    line-height: 60px;
    width: 100%;
    text-align: center;
    color: #fff;
    background-color: #f8eaea9b;
  }

  .main{
    flex: 1;
    // background-color: #f8f8fc4c;
    display: flex;
    flex-direction: column;
    overflow: scroll;

    .chatLine {
      flex: 1;
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
    }
    
    .chatRow {
      margin: 20px 10px;
      display: flex;
    }
    .chatQ {
      justify-content: flex-end;
      .questionContent {
        max-width: 800px;
        display: inline-block;
        border-radius: 8px;
        padding: 6px 12px;
        background: #11536771;
        box-shadow: 0 16px 20px 0 rgba(174, 167, 223, 0.06);
        color: #fff;
      }
    }
    .answerData{
      max-width: 800px;
      display: inline-block;
      border-radius: 8px;
      padding: 6px 12px;
      background: #11536771;
      box-shadow: 0 16px 20px 0 rgba(174, 167, 223, 0.06);
      color: #fff;
      position: relative;
      .answer{
        margin: 20px 0;
      }
    }
    
    .more{
      border-radius: 50%;
      position: absolute;
      font-size: 1.5rem;
      right: -30px;
      bottom: 0;
    }
    .more:hover{
      cursor: pointer;
    }
  }

  .footer{
    width: 100%;
    text-align: center;

    .footerContent{
      width: 60%;
      margin: auto;
      position: relative;

      textarea {
        width: 100%;
        min-height: 50px;
        max-height: 200px;
        padding: 15px;
        box-sizing: border-box;
        border: 1px solid #209cc1;
        border-radius: 4px;
        color: #fff !important;
        background-color: #11536771;
        font-size: 14px;
        resize: none; /* 禁止用户手动调整大小 */
        overflow: hidden; /* 隐藏溢出内容 */
        transition: height 0.2s ease; /* 平滑过渡效果 */

      }
  
      .icon{
        position: absolute;
        right: 10px;
        bottom: 15px;
        font-size: 1.5rem;
        color: #fff;
      }
    }
    
  }
}

.dialogContent{
  width: 100%;
  height: calc(100vh - 350px);
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  overflow: scroll;

  .contentLeft{
    width: 620px;
    height: 100%;
    // background-color: #cfcbcb;
    border-right: 1px solid #cfcbcb;

    .moreAnswer{
      font-size: 1rem;
      color: #fff;
      margin-bottom: 20px;
    }
  }
  .contentRight{
    width: calc(100% - 620px);
    height: 100%;
    .source{
      float: right;
      color: #fff;
      margin-bottom: 20px;
    }
    .fileContent{
      .pdf{
        width: 100%;
        height: calc(100vh - 420px);
        overflow: scroll;
        margin-left: 3%;
      }
    }
  }
}

.statistics{
  .statisticsTitle{
    height: 50px;
    line-height: 50px;
    text-align: center;
  }
}

::-webkit-scrollbar{
  display: none;  //隐藏滚动条
  width: 5px;
  height: 1px;
}
::-webkit-scrollbar-thumb{
  border-radius: 5px;
  background: #cfcbcb;
}
::-webkit-scrollbar-track{ /*滚动条里面轨道*/
  border-radius: 5px;
  background: #ededed;
}

