/** by harcharan **/
.typehere {
  width: 100%;
  height: 100%;
  background: transparent;
  color: inherit;
  border: none;
}

.typehere::placeholder {
  color: inherit;
}

.typehere:focus {
  outline: none;
}

.enter-question {
  position: relative;
  height: 10%;
  min-height: 100px;
}

.circles {
  display: none;
  height: 100px;
  width: 100px;
  position: absolute;
  right: -14px;
  pointer-events: none;
}

.enter-question.active .circles {
  display: block;
}

.enter-question.active span {
  background: transparent;
}

.circles>div {
  animation: growAndFade 3s infinite ease-out;
  background-color: #f8004a;
  border-radius: 50%;
  height: 100%;
  opacity: 0;
  position: absolute;
  width: 100%;
}

.circles .circle1 {
  animation-delay: 1s;
}

.circles .circle2 {
  animation-delay: 2s;
}

.circles .circle3 {
  animation-delay: 3s;
}

@keyframes growAndFade {
  0% {
    opacity: 0.25;
    transform: scale(0);
  }

  100% {
    opacity: 0;
    transform: scale(1);
  }
}

#loader {
  display: none;
  position: absolute;
  margin: 0;
  padding: 0;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.7);
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  z-index: 999;
  overflow: hidden;
}

.content {
  height: 100%;
}

#chat-container {
  height: 90%;
  overflow-y: auto;
  padding-bottom: 20px;
}

#chat {
  height: auto;

}

.chat-list {
  border-radius: 20px;
  width: calc(100% - 80px);
  margin-top: 10px;
  background: #113b52;
}

.chat-list::after {
  width: 25px;
  height: 25px;
  top: 15px;
  right: -25px;
}

.robot {
  padding: 16px 0 0;
}

#micbtn {
  width: 70px;
  height: 70px;
  display: grid;
  align-items: center;
  justify-content: center;
}

#toggle-sidebar {
  display: inline-block;
  cursor: pointer;
  position: relative;
}

#close-sidebar {
  cursor: pointer;
}

#recent-chats a {
  text-overflow: ellipsis;
  overflow: hidden;
  width: 100%;
  display: inline-block;
  white-space: nowrap;
}

@media (max-width: 767px) {
  #micbtn {
    width: 46px;
    height: 46px;
  }

  #micbtn img {
    max-width: 24px;
  }

  .circles {
    height: 48px;
    width: 48px;
    right: 0px;
  }

  .cross-icon {
    margin-bottom: 20px;
  }

  .cross-icon img {
    max-width: 20px;
    margin: 0;
  }

  .content {
    height: calc(100% - 40px);
  }
}

/** custom scroll **/
/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.error {
  font-size: .85rem;
  color: #f00;
  margin: 0;
  padding-top: .5rem;
  padding-left: 1rem;
}

.alert {
  position: absolute;
  top: 1rem;
  right: 1rem;
}