.mwai-chat .mwai-conversation {
  padding: 5px;
  overflow: hidden !important;
}

.mwai-chat .mwai-ai code {
  padding-bottom: 20px;
  font-size: .85rem;
  font-family: monospace !important;
  /*scrollbar-color: #666 #343541;*/
}

.mwai-chat .mwai-name-text {
  display: none;
}

.mwai-chat .mwai-conversation {
  display: flex;
  flex-direction: column;
}

.mwai-chat .mwai-ai {
  align-self: flex-start;
}

.mwai-chat .mwai-user {
  align-self: flex-end;
}

.mwai-chat .mwai-ai {
  background-color: #333 !important;
  position: relative;
  max-width: 255px;
  margin-bottom: 15px;
  padding: 10px 20px;
  font-family: Helvetica Neue,Helvetica,Arial,sans-serif;
  line-height: 24px;
  word-wrap: break-word;
  border-radius: 25px;
}

.mwai-chat .mwai-ai::before {
  width: 20px;
}

.mwai-chat .mwai-ai::after {
  width: 26px;
  background: #333 !important;
}

.mwai-chat .mwai-ai::before, .mwai-chat .mwai-ai::after {
  position: absolute;
  bottom: 0;
  height: 25px;
  transition: transform .2s ease-out;
  content: "";
}

.mwai-chat .mwai-user {
  background: #0B93F6 !important;
  background-attachment: scroll;
  background-attachment: fixed;
  position: relative;
  border-radius: 20px;
  padding: 9px 15px !important;
  margin-top: 15px;
  margin-bottom: 15px;
  display: inline-block;
}

.mwai-chat .mwai-user::before {
  content: "";
  position: absolute;
  z-index: 0;
  bottom: 0;
  right: -8px;
  height: 20px;
  width: 20px;
  background: #0b93f6 !important;
  background-attachment: scroll;
  background-attachment: fixed;
  border-bottom-left-radius: 15px;
}

.mwai-chat .mwai-user::after {
  content: "";
  position: absolute;
  z-index: 1;
  bottom: 0;
  right: -10px;
  width: 10px;
  height: 20px;
  background: #121212;
  border-bottom-left-radius: 10px;
}

.mwai-chat.mwai-window.mwai-open .mwai-header {
  display: flex;
}

.mwai-chat.mwai-window.mwai-open .mwai-content {
  display: flex;
  transition: opacity 200ms ease-in-out 0s;
  opacity: 1;
}

.mwai-chat.mwai-window.mwai-open .mwai-open-button {
  display: none;
}
