.chat_session_result_typing_indicator {
  width: 60px;
  height: 30px;
  position: relative;
  z-index: 4;
}
.chat_session_result_typing_circle {
  width: 8px;
  height: 8px;
  position: absolute;
  border-radius: 50%;
  background-color: black;
  left: 15%;
  transform-origin: 50%;
  animation: typing-circle7124 0.5s alternate infinite ease;
}
@keyframes typing-circle7124 {
  0% {
    top: 20px;
    height: 5px;
    border-radius: 50px 50px 25px 25px;
    transform: scaleX(1.7);
  }

  40% {
    height: 8px;
    border-radius: 50%;
    transform: scaleX(1);
  }

  100% {
    top: 0%;
  }
}
.chat_session_result_typing_circle:nth-child(2) {
  left: 45%;
  animation-delay: 0.2s;
}
.chat_session_result_typing_circle:nth-child(3) {
  left: auto;
  right: 15%;
  animation-delay: 0.3s;
}
.chat_session_result_typing_shadow {
  width: 5px;
  height: 4px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 30px;
  transform-origin: 50%;
  z-index: 3;
  left: 15%;
  filter: blur(1px);
  animation: typing-shadow046 0.5s alternate infinite ease;
}
@keyframes typing-shadow046 {
  0% {
    transform: scaleX(1.5);
  }

  40% {
    transform: scaleX(1);
    opacity: 0.7;
  }

  100% {
    transform: scaleX(0.2);
    opacity: 0.4;
  }
}
.chat_session_result_typing_shadow:nth-child(4) {
  left: 45%;
  animation-delay: 0.2s;
}

.chat_session_result_typing_shadow:nth-child(5) {
  left: auto;
  right: 15%;
  animation-delay: 0.3s;
}
#aiknowledgebasepremium_chat_session_main {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
#aiknowledgebasepremium_chat_session_form {
  width: -webkit-fill-available;
}
#aiknowledgebasepremium_chat_session_form_inner {
  display: flex;
}
#aiknowledgebasepremium_chat_session_content {
  border-radius: 8px;
  border: none;
  font-size: 16px;
  height: auto;
  padding: 25px 155px 25px 20px !important;
  background: #ffffff;
  box-shadow: #ccc 0 5px 16px;
  width: -webkit-fill-available;
}
#aiknowledgebasepremium_chat_session_content:focus,
#chat_session_content:focus-visible {
  outline: none;
}
#aiknowledgebasepremium_chat_session_submit_holder {
  display: flex;
  align-items: center;
}
#aiknowledgebasepremium_chat_session_submit {
  cursor: pointer;
  border-radius: 5px;
  font-size: 16px;
  padding: 12px 0 !important;
  position: absolute;
  right: 20px;
  width: 115px;
  background-color: black;
  border-color: black;
  color: white;
}
#aiknowledgebasepremium_chat_session_result_wrapper {
  max-height: 60vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column-reverse;
  gap: 20px;
  border-radius: 8px;
  border: none;
  padding: 25px 20px;
  box-shadow: #ccc 0 5px 16px;
  width: -webkit-fill-available;
  background-color: white;
}
#aiknowledgebasepremium_chat_session_request,
#aiknowledgebasepremium_chat_session_result {
  width: 100%;
  display: flex;
  gap: 10px;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
}
#aiknowledgebasepremium_chat_session_result {
  position: relative;
  justify-content: flex-start;
}
#aiknowledgebasepremium_chat_request_icon,
#aiknowledgebasepremium_chat_response_icon {
  width: 1.5em;
  height: 1.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: lightgray;
  background-size: contain;
  background-repeat: no-repeat;
  font-size: 35px;
}
#aiknowledgebasepremium_chat_request_icon {
  background-image: url("./images/basic-user-icon.svg");
}
#aiknowledgebasepremium_chat_response_icon {
  background-image: url("./images/admin-icon.svg");
}
#aiknowledgebasepremium_chat_session_request h4,
#aiknowledgebasepremium_chat_session_result h4 {
  max-width: 75%;
  margin: 0;
  background-color: lightgray;
  padding-bottom: 10px;
  padding-top: 10px;
}
#aiknowledgebasepremium_chat_session_request h4 {
  padding-left: 15px;
  padding-right: 35px;
  clip-path: polygon(0% 0%, calc(100% - 20px) 0, calc(100% - 20px) calc(50% - 10px), 100% 50%, calc(100% - 20px) calc(50% + 10px), calc(100% - 20px) 100%, 0 100%);
}
#aiknowledgebasepremium_chat_session_result h4 {
  padding-left: 35px;
  padding-right: 15px;
  clip-path: polygon(100% 100%, calc(0% + 20px) 100%, calc(0% + 20px) calc(50% + 10px), 0 50%, calc(0% + 20px) calc(50% - 10px), calc(0% + 20px) 0, 100% 0);
}
#aiknowledgebasepremium_chat_session_result_skip {
  position: absolute;
  right: 0;
  top: 0;
  color: #000000;
  cursor: pointer;
}
#aiknowledgebasepremium_chat_session_result_skip:hover {
  color: #a1a1a1;
}
@media only screen and (max-width: 767px) {
  #aiknowledgebasepremium_chat_session_content {
    padding: 15px 85px 15px 10px !important;
    font-size: 12px;
  }
  #aiknowledgebasepremium_chat_session_submit {
    width: 65px;
    right: 10px;
    padding: 6px 0 !important;
    font-size: 12px;
  }
  #aiknowledgebasepremium_chat_session_result_wrapper {
    padding: 15px 10px;
  }
  #aiknowledgebasepremium_chat_session_request,
  #aiknowledgebasepremium_chat_session_result {
    gap: 5px;
  }
  #aiknowledgebasepremium_chat_session_request h4,
  #aiknowledgebasepremium_chat_session_result h4 {
    max-width: 65%;
    padding-bottom: 5px;
    padding-top: 5px;
    font-size: 12px !important;
    line-height: 1 !important;
  }
  #aiknowledgebasepremium_chat_session_request h4 {
    padding-left: 10px;
    padding-right: 20px;
    clip-path: polygon(0% 0%, calc(100% - 10px) 0, calc(100% - 10px) calc(50% - 5px), 100% 50%, calc(100% - 10px) calc(50% + 5px), calc(100% - 10px) 100%, 0 100%);
  }
  #aiknowledgebasepremium_chat_session_result h4 {
    padding-left: 20px;
    padding-right: 10px;
    clip-path: polygon(100% 100%, calc(0% + 10px) 100%, calc(0% + 10px) calc(50% + 5px), 0 50%, calc(0% + 10px) calc(50% - 5px), calc(0% + 10px) 0, 100% 0);
  }
  #aiknowledgebasepremium_chat_request_icon,
  #aiknowledgebasepremium_chat_response_icon {
    width: 1em;
    height: 1em;
    font-size: 30px;
  }
  .chat_session_result_typing_indicator {
    width: 35px;
  }
  .chat_session_result_typing_circle {
    width: 4px;
    height: 4px;
  }
  .chat_session_result_typing_shadow {
    width: 3px;
    height: 2px;
  }
  @keyframes typing-circle7124 {
    0% {
      top: 20px;
      height: 2px;
      border-radius: 50px 50px 25px 25px;
      transform: scaleX(1.7);
    }

    40% {
      height: 4px;
      border-radius: 50%;
      transform: scaleX(1);
    }

    100% {
      top: 0%;
    }
  }
}

#aiknowledgebasepremium_bubble_chat_head {
  z-index: 99;
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  width: 35px;
  font-size: 32px;
  border-radius: 16px;
  background: #e44d30;
  color: #ffffff;
  cursor: pointer;
  box-sizing: unset;
  -webkit-box-sizing: unset;
  transform: scale(1);
  transition: transform 400ms ease-in-out 0s;
}
img#aiknowledgebasepremium_bubble_chat_head:hover {
  box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 6px, rgba(0, 0, 0, 0.2) 0px 4px 16px;
  transform: scale(1.1);
  background: #222;
}
.aiknowledgebasepremium-bubble-chat-window {
  display: flex;
  flex-direction: column;
  z-index: 9999;
  position: fixed;
  bottom: 60px;
  right: 80px;
  transform-origin: right bottom;
  height: min(70vh, 100% - 60px);
  min-height: 250px;
  max-height: 500px;
  width: 350px;
  box-shadow: rgb(0 0 0 / 2%) 0 5px 40px;
  border-radius: 16px;
  border: 1px solid #ddd;
  overflow: hidden;
  opacity: 0;
  transform: scale(0);
  transition: width 200ms ease 0s, height 200ms ease 0s, max-height 200ms ease 0s, transform 300ms cubic-bezier(0, 1.2, 1, 1) 0s, opacity 83ms ease-out 0s;
  pointer-events: all;
  background: #ffffff;
}
#aiknowledgebasepremium_bubble_chat_window_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid #e4dfdf;
}
#aiknowledgebasepremium_bubble_chat_window_header h4 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}
.aiknowledgebasepremium_bubble_chat_window_header_text_wrap {
  width: 100%;
}
.aiknowledgebasepremium_bubble_chat_window_header_title_wrap {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
#aiknowledgebasepremium_bubble_chat_window_close {
  padding: 8px;
  cursor: pointer;
  transition: all 150ms ease 0s;
  background-image: url("./images/close-icon.svg");
  background-size: contain;
  background-repeat: no-repeat;
  box-sizing: unset;
  -webkit-box-sizing: unset;
}
#aiknowledgebasepremium_bubble_chat_window_content {
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 12px;
}
/* Hide scrollbar for Chrome, Safari, Opera */
#aiknowledgebasepremium_bubble_chat_window_content::-webkit-scrollbar {
  display: none;
}
/* Hide scrollbar for IE, Edge, Firefox */
#aiknowledgebasepremium_bubble_chat_window_content {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
#aiknowledgebasepremium_bubble_chat_window_content_request,
#aiknowledgebasepremium_bubble_chat_window_content_response {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 10px;
}
#aiknowledgebasepremium_bubble_chat_window_content_response {
  justify-content: flex-start;
}
#aiknowledgebasepremium_bubble_chat_window_content_request span {
  background: #d9ecfd !important;
}
#aiknowledgebasepremium_bubble_chat_window_content_request span,
#aiknowledgebasepremium_bubble_chat_window_content_response span {
  width: 65%;
  min-height: 100%;
  display: flex;
  align-items: center;
  text-align: start;
  font-size: 16px;
  line-height: 22px;
  padding: 8px 15px;
  color: #000;
  border-radius: 15px;
  background: rgba(0, 0, 0, 0.075);
}
#aiknowledgebasepremium_bubble_chat_window_content_request i,
#aiknowledgebasepremium_bubble_chat_window_content_response i {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-radius: 50%;
  border: 1px solid #ddd;
}
#aiknowledgebasepremium_bubble_chat_window_content_request i {
  background: #4b58b8;
  background-image: url("./images/user-icon.svg");
  background-size: contain;
  background-repeat: no-repeat;
}
#aiknowledgebasepremium_bubble_chat_window_content_response i {
  background: #e44d30;
  background-image: url("./images/admin-icon.svg");
  background-size: contain;
  background-repeat: no-repeat;
}
#aiknowledgebasepremium_bubble_chat_window_form {
  padding: 12px;
  margin-top: auto;
  position: relative;
}
.aiknowledgebasepremium_bubble_chat_window_header_text_wrap p {
  font-size: 14px;
  color: #818181;
  margin-bottom: 0;
}
#aiknowledgebasepremium_bubble_chat_window_form_input {
  width: 100%;
  padding: 8px 40px 8px 15px !important;
  border-radius: 8px;
  background: #ffffff;
  color: #000000;
  border: 1px solid #ddd;
  resize: none;
  outline: none;
}
/* Hide scrollbar for Chrome, Safari, Opera */
#aiknowledgebasepremium_bubble_chat_window_form_input::-webkit-scrollbar {
  display: none;
}
/* Hide scrollbar for IE, Edge, Firefox */
#aiknowledgebasepremium_bubble_chat_window_form_input {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
#aiknowledgebasepremium_bubble_chat_window_form_submit {
  position: absolute;
  border: none;
  right: 25px;
  top: calc(50% - 12px);
  padding: 10px;
  background-image: url("./images/send-icon.svg");
  background-size: contain;
  background-repeat: no-repeat;
  cursor: pointer;
  transition: all 150ms ease 0s;
}
.show-bubble-chat {
  transform: scale(1);
  opacity: 1;
}
@media only screen and (max-width: 767px) {
  #aiknowledgebasepremium_bubble_chat_head {
    bottom: 10px;
    right: 10px;
    width: 30px;
    padding: 5px;
    border-radius: 8px;
  }
  .aiknowledgebasepremium-bubble-chat-window {
    width: calc(100vw - 20px);
    height: calc(100vh - 65px);
    max-height: unset;
    margin: 10px;
    right: 0px;
    bottom: 45px;
  }
  #aiknowledgebasepremium_bubble_chat_window_header {
    padding: 8px;
  }
  #aiknowledgebasepremium_bubble_chat_window_header h4 {
    font-size: 14px !important;
  }
  .aiknowledgebasepremium_bubble_chat_window_header_text_wrap p {
    font-size: 12px !important;
    line-height: 18px;
  }
  #aiknowledgebasepremium_bubble_chat_window_content {
    padding: 8px;
  }
  #aiknowledgebasepremium_bubble_chat_window_content_request i,
  #aiknowledgebasepremium_bubble_chat_window_content_response i {
    padding: 16px;
  }
  #aiknowledgebasepremium_bubble_chat_window_content_request span,
  #aiknowledgebasepremium_bubble_chat_window_content_response span {
    font-size: 12px;
    line-height: 18px;
    padding: 6px 10px;
    border-radius: 10px;
  }
  #aiknowledgebasepremium_bubble_chat_window_form {
    padding: 8px;
  }
  #aiknowledgebasepremium_bubble_chat_window_form_input {
    padding: 8px 30px 8px 5px !important;
    font-size: 12px;
  }
  #aiknowledgebasepremium_bubble_chat_window_form_submit {
    right: 15px;
  }
}
