#aiass_chat {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: calc(100vw - 40px);
  height: calc(100vh - 40px);
  max-width: 400px;
  max-height: 600px;
  background-color: #fff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1), 0 0 40px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  overflow: hidden;
  z-index: 100000;
  font-size: 14px !important;
  font-weight: 400;
  display: flex;
  flex-direction: column;
}

#aiass_open {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  cursor: pointer;
  z-index: 100000;
}
#aiass_open svg {
  width: 60px;
  height: 60px;
}

#aiass_chat p, #aiass_chat br, #aiass_open p, #aiass_open br {
  display: none;
}

#aiass_header {
  padding: 0 15px;
  background-color: #517da2;
  color: #fff;
  height: 40px;
  line-height: 40px;
  font-weight: 500;
}
#aiass_header #aiass_close {
  position: absolute;
  top: 5px;
  right: 10px;
  cursor: pointer;
}
#aiass_header #aiass_close:hover svg {
  opacity: 0.8;
}
#aiass_header #aiass_close svg {
  width: 16px;
  height: 16px;
  margin: 7px 5px 0 5px;
  fill: white;
  vertical-align: top;
  transition-duration: 0.3s;
}
#aiass_header #aiass_new_thread {
  position: absolute;
  top: 2px;
  right: 40px;
  cursor: pointer;
}
#aiass_header #aiass_new_thread:hover svg {
  opacity: 0.8;
}
#aiass_header #aiass_new_thread svg {
  width: 14px;
  height: 14px;
  transition-duration: 0.3s;
  opacity: 0.5;
}

#aiass_messages {
  padding: 10px 10px 35px 10px;
  flex-grow: 1;
  overflow-y: auto;
  font-size: 0;
  line-height: 0;
  position: relative;
}
#aiass_messages > div {
  width: 100%;
  display: inline-block;
}
#aiass_messages .message, #aiass_messages .message p, #aiass_messages .message li {
  font-size: 13.5px;
  line-height: 22px;
  color: black;
}
#aiass_messages .message {
  padding: 6px 14px;
  margin-bottom: 10px;
  border-radius: 17px;
  position: relative;
}
#aiass_messages .message.user {
  background-color: #ebeff1;
  border-bottom-right-radius: 4px;
  float: right;
  margin-left: 80px;
}
#aiass_messages .message.assistant {
  background-color: #e5f6d9;
  border-bottom-left-radius: 4px;
  float: left;
}
#aiass_messages .message br, #aiass_messages .message p {
  display: block;
}
#aiass_messages .message p:not(:first-of-type) {
  margin-top: 12px;
}
#aiass_messages .message br, #aiass_messages .message p, #aiass_messages .message ul, #aiass_messages .message ol, #aiass_messages .message li {
  margin: 0;
}
#aiass_messages .message ul, #aiass_messages .message ol {
  margin-top: 12px;
  padding-left: 13px;
}
#aiass_messages .message ul li, #aiass_messages .message ol li {
  list-style-position: outside;
}
#aiass_messages .message a {
  text-decoration: none;
  outline: none;
}
#aiass_messages .message a:hover {
  text-decoration: underline;
}
#aiass_messages .message a:has(sup):hover {
  text-decoration: none;
}
#aiass_messages .message a:has(sup):hover sup {
  text-decoration: underline;
}
#aiass_messages .message h1, #aiass_messages .message h2, #aiass_messages .message h3, #aiass_messages .message h4, #aiass_messages .message h5, #aiass_messages .message h6 {
  color: black;
  line-height: 1.5;
  margin: 0.75rem 0 0 0;
}
#aiass_messages .message h1 {
  font-size: 28px;
}
#aiass_messages .message h2 {
  font-size: 24px;
}
#aiass_messages .message h3 {
  font-size: 21px;
}
#aiass_messages .message h4 {
  font-size: 18px;
}
#aiass_messages .message h5 {
  font-size: 14px;
}
#aiass_messages .message h6 {
  font-size: 12px;
}
#aiass_messages .reactions {
  width: auto;
  margin-top: -7px;
  padding: 5px 10px;
  border-radius: 4px;
  background: #eceff1;
  position: absolute;
  display: block;
}
#aiass_messages .reactions.hidden {
  opacity: 0;
}
#aiass_messages .reactions.hidden:hover {
  opacity: 1;
}
#aiass_messages .reactions > span {
  width: 20px;
  height: 20px;
  cursor: pointer;
  display: inline-block;
  opacity: 0.25;
  margin-right: 5px;
  transition-duration: 0.3s;
}
#aiass_messages .reactions > span[data-reacted=true], #aiass_messages .reactions > span:hover {
  opacity: 1;
}
#aiass_messages .reactions > span:last-child {
  margin-right: 0;
}
#aiass_messages .reactions > span img {
  width: 20px;
}

#aiass_messages .message.assistant.typing {
  min-width: 80px;
  padding-right: 0;
}
#aiass_messages .message.assistant img {
  width: 12px;
  margin-top: 4px;
  position: absolute;
  animation: typing 1.5s infinite;
}
#aiass_messages .message.assistant .dot1, #aiass_messages .message.assistant .dot2, #aiass_messages .message.assistant .dot3 {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #b1d792;
  margin-right: 5px;
  vertical-align: middle;
  animation: dot 1s infinite;
}
#aiass_messages .message.assistant .dot1 {
  margin-left: 20px;
}
#aiass_messages .message.assistant .dot2 {
  animation-delay: 0.2s;
}
#aiass_messages .message.assistant .dot3 {
  animation-delay: 0.4s;
}

