
#chatbot-section {
  height: calc(100% + 3rem);
}

[viewport=mobile] .chatbot {
  display: none;
}

[viewport=desktop] .chatbot {
  position: fixed;
  right: -6rem;
  bottom: 13rem;
  z-index: 3;
  transition: right .3s;
}

[viewport=desktop] .chatbot.is-visible {
  right: 4rem;
}

.chatbot-avatar {
  display: inline-block;
  overflow: hidden;
  padding: 0.75rem;
  border: 5px solid #ccc !important;
  background-color: #eee !important;
  border-radius: 50%;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

.chatbot-avatar-image {
  width: 60px;
}

.chatbot-toggle-button {
 position: absolute;
 right: 90%;
 top: 50%;
 transform: translateY(-50%);
 cursor: pointer;
 transition: .3s;
}

.chatbot.is-visible .chatbot-toggle-button {
  left: 90%;
}

.chatbot-toggle-button i {
  font-size: 2.6rem;
  transition: .3s;
}

.chatbot-toggle-button:hover i {
  color: #000;
}

.chatbot.is-visible .chatbot-toggle-button i {
  transform: rotate(180deg);
}

.bubble-container .input-wrap textarea {
  margin: 0;
  width: calc(100% - 30px);
}

.bubble-avatar {
  display: none;
  width: 200px;
  max-width: 200px;
  position: absolute;
  top: 5px;
  right: 110px;
  background-color: #fff;
  border-radius: 10px;
}

.chatbot.is-visible .bubble-avatar {
  display: block;
}

.bubble-arrow {
  display: block;
  position: absolute;
  content: "";
  width: 10px;
  height: 10px;
  right: -12px;
  bottom: 30px;
  background-color: inherit;
  transform: translateX(-6px) rotate(45deg);
  pointer-events: none;
  border-right: 1px solid #ccc;
  border-top: 1px solid #ccc;
}
