#maison-chat-icon > #suggestion {
  background-color: #fff;
  color: currentColor;
  border-radius: 20px;
  outline: 1.5px solid color-mix(in srgb, currentColor 15%, transparent);
}

#maison-chat-window {
  clip-path: border-box;
  overflow: hidden;
  border-radius: 2.375rem;
  box-shadow: inset 0 0 0 1px hsla(215, 20%, 40%, 0.2);
}

#maison-chat-iframe {
  border: none;
}

#maison .hidden {
  visibility: hidden;
}

#maison .suggestion-popout {
  animation: maison-popout-bounce 0.6s ease-in-out forwards;
}

@keyframes maison-popout-bounce {
  0% {
    transform: scale(0) translate(80px, 30px);
    opacity: 0;
  }
  50% {
    transform: scale(1.2) translate(-10px, -3px);
    opacity: 1;
  }
  100% {
    transform: scale(1) translate(0, 0);
    opacity: 1;
  }
}

#maison-chat-window {
  width: 450px;
  height: calc(100% - 60px);
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: none;
  z-index: 99999;
}

#maison-chat-window > iframe {
  position: relative;
  width: 100%;
  height: 100%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  max-width: 100%;
  max-height: 100%;
}

#maison-chat-icon {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: none;
  z-index: 99999;
}

#maison-chat-window.moved,
#maison-chat-icon.moved {
  right: 480px;
}

#maison-chat-icon.moved {
  display: none;
}

#maison-chat-window.visible,
#maison-chat-icon.visible {
  display: block;
}

#maison-chat-icon > #suggestion {
  width: fit-content;
  padding: 5px 4px 5px 15px;
  display: flex;
  flex-flow: row;
  align-items: center;
  user-select: none;
}

#maison-chat-icon #close-suggestion {
  height: 25px;
  background-repeat: no-repeat;
  background-size: contain;
  display: inline-block;
  width: 30px;
  margin-left: 5px;
}

#maison-chat-icon #icon-container {
  float: right;
  width: 75px;
}

#maison-chat-icon #icon-container.float-left {
  float: left;
}

#maison-chat-icon #icon {
  height: 75px;
  background-repeat: no-repeat;
  background-size: contain;
  margin-top: 5px;
  cursor: pointer;
}

#maison-qa-editor {
  display: block;
  position: fixed;
  height: 100%;
  width: 450px;
  right: 0px;
  top: 0px;
  bottom: 0px;
  visibility: hidden;
  z-index: 99999;
}

#maison-qa-editor iframe {
  height: 100%;
  width: 100%;
  border: none;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

#maison-qa-editor.visible {
  visibility: visible;
}

/* Mobile (up to 767px) */
@media only screen and (max-width: 767px) {
  #maison-qa-editor {
    width: 100%;
  }

  #maison-chat-window {
    width: 100%;
    height: calc(100% - 30px);
    bottom: 0px;
    right: 0px;
  }
}

/* Below size is to manage styles when both chat window and QA editor are open. One of them needs to close */
@media only screen and (min-width: 768px) and (max-width: 950px) {
  #maison-qa-editor {
    width: 75%;
  }

  #maison-chat-window.moved,
  #maison-chat-icon.moved {
    visibility: hidden;
  }
}

/* Tablet (768px to 1023px) */
@media only screen and (min-width: 951px) and (max-width: 1023px) {
}