@keyframes dot {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5);
  }
}
@keyframes typing {
  0%, 100% {
    transform: translateY(1px);
  }
  50% {
    transform: translateY(-1px);
  }
}
#aiass_form {
  display: flex;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  height: 40px;
  position: relative;
}
#aiass_form input[type=text] {
  width: 100%;
  height: 40px;
  font-size: 13.5px;
  line-height: 40px;
  padding: 0 15px;
  border: none;
  outline: none;
}
#aiass_form button {
  height: 40px;
  padding: 0 10px;
  margin: 0;
  width: auto;
  background-color: #fff;
  border: none;
  outline: none;
  cursor: pointer;
  font-weight: bold;
}
#aiass_form button svg {
  width: 26px;
  vertical-align: middle;
  transition-duration: 0.3s;
}
#aiass_form button svg path {
  fill: #6992b4;
  transition-duration: 0.3s;
}
#aiass_form button:hover svg path {
  fill: #517da2;
}
#aiass_form button:disabled {
  pointer-events: none;
  cursor: default;
  opacity: 0.7;
}
#aiass_form button:disabled svg {
  transform: scale(0.75);
}

#aiass_message_error {
  position: absolute;
  width: calc(100% - 10px);
  left: 5px;
  top: -29px;
  padding: 0 10px;
  background: #ffd400;
  color: #343434;
  height: 24px;
  line-height: 24px;
  border-radius: 4px;
  transform: translateY(0px);
  transition-duration: 0.3s;
  opacity: 1;
}
#aiass_message_error.hidden {
  display: block;
  pointer-events: none;
  transform: translateY(10px);
  opacity: 0;
}

.aiass_scrollbar::-webkit-scrollbar {
  width: 10px;
}

.aiass_scrollbar::-webkit-scrollbar-track {
  background: #fff;
}

.aiass_scrollbar::-webkit-scrollbar-thumb {
  background: #e6e6e6;
  transition-duration: 0.3s;
  border-radius: 5px;
  border: 3px #FFF solid;
}

.aiass_scrollbar::-webkit-scrollbar-thumb:hover {
  background: #d4d4d4;
}

#aiass_chat.dark {
  background-color: #2e343b;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2), 0 0 40px rgba(0, 0, 0, 0.2);
  color: #fff;
}
#aiass_chat.dark #aiass_header {
  background-color: #517da2;
  color: #fff;
}
#aiass_chat.dark #aiass_header #aiass_close:hover svg {
  opacity: 0.8;
}
#aiass_chat.dark #aiass_header #aiass_close svg {
  fill: #fff;
}
#aiass_chat.dark #aiass_header #aiass_new_thread:hover svg {
  opacity: 0.8;
}
#aiass_chat.dark #aiass_header #aiass_new_thread svg {
  fill: #fff;
}
#aiass_chat.dark #aiass_messages .message {
  color: #fff;
}
#aiass_chat.dark #aiass_messages .message.user {
  background-color: #485764;
}
#aiass_chat.dark #aiass_messages .message.assistant {
  background-color: #517da2;
}
#aiass_chat.dark #aiass_messages p, #aiass_chat.dark #aiass_messages h1, #aiass_chat.dark #aiass_messages h2, #aiass_chat.dark #aiass_messages h3, #aiass_chat.dark #aiass_messages h4, #aiass_chat.dark #aiass_messages h5, #aiass_chat.dark #aiass_messages h6 {
  color: #fff;
}
#aiass_chat.dark #aiass_messages .reactions {
  background: #485764;
}
#aiass_chat.dark #aiass_messages .reactions > span img {
  filter: invert(1);
}
#aiass_chat.dark #aiass_messages .message.assistant .dot1, #aiass_chat.dark #aiass_messages .message.assistant .dot2, #aiass_chat.dark #aiass_messages .message.assistant .dot3 {
  background-color: #fff;
}
#aiass_chat.dark #aiass_messages .message.assistant img {
  filter: grayscale(100%);
}
#aiass_chat.dark #aiass_form {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0);
}
#aiass_chat.dark #aiass_form input[type=text] {
  background-color: #21252b;
  color: #fff;
}
#aiass_chat.dark #aiass_form input[type=text]::placeholder {
  color: #6c757d;
}
#aiass_chat.dark #aiass_form button {
  background-color: #21252b;
}
#aiass_chat.dark #aiass_form button svg {
  filter: saturate(1.2);
}
#aiass_chat.dark #aiass_form button svg path {
  fill: #6992b4;
}
#aiass_chat.dark #aiass_form button:hover svg path {
  fill: #517da2;
}
#aiass_chat.dark .aiass_scrollbar::-webkit-scrollbar {
  width: 10px;
}
#aiass_chat.dark .aiass_scrollbar::-webkit-scrollbar-track {
  background: #2e343b;
}
#aiass_chat.dark .aiass_scrollbar::-webkit-scrollbar-thumb {
  background: #3a4d5b;
  border-color: #2e343b;
}
#aiass_chat.dark .aiass_scrollbar::-webkit-scrollbar-thumb:hover {
  background: #485764;
  border-color: #2e343b;
}

@media screen and (max-width: 768px) {
  #aiass_chat {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
  }
}
.show-ai-assistant {
  cursor: pointer;
}

/*# sourceMappingURL=chat.css.map */
