.chat-btn {
  position: fixed;
  bottom: 28px;
  left: 30px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 28px;
  z-index: 999;
  box-shadow: 0px 0px 41px 2px rgba(142.8, 142.8, 142.8, 0.5);
}
.chat-popup {
  display: none;
  position: fixed;
  bottom: 90px;
  left: 20px;
  width: 320px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  z-index: 1000;
}
.chat-header {
  background: #075e54;
  color: white;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-header .profile {
  display: flex;
  align-items: center;
}
.profile {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
.chat-header img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}
.chat-header .icons i {
  margin-left: 15px;
  cursor: pointer;
}
.chat-body {
  background: #ece5dd url("../images/whatsapp-background.png") repeat;
  background-size: cover;
  height: 250px;
  padding: 10px;
  overflow-y: auto;
}
.chat-date {
  text-align: center;
  font-size: 12px;
  color: #555;
  margin: 10px 0;
}
.chat-msg {
  margin: 8px 0;
  max-width: 70%;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px;
  position: relative;
}
.chat-msg.sent {
  background: #dcf8c6;
  margin-left: auto;
}
.chat-msg.received {
  background: white;
  margin-right: auto;
}
.chat-time {
  display: block;
  font-size: 10px;
  color: gray;
  text-align: right;
  /* margin-top: 3px; */
}
.chat-input {
  display: flex;
  align-items: center;
  padding: 8px 12px 8px 5px;
  gap: 5px;
  background: #f0f0f0;
}
.chat-input input {
  flex: 1;
  padding: 8px;
  border-radius: 20px;
  border: none;
  outline: none;
}
.chat-input i {
  font-size: 18px;
  margin-left: 8px;
  color: gray;
  cursor: pointer;
}
.chat-input i.fa-microphone {
  color: #075e54;
}
#sendBtn {
  color: #075e54;
  font-size: 20px;
}
