/* Popup */
.popup {
  display: none;
  position: fixed;
  left: auto;
  bottom: 0px;
  right: 0px;
  margin-right: 20px;
  margin-bottom: 116px;
  transform: translate3d(0px, 0px, 0px);
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.popup-content {
  width: 360px;
  border-radius: 10px;
  overflow: hidden;
  background-color: white;
}

#closeButton {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  opacity: 0.4;
  cursor: pointer;
  transition: all 0.3s ease 0s;
  outline: transparent;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
  display: flex !important;
}
#closeButton::before {
  transform: rotate(45deg);
}
#closeButton::after {
  transform: rotate(-45deg);
}
#closeButton::before,
#closeButton::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 2px;
  background-color: rgb(255, 255, 255);
  display: block;
  border-radius: 2px;
}

.contact-info {
  background: rgb(23, 26, 39);
  color: rgb(17, 17, 17);
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  padding: 24px 20px;
}

.profile-picture-online,
.profile-picture-offline {
  display: block;
  flex-shrink: 0;
  overflow: inherit;
  cursor: pointer;
  position: relative;
  width: 52px;
  height: 52px;
  box-shadow: rgba(17, 17, 17, 0.1) 0px 0px 2px inset;
  border-radius: 50%;
  overflow: inherit;
}
.profile-picture-online::before {
  background-color: rgb(14, 193, 47);
  display: block;
  border: 2px solid rgb(23, 26, 39);
  content: "";
  bottom: 0px;
  right: 0px;
  width: 12px;
  height: 12px;
  box-sizing: border-box;
  position: absolute;
  z-index: 1;
  border-radius: 50%;
}
.profile-picture-offline::before {
  background-color: rgb(222, 23, 23);
  display: block;
  border: 2px solid rgb(23, 26, 39);
  content: "";
  bottom: 0px;
  right: 0px;
  width: 12px;
  height: 12px;
  box-sizing: border-box;
  position: absolute;
  z-index: 1;
  border-radius: 50%;
}

.profile-picture-inner {
  width: inherit;
  height: inherit;
  transition: opacity 1s ease-out 0s;
  background-color: rgb(210, 210, 210);
  opacity: 1;
  border-radius: 50%;
  overflow: hidden;
}

.profile-image {
  object-fit: cover;
  display: inline-block !important;
  position: static !important;
  margin: 0px !important;
  padding: 0px !important;
  max-width: none !important;
  height: inherit !important;
  width: inherit !important;
  visibility: visible !important;
}

.contact-details {
  margin-left: 16px;
  margin-right: 16px;
  width: 100%;
  overflow: hidden;
}

.contact-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  max-height: 60px;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: rgb(255, 255, 255);
}

.response-time {
  font-size: 13px;
  line-height: 18px;
  margin-top: 4px;
  color: rgb(255, 255, 255);
}

.message-content {
  padding: 20px 20px 20px 10px;
  background-color: rgb(230, 221, 212);
  position: relative;
  overflow: auto;
  max-height: 382px;
}
.message-content::before {
  display: block;
  position: absolute;
  content: "";
  left: 0px;
  top: 0px;
  height: 100%;
  width: 100%;
  z-index: 0;
  opacity: 0.08;
  background-image: url(https://static.elfsight.com/apps/all-in-one-chat/patterns/whatsapp.png);
}

.message {
  display: flex;
  z-index: 1;
}

.message-pin {
  background-color: rgb(255, 255, 255);
  width: 52.5px;
  height: 32px;
  border-radius: 16px;
  display: flex;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
  margin-left: 10px;
  opacity: 0;
  transition: all 0.1s ease 0s;
  z-index: 1;
  box-shadow: rgba(0, 0, 0, 0.13) 0px 1px 0.5px;
}

.message-text {
  box-sizing: border-box;
  padding: 7px 14px 6px;
  position: relative;
  transition: all 0.3s ease 0s;
  opacity: 0;
  transform-origin: center top;
  z-index: 2;
  margin-left: -54px;
  color: rgb(17, 17, 17);
  font-size: 15px;
  line-height: 1.39;
  max-width: calc(100% - 55px);
  border-radius: 0px 8px 8px;
  background-color: rgb(255, 255, 255);
  margin-top: 4px;
  opacity: 1;
}
.message-text::before {
  position: absolute;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAmCAMAAADp2asXAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAACQUExURUxpccPDw9ra2m9vbwAAAAAAADExMf///wAAABoaGk9PT7q6uqurqwsLCycnJz4+PtDQ0JycnIyMjPf3915eXvz8/E9PT/39/RMTE4CAgAAAAJqamv////////r6+u/v7yUlJeXl5f///5ycnOXl5XNzc/Hx8f///xUVFf///+zs7P///+bm5gAAAM7Ozv///2fVensAAAAvdFJOUwCow1cBCCnqAhNAnY0WIDW2f2/hSeo99g1lBYT87vDXG8/6d8oL4sgM5szrkgl660OiZwAAAHRJREFUKM/ty7cSggAABNFVUQFzwizmjPz/39k4YuFWtm55bw7eHR6ny63+alnswT3/rIDzUSC7CrAziPYCJCsB+gbVkgDtVIDh+DsE9OTBpCtAbSBAZSEQNgWIygJ0RgJMDWYNAdYbAeKtAHODlkHIv997AkLqIVOXVU84AAAAAElFTkSuQmCC);
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  top: 0px;
  left: -12px;
  width: 12px;
  height: 19px;
}

.message-contact {
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
  color: rgba(0, 0, 0, 0.4);
}

.message-body {
  font-size: 14px;
  line-height: 19px;
  margin-top: 4px;
  color: rgb(17, 17, 17);
}

.message-time {
  text-align: right;
  margin-top: 4px;
  font-size: 12px;
  line-height: 16px;
  color: rgba(17, 17, 17, 0.5);
  margin-right: -8px;
  margin-bottom: -4px;
}

.whatsapp-button {
  border-radius: 24px;
  color: rgb(255, 255, 255);
  font-family: inherit;
  font-weight: bold;
  font-size: 16px;
  border-width: 0px;
  margin: 20px;
  backface-visibility: hidden;
  width: calc(100% - 40px);
  max-width: 100%;
  line-height: 1.32;
  box-sizing: border-box;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  border-style: solid;
}
.whatsapp-button span > div {
  width: 20px;
  height: 20px;
}
.whatsapp-button:focus {
  outline: none;
}
.whatsapp-button:hover {
  color: white;
}

.whatsapp-icon {
  padding: 10px;
  background-color: rgba(0, 0, 0, 0);
  display: inline-flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  border-radius: inherit;
  box-sizing: border-box;
  width: 100%;
}

.whatsapp-logo {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  margin-left: -4px;
}

.whatsapp-logo-inner {
  width: 20px;
  height: 20px;
}
.whatsapp-logo-inner img,
.whatsapp-logo-inner svg {
  padding: 1px;
  display: block;
  object-fit: contain;
  width: 20px;
  height: 20px;
}

.button-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cursor-pointer {
  cursor: pointer;
}
.cursor-disabled {
  pointer-events: none;
}
.cursor-disabled:hover {
  cursor: not-allowed;
}
