/** @format */
/** @format */
.chat-bar-collapsible {
  bottom: 0;
  right: 50px;
  -webkit-box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
          box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  color: #131313;
  z-index: 100;
  position: fixed;
}

.collapsible {
  background-color: #bbff99;
  color: #131313;
  cursor: pointer;
  padding: 18px;
  width: 350px;
  text-align: left;
  outline: none;
  font-size: 18px;
  border-radius: 10px 10px 0px 0px;
  border: 3px solid #131313;
  border-bottom: none;
  z-index: 100;
}

.collapsible:hover {
  color: linear-gradient(to top, #ffcc66 0%, #ff99ff 100%);
  -webkit-transition: all 0.5s ease-in;
  transition: all 0.5s ease-in;
}

.content {
  max-height: 0;
  overflow: hidden;
  -webkit-transition: max-height 0.2s ease-out;
  transition: max-height 0.2s ease-out;
  background-color: #fff;
}

.full-chat-block {
  width: 350px;
  background: #fff;
  text-align: center;
  overflow: auto;
  scrollbar-width: none;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  -webkit-transition: max-height 0.2s ease-out;
  transition: max-height 0.2s ease-out;
  border: 3px solid #131313;
  border-top: none;
  border-bottom: none;
}

.outer-container {
  min-height: 500px;
  bottom: 0%;
  position: relative;
}

.chat-container {
  max-height: 500px;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  scroll-behavior: smooth;
  -webkit-hyphens: auto;
      -ms-hyphens: auto;
          hyphens: auto;
}

.chat-container::-webkit-scrollbar {
  display: none;
}

.chat-bar-input-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  float: left;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 100%;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: #ebebeb;
  border-radius: 10px 10px 0px 0px;
  padding: 10px 0px 10px 10px;
}

.chat-bar-icons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: 25%;
  float: right;
  font-size: 20px;
  color: #fff;
}

#chat-icon:hover {
  opacity: 0.7;
}

/* Chat bubbles */
#userInput {
  width: 75%;
}

.input-box {
  float: left;
  border: none;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: 100%;
  border-radius: 10px;
  padding: 10px;
  font-size: 16px;
  color: #131313;
  background-color: #fff;
  outline: none;
}

.userText {
  color: #131313;
  font-family: Helvetica;
  font-size: 16px;
  font-weight: normal;
  text-align: right;
  clear: both;
}

.userText span {
  line-height: 1.5em;
  display: inline-block;
  background: #00ffff;
  padding: 10px;
  border-radius: 8px;
  border-bottom-right-radius: 2px;
  max-width: 80%;
  margin-right: 10px;
  margin-bottom: 10px;
  -webkit-animation: floatup 0.5s forwards;
          animation: floatup 0.5s forwards;
}

.botText {
  color: #131313;
  font-family: Helvetica;
  font-weight: normal;
  font-size: 16px;
  text-align: left;
}

.botText span {
  line-height: 1.5em;
  display: inline-block;
  background: #e0e0e0;
  padding: 10px;
  border-radius: 8px;
  border-bottom-left-radius: 2px;
  max-width: 80%;
  margin-left: 10px;
  margin-bottom: 10px;
  -webkit-animation: floatup 0.5s forwards;
          animation: floatup 0.5s forwards;
}

@-webkit-keyframes floatup {
  from {
    -webkit-transform: translateY(14px);
            transform: translateY(14px);
    opacity: 0;
  }
  to {
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
    opacity: 1;
  }
}

@keyframes floatup {
  from {
    -webkit-transform: translateY(14px);
            transform: translateY(14px);
    opacity: 0;
  }
  to {
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
    opacity: 1;
  }
}

@media screen and (max-width: 600px) {
  .full-chat-block {
    width: 100%;
    border-radius: 0px;
    border: 3px solid #131313;
    border-bottom: none;
    border-top: none;
  }
  .chat-bar-collapsible {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
  }
  .collapsible {
    width: 100%;
    border: 0px;
    border-top: 3px solid #131313;
    border-radius: 0px;
  }
}
