

    .chat-char{
        display: inline-block;
        left: 15px;
        font-family: Arial, sans-serif !important; /* 设置字体样式 */
         font-weight: 200 !important;
        position: absolute;
        bottom: 5px;
        font-size: 13px;


    }

    .chat-window {

    position: fixed;
    bottom: 1rem;
    right: 0.5rem;
    width: 285px;
    height: 388px;
        max-width: 55vw;
        max-height: 690vw;
    border: 1px solid #ccc;
    border-radius:0.86rem;
    display: flex;

    flex-direction: column;
          background: #ebebeb;

}
  .magic {
      bottom: 0.28rem;
    margin-left: 0.3rem!important;
      margin-right: 0.3rem;
   padding: 0.11rem;
    margin-top: 1.2%;
    height: 2.3rem;
      width: 2.3rem;

     /*display: none;*/
position: absolute;



  background-color:  #007bff !important;
  border: none !important;
  outline: none !important;
  border-radius: 50%; /* 设置圆形 */

  }

.chat-header {
     white-space: nowrap;
    transition: height 0.3s;
         box-shadow: 0 0 0.2rem rgba(16, 15, 15, 0.2);
    padding: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
     justify-content: space-between;
    align-content: center;
    background:  #ffffff;
    /*background: #f5f5f5;*/
    border-radius: 0.86rem;
}
 .chat-body{
       /*background:  #ebebeb;*/
     background-color: rgba(245, 245, 245, 0.51);
         flex-grow: 1;
    overflow-y: auto;
    max-width: 100%;
     display: flex;
      flex-direction: column;
      border-radius: 0.86rem;
         transition: height 0.3s;
}

 .chat-footer{
    padding: 0px;
      border-radius: 10px 10px 10px 10px;
 background-color: rgba(245, 245, 245, 0.51);
     margin-right: 0px;
  margin-bottom: 1px;
   width: 100%;
     display: flex;
         transition: height 0.3s;

}


.icon-container {
    margin-left: 2.9rem;
    height: 2.8rem;
    flex-grow: 1;

    flex-shrink: 1;
    margin-right: 0px;
    padding: 0px;
    display: flex;
    transition: height 0.3s;


        background-color:  #ffffff;
    border-radius: 0.86rem;
}

.chat-input {
 transition: height 0.3s,width 0.3s;
    flex-grow: 1;
    border: none !important;
    border-radius: 0.86rem;
    width: 78%;
    height: 80%;
    display: block;
    padding-right: 8px!important;
    margin-bottom: 5px;
}
.chat-input:focus {
  outline: none;
}
.icon-container:hover{
    height: 90px !important;
}

.chat-input:hover {
    height: 73% !important;
     flex-grow: 1;
}
.chat-send {
        transition: height 0.3s;
    color: #007bff;
    font-size: 1.28rem;
    margin-right:0.35rem;
 margin-left: 0.35rem;
    padding: 0.35rem;
    top: 0.35rem;
    height: 0.86rem;
        /*right: 0.35rem !important;*/
        background-color: transparent !important;
        border: none !important;   // 去掉边框
        outline: none !important;  // 去掉点击按钮后的边框

}
.chat-message-container{
    padding: 2px;
    background: transparent;
        display: flex;
    flex-direction: column;
        margin-bottom: 0.9rem;
   display: flex;
    margin-left: auto;


}
.existed-message-container{
    padding: 2px;
    background: transparent;
        display: flex;
    flex-direction: column;
        margin-bottom: 0.9rem;
   display: flex;
    margin-left: auto;


}


.chat-message-existed{

     background-color: white;
  padding: 5px 10px;
     font-family: Arial, sans-serif;
    font-size: 14px;
    word-wrap: break-word;

  border-radius: 15px;

    margin-left: 10px;
    margin-right: 60px;
  display: inline-block;
  /*max-width: fit-content;*/
}


.chat-message {
  background-color: white;
  padding: 5px 10px;
     font-family: Arial, sans-serif;
    font-size: 14px;
    word-wrap: break-word;
      /*white-space: pre-wrap;*/
  border-radius: 15px;
    /*margin-top: 20px;*/
    margin-left: 10px;
    margin-right: 60px;
      display: inline-block;

   /*max-width: fit-content;*/
}

.icon-service {
    cursor: pointer;
        transition: height 0.3s;
  display: flex;
      justify-content: center;
  align-items: center;
  margin-left: 10px;
    margin-bottom: 5px;
  width: 25px; /* 调整宽度和高度以适应您的图标大小 */
  height: 25px;
  background: #e7f8ff; /* 设置背景颜色 */
  border-radius: 30%; /* 使背景形状为圆形，如果要为方形，将该值设置为0 */
}



.chat-message-user {
  background-color: white;
  padding: 5px 10px;
    word-wrap: break-word;
      white-space: pre-wrap;
  border-radius: 15px;
    /*margin-top: 20px;*/
    margin-left: 60px;
     margin-right: 10px;
         font-family: Arial, sans-serif;
    font-size: 14px;
    display: inline-block;
     /*max-width: fit-content;*/
}

.icon-service-user {
  display: flex;
     margin-left: auto;
      justify-content: center;
  align-items: center;
    margin-right: 10px;


    margin-bottom: 5px;
  width: 25px; /* 调整宽度和高度以适应您的图标大小 */
  height: 25px;
  background:   #ffffff; /* 设置背景颜色 */
  border-radius: 30%; /* 使背景形状为圆形，如果要为方形，将该值设置为0 */
}


