.chat-bar-collapsible {
  position: fixed;
  bottom: 0;
  right: 50px;
  box-shadow: 0px 8px 16px 0 black;
}
.collapsible {
   
  background-color: rgb(82, 151, 255);
  color: white;
  cursor: pointer;
  padding: 18px;
  width: 350px;
  text-align: left;
  outline: none;
  font-size: 18px;
  border-radius: 10px 10px 0 0;
  border: 3px solid white;
  border-bottom: none;
}

.content{
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in;
    background-color: white;
}

.active{
    max-height :500px;
}

.full-chat-block {
  width: 350px;
  background-color: white;
  text-align: center;
  overflow: auto;
  height: max-content;
  transition: max-height 0.2s ease-out;
}

.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; */
  hyphens: auto;
}
.chat-container::-webkit-scrollbar {
  width: 10px;
}

.chat-bar-input-block {
  display: flex;
  float: left;
  /* position: fixed; */
  box-sizing: border-box;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  background-color: #666;
  border-radius: 10px 10px 0 0;
  padding: 10px 0 10px 10px;
}
.chat-bar-icons {
  display: flex;
  justify-content: space-evenly;
  box-sizing: border-box;
  width: 25%;
  float: right;
  font-size: 20px;
}
#chat-icon:hover {
  opacity: 7;
}
#userInput {
  width: 75%;
}
.input-box {
  float: left;
  border: none;
  box-sizing: border-box;
  padding: 10px;
  font-size: 16px;
  color: black;
  outline: none;
}


.userText {
  color: black;
  font-size: 16px;
  /* align-items: flex-start; */
  text-align:right;
  line-height: 1.5em;
  display: flex;
  max-width: -40%;
  background: #e0e0e0;
  padding: 5px 40px 20px 10px;
  /* padding-bottom: 20px; */
  border-radius: 8px;
  margin-right: 10px;
  margin-left: 50%;
  animation: floatup 0.5s forwards;
}

/* .botText {
  color: black;
  font-size: 16px;
  text-align:left;
} */

.botText {
  color: black;
  font-size: 16px;
  /* align-items: flex-start; */
  text-align:left;
  line-height: 1.5em;
  display: flex;
  max-width: 40%;
  background: #e0e0e0;
  padding: 5px 40px 20px 10px;
  /* padding-bottom: 20px; */
  border-radius: 8px;
  margin-left: 10px;
  animation: floatup 0.5s forwards;
}
.timespanbot{
  position: absolute;
  font-size: 12px;
  right: 5px;
  /* display: inline; */
  padding-top: 5px;
  padding-right: 5px;
  bottom: 0;
}
.timespanuser{
  position: absolute;
  font-size: 12px;
  right: 5px;
  /* display: inline; */
  padding-top: 5px;
  padding-right: 5px;
  bottom: 0;
}
@keyframes floatup {
  from {
    transform: translateY(14px);
    opacity: 0;
  }
  to {
    transform: translateY(0px);
    opacity: 1;
  }
}

@media screen and (max-width: 350px) {
  .full-chat-block {
    width: 100%;
    border-radius: 0;
  }
  .chat-bar-collapsible {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
  }
  .collapsible {
    width: 100%;
    border: 0px;
    border-top: 3px solid white;
  }
}
