.chat-box {
  position: fixed;
  right: 20px;
  bottom: 10px;
  z-index: 9999;
  background: #000000;
  border-radius: 100px;
  padding: 17px 15px;
  max-width: 100px;
}
.chat-box img {
  width: 30px; /* Adjust as needed */
  height: auto; /* Maintain aspect ratio */
  color: #ffffff;
}
.chat-box img:hover,
.close-chat-box i:hover,
.open-chat-box i:hover,
.chat-footer i:hover {
  cursor: pointer;
}
.chat-box .close-chat-box {
  display: none;
}


.chat-widget {
  max-width: 400px;
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 100%;
  border-radius: 15px;
  background: #f1f1f1;
  display: none;
}

.chat-widget-heading {
  background: #000;
  color: #fff;
  padding: 15px;
  border-radius: 10px 10px 0 0;
}
.chat-widget-heading h3 {
  font-size: 16px;
  padding-top: 5px;
}

.chat-profile {
  max-width: 50px;
  margin-right: 10px;
  background: #000;
  padding: 5px;
  border-radius: 100%;
}
.agent-reply .chat-profile {
  margin-bottom: 25px;
}
.chat-body {
  padding: 25px;
  max-height: 350px;
  overflow-y: auto;
  padding-bottom: 50px;
}
.agent-reply-msg p,
.agent-reply ul {
  background: #fffcfc;
  padding: 15px;
  border-radius: 10px;
  font-size: 15px;
  margin-bottom: 0;
}
.agent-reply ul li {
  list-style: none;
}
.agent-reply ul li {
  border: 1px solid #dddddd;
  background: #ffffff;
  padding: 5px 10px;
  border-radius: 10px;
  margin-bottom: 10px;
  display: inline-flex;
}
.agent-reply ul li:hover {
  cursor: pointer;
}
.agent-reply-msg span {
  font-size: 12px;
  color: #696767;
}
.agent-reply {
  margin-right: 35px;
}
.user-query {
  text-align: right;
  margin-top: 15px;
}
.user-query p {
  background: #000000;
  padding: 15px;
  border-radius: 10px;
  font-size: 15px;
  margin-bottom: 15px;
  color: #ffffff;
  margin-left: 35px;
  display: inline-flex;
}
.chat-footer .form-control {
  padding: 25px;
  background: #fff;
  border: none;
}
.chat-footer .form-control:focus {
  box-shadow: none;
}
.chat-footer {
  border-radius: 0 0 10px 10px;
}

.hidden {
  display: none !important;
}
#typingIndicator {
  position: absolute;
  bottom: 60px; /* Adjust this value based on the height of your input area */
  width: 100%;
  margin-bottom: 15px;
  margin-left: 25px;
  display: none;
  /* Other styles... */
}
#typingIndicator::after {
  overflow: hidden;
  display: inline-block;
  vertical-align: bottom;
  -webkit-animation: ellipsis steps(4, end) 900ms infinite;
  animation: ellipsis steps(4, end) 900ms infinite;
  content: "\2026"; /* ascii code for the ellipsis character */
  width: 0px;
}

@keyframes ellipsis {
  to {
    width: 1.25em;
  }
}

@-webkit-keyframes ellipsis {
  to {
    width: 1.25em;
  }
}
