@keyframes blink {
  from,
  to {
    color: transparent;
  }

  50% {
    color: black;
  }
}

@-moz-keyframes blink {
  from,
  to {
    color: transparent;
  }

  50% {
    color: black;
  }
}

@-webkit-keyframes blink {
  from,
  to {
    color: transparent;
  }

  50% {
    color: black;
  }
}

@-ms-keyframes blink {
  from,
  to {
    color: transparent;
  }

  50% {
    color: black;
  }
}

@-o-keyframes blink {
  from,
  to {
    color: transparent;
  }

  50% {
    color: black;
  }
}

.chatpopup-widget * {
  box-sizing: border-box;
}

.chatpopup-widget {
  position: fixed;
  bottom: 12px;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.chatpopup-input-icon img {
  margin: auto;
}

.chatpopup-widget__body {
  margin-bottom: 10px;
  min-width: 200px;
  max-width: 300px;
  display: none;
  margin-left: 12px;
}

.chatpopup-widget__body-header {
  padding: 15px;
  font-size: 20px;
  font-style: italic;
  line-height: 22px;
  text-align: center;
  border-radius: 5px 5px 0 0;
  position: relative;
}

.chatpopup-widget-close {
  position: absolute;
  top: -33px;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.chatpopup-support-persons {
  background-color: #fff;
  padding: 15px;
  box-shadow: 0 50px 30px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 4px 4px;
  max-height: 370px;
  overflow-y: auto;
  min-height: 20px;
}

.chatpopup-support-person {
  display: flex;
  margin-bottom: 15px;
  border: 1px solid #f5f5f5;
  cursor: pointer;
}

.chatpopup-support-person__img {
  width: 80px;
  height: 80px;
  margin-right: 15px;
  position: relative;
}

.chatpopup-support-person__img img {
  width: 100%;
  border-radius: 0;
}

.chatpopup-support-person__status {
  background-color: red;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  position: absolute;
  bottom: 0;
  right: 0;
}

.chatpopup-support-person__status--avail {
  background-color: #6134b7;
}

.chatpopup-support-person__status--not-avail {
  background-color: #ffa700;
}

.chatpopup-support-person__meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.chatpopup-support-person__name,
.chatpopup-support-person__title {
  line-height: 22px;
}

.chatpopup-support-person__name {
  font-size: 15px;
  font-weight: 700;
  color: #706f6f;
}

.chatpopup-support-person__title {
  color: #6134b7;
}

.chatpopup-welcome-msg {
  padding: 5px 15px;
  border-radius: 0 0 4px 4px;
}

.chatpopup-custom-offer {
  margin: 10px 0;
}

.chatpopup-custom-offer img {
  width: 100%;
}

.chatpopup-widget__trigger {
  padding: 10px 10px;
  border-radius: 100%;
  cursor: pointer;
  font-size: 14px;
  display: inline-block;
  user-select: none;
  display: flex;
  align-items: center;
  margin-right: 21px;
}
.chatpopup-widget__trigger svg {
  margin-right: 0px;
}

.chatpopup-gdpr {
  font-size: 15px;
  border: 1px solid transparent;
  padding-left: 15px;
  background-color: #fff;
}

.chatpopup-gdpr.error {
  border: 1px solid red;
}

a.chatpopup-whatsapp-button {
  padding: 6px 20px !important;
  text-align: center !important;
  text-decoration: none !important;
  margin-right: 5px !important;
  border-radius: 2px !important;
  cursor: pointer !important;
  font-size: 15px !important;
  outline: none !important;
  display: inline-block !important;
}

.chatpopup-blinking-cursor {
  font-weight: 100;
  font-size: 15px;
  color: #2e3d48;
  -webkit-animation: 1s blink step-end infinite;
  -moz-animation: 1s blink step-end infinite;
  -ms-animation: 1s blink step-end infinite;
  -o-animation: 1s blink step-end infinite;
  animation: 1s blink step-end infinite;
}

.chatpopup-input-wrapper {
  display: flex;
  align-items: center;
  padding: 5px 5px;
  background: #fff;
  box-shadow: 0 50px 30px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 4px 4px;
  border-top: 1px solid #ccc;
}

.chatpopup-input-wrapper input {
  flex: 1;
  height: 5px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

#chatpopup-type-and-chat-input {
  width: 100%;
  padding: 10px;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  background-color: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

#chatpopup-type-and-chat-input:focus {
  outline: none;
  border-color: #6134b7;
  box-shadow: 0 0 0 3px rgba(160, 32, 240, 0.1);
}

#chatpopup-type-and-chat-input::placeholder {
  color: #9e9e9e;
  font-style: italic;
  padding: 50px;
}

.chatpopup-input-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  cursor: pointer;
  margin: 0 10px;
}

.chatpopup-input-icon svg {
  width: 100%;
  height: auto;
}

.chatpopup_jwi {
  display: inline-block;
  position: fixed;
  bottom: 12px;
  filter: drop-shadow(0px 0px 15px rgba(0, 0, 0, 0.1));
  outline: none;
  z-index: 99999;
}

.chatpopup-icon-close svg {
  width: 15px;
  color: #6134b7;
}

.chatpopup-icon-whatsapp {
  line-height: 0 !important;
  margin-right: 2px;
}

.chatpopup-icon-whatsapp svg {
  width: 20px;
  margin-left: 1px;
}

.chatpopup-icon-whatsapp svg path {
  fill: #1fad00;
  animation: ease-out infinite 1s flash;
}

@keyframes flash {
  0% {
    fill: #1fad00;
  }
  50% {
    fill: #fff;
  }
  100% {
    fill: #1fad00;
  }
}

.chatpopup-icon-whatsapp {
  animation: circle-throw 2s infinite;
}

@keyframes circle-throw {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.5);
    opacity: 1;
  }
  100% {
    transform: scale(0);
    opacity: 0;
  }
}
