﻿.markdown-body img {
  margin-top: 8px;
  width: 120px;
  height: 120px;
  border: 1px solid #eee;
  border-radius: 6px
}
.markdown-body a {
  color: #007bff;
  text-decoration: none;
  cursor: pointer
}
.custom-dialog-wrapper,  .custom-chat-dialog {
  position: fixed !important;
  right: 0 !important;
  bottom: 28px !important;
  top: auto !important;
  left: auto !important;
  margin: 0 !important;
  overflow: visible !important;
  z-index: 3000;
  width: 403px !important;
  height: 598px !important
}
.custom-chat-dialog {
  pointer-events: none
}
.custom-chat-dialog .el-dialog__body, .custom-chat-dialog .el-dialog__header {
  pointer-events: auto
}
 .el-dialog {
  width: 403px;
  height: 598px;
  background: linear-gradient(180deg, #f7eef1, #f4f6f8 77.76%) !important;
  border-radius: 15px;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, .05098)
}
 .el-dialog__header {
  border-bottom: none;
  padding: 10px 15px !important
}
 .el-dialog__body {
  padding: 0 0 30px !important
}
 .el-dialog__headerbtn {
  position: absolute;
  top: 8px !important;
  right: 10px !important
}
.customer-service {
  position: fixed;
  bottom: 20px;
  right: 30px
}
.custom-chat-dialog {
  position: fixed !important;
  bottom: 70px !important;
  right: 20px !important;
  margin: 0 !important;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0, 0, 0, .15)
}
.chat-box {
  display: flex;
  flex-direction: column;
  height: 598px
}
.message-list {
  flex: 1;
  overflow-y: auto;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, .05098);
  background: linear-gradient(180deg, #f7eef1, #f4f6f8 77.76%) !important
}
.chat-input::-webkit-scrollbar, .message-list::-webkit-scrollbar {
  width: 3px
}
.chat-input::-webkit-scrollbar-track, .message-list::-webkit-scrollbar-track {
  background: transparent
}
.chat-input::-webkit-scrollbar-thumb, .message-list::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 4px
}
.chat-input::-webkit-scrollbar-button, .chat-input::-webkit-scrollbar-button:decrement, .chat-input::-webkit-scrollbar-button:increment, .chat-input::-webkit-scrollbar-button:single-button, .message-list::-webkit-scrollbar-button, .message-list::-webkit-scrollbar-button:decrement, .message-list::-webkit-scrollbar-button:increment, .message-list::-webkit-scrollbar-button:single-button {
  display: none;
  width: 0;
  height: 0
}
.message {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  padding: 10px 15px
}
.message.user {
  flex-direction: row-reverse
}
.bubble {
  max-width: 240px;
  padding: 10px;
  border-radius: 0 10px 10px 10px;
  background-color: #fff;
  position: relative
}
.user_bubble {
  border-radius: 10px 0 10px 10px
}
.message.user .bubble {
  background-color: #eff6ff
}
.meta {
  color: #999;
  margin-bottom: 4px
}
.meta, .text {
  font-size: 14px
}
.text {
  line-height: 1.5;
  display: flex;
  align-items: center
}
.text .el-icon-refresh-left {
  margin-right: 5px
}
.qr-image {
  margin-top: 8px;
  width: 120px;
  height: 120px;
  border: 1px solid #eee;
  border-radius: 6px
}
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%
}
.userAvatar {
  margin-left: 8px
}
.systemAvatar {
  margin-right: 8px
}
.input-area {
  grid-gap: 6px;
  gap: 6px;
  margin: 0 15px 15px;
  height: 100px;
  border-radius: 6px;
  border: 1px solid #e9ebf1
}
.input-area, .input-wrapper {
  display: flex;
  align-items: center;
  background-color: #f4f6f8;
  position: relative
}
.input-wrapper {
  width: 373px;
  height: 90px;
  flex-direction: column;
  justify-content: center;
  margin-left: auto;
  border-radius: 6px;
  margin-bottom: 10px
}
.input-wrapper .el-input__inner {
  padding: 0 6px !important;
  height: 60px !important;
  line-height: 40px !important
}
.input-wrapper-send {
  width: 100%;
  height: 30%
}
.chat-input {
  overflow-y: auto;
  line-height: 1;
  resize: none;
  border: none;
  background-color: transparent;
  border-radius: 4px;
  padding: 10px 8px 6px;
  font-size: 14px;
  vertical-align: top;
  box-sizing: border-box;
  width: 100%;
  height: 70%;
  font-family: PingFang SC !important
}
.chat-input::-moz-placeholder {
  color: #b2b2b2;
  font-size: 14px;
  font-weight: 400 !important;
  font-family: PingFang SC !important
}
.chat-input:-ms-input-placeholder {
  color: #b2b2b2;
  font-size: 14px;
  font-weight: 400 !important;
  font-family: PingFang SC !important
}
.chat-input::-ms-input-placeholder {
  color: #b2b2b2;
  font-size: 14px;
  font-weight: 400 !important;
  font-family: PingFang SC !important
}
.chat-input::placeholder {
  color: #b2b2b2;
  font-size: 14px;
  font-weight: 400 !important;
  font-family: PingFang SC !important
}
.chat-input:focus {
  outline: none;
  box-shadow: none;
  border-color: inherit
}
.send-button {
  border-radius: 5px;
  position: absolute;
  right: 8px;
  z-index: 2
}
.send-button.is-disabled {
  background: linear-gradient(105.48deg, rgba(246, 101, 74, .4), rgba(246, 77, 90, .4)) !important
}
.faq-buttons-wrapper {
  position: relative;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  background-color: #fff;
  padding-top: 20px
}
.faq-buttons-wrapper, .faq-title {
  display: flex;
  justify-content: space-between
}
.faq-title {
  color: #1f1f1f;
  font-size: 14px;
  font-weight: 600;
  line-height: 100%;
  margin-bottom: 5px;
  align-items: center;
  width: 100%
}
.faq-title .change-icon {
  color: #666;
  font-size: 12px
}
.faq-title .change-icon:hover {
  cursor: pointer;
  color: #f64d5a
}
.faq-buttons {
  grid-gap: 5px;
  gap: 5px;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: start;
  padding: 10px 0
}
.faq-buttons span {
  font-size: 12px;
  border-radius: 30px;
  padding: 5px 10px;
  border: 1px solid #e9ebf1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer
}
.faq-buttons span:hover {
  background-color: #f4f6f8
}
.arrow-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #e9ebf1;
  display: flex;
  justify-content: center;
  align-items: center
}
 .el-input__inner {
  border: none;
  background-color: #f4f6f8;
  border-radius: 30px
}
.input-img {
  position: absolute;
  z-index: 9999;
  bottom: 8px;
  left: 10px
}
.input-img .group {
  width: 15px;
  height: 15px
}
 .el-upload--picture-card {
  width: 15px;
  height: 15px;
  vertical-align: baseline !important;
  background-color: transparent;
  border: none
}
 .el-upload-list--picture-card .el-upload-list__item {
  width: 15px;
  height: 15px
}
.up-image {
  width: 30px;
  height: 30px;
  border-radius: 50%
}
.upload-wrapper {
  position: absolute;
  z-index: 9999;
  bottom: 5px;
  left: 10px;
  width: 30px;
  height: 30px
}
.upload-wrapper i {
  position: absolute;
  top: 27%;
  right: 28%;
  cursor: pointer;
  display: none;
  color: #fff
}
.mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(0, 0, 0, .5);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .3s
}
.upload-wrapper:hover .mask {
  opacity: 1
}
.upload-wrapper:hover .delete-icon {
  display: block
}
.el-upload--picture-card i {
  font-size: 22px
}
.custom-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  height: 100%
}
.custom-header img {
  width: 16px;
  height: 16px;
  cursor: pointer
}