/* Nur Links IM WhatsApp-Widget */
#whatsapp-chat a:link,
#whatsapp-chat a:visited {
  color: #444;
  text-decoration: none;
  transition: all 0.4s ease-in-out;
}

/* Optional: Überschrift im Widget, falls du dort ein h1 nutzt */
#whatsapp-chat h1 {
  font-size: 20px;
  text-align: center;
  display: block;
  background: linear-gradient(to right top, #6f96f3, #164ed2);
  padding: 20px;
  color: #fff;
  border-radius: 50px;
}

/* CSS Multiple Whatsapp Chat – alles ans Widget binden */
#whatsapp-chat .whatsapp-name {
  font-size: 16px;
  font-weight: 600;
  padding-bottom: 0;
  margin-bottom: 0;
  line-height: 0.5;
}

#whatsapp-chat {
  box-sizing: border-box !important;
  outline: none !important;
  position: fixed;
  width: 350px;
  border-radius: 10px;
  box-shadow: 0 1px 15px rgba(32, 33, 36, 0.28);
  bottom: 90px;
  left: 30px;
  overflow: hidden;
  z-index: 99;
  animation-name: showchat;
  animation-duration: 1s;
  transform: scale(1);
}

/* Wrapper, damit Button + Pulse gemeinsam positioniert sind */
.whatsapp-pulse-wrapper {
  position: fixed;
  bottom: 25px;
  left: 30px;       /* oder right: 30px; wenn du ihn rechts haben willst */
  width: 56px;
  height: 56px;
  z-index: 98;
}

/* Button + Pulse-Bubbles */
.whatsapp-pulse-wrapper .whatsapp-info,
.whatsapp-pulse-wrapper .pulse {
  font-family: 'Lato', sans-serif;
  display: inline-block;
  color: #fff;
  background: #1ab744;
  position: absolute;
  top: 0;
  left: 0;
  font-size: 34px;
  text-align: center;
  border-radius: 50%;
  height: 56px;
  width: 56px;
  line-height: 56px;
  cursor: pointer;
  transition: all 0.2s;
}

/* Nur der eigentliche Button oben drauf */
.whatsapp-pulse-wrapper .whatsapp-info {
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1ab744;
  box-shadow: 0 1px 12px rgba(32, 33, 36, 0.28);
}

/* Die Pulse-Kreise darunter */
.whatsapp-pulse-wrapper .pulse {
  z-index: 1;
}

/* Pulse-Animation etwas kleiner gemacht */
@keyframes pulse {
  0% {
    transform: scale(.1);
    opacity: 0;
  }
  50% {
    opacity: .3;
  }
  100% {
    transform: scale(1.6); /* vorher 2 */
    opacity: 0;
  }
}

.whatsapp-pulse-wrapper .pulse:nth-child(1) {
  animation: pulse 2s infinite;
}

.whatsapp-pulse-wrapper .pulse:nth-child(2) {
  animation: pulse 2s infinite .3s;
}

.whatsapp-pulse-wrapper .pulse:nth-child(3) {
  animation: pulse 2s infinite .6s;
}

/* SVG im Button proportional verkleinert */
.whatsapp-pulse-wrapper .whatsapp-info svg {
  width: 26px;
  height: 26px;
}


#whatsapp-chat .header-chat {
  background: #095e54;
  color: #fff;
  padding: 20px;
}

#whatsapp-chat .header-chat h3 {
  margin: 0 0 10px;
}

#whatsapp-chat .header-chat p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

#whatsapp-chat .info-avatar {
  position: relative;
}

#whatsapp-chat .info-avatar img {
  border-radius: 100%;
  width: 50px;
  float: left;
  margin: 0 10px 0 0;
}

#whatsapp-chat a.informasi {
  padding: 20px;
  display: block;
  overflow: hidden;
  animation-name: showhide;
  animation-duration: 0.5s;
}

#whatsapp-chat a.informasi:hover {
  background: #f1f1f1;
}

#whatsapp-chat .info-chat span {
  display: block;
}

#whatsapp-chat #get-label,
#whatsapp-chat span.chat-label {
  font-size: 12px;
  color: #888;
}

#whatsapp-chat #get-nama,
#whatsapp-chat span.chat-nama {
  margin: 5px 0 0;
  font-size: 15px;
  font-weight: 700;
  color: #222;
}

#whatsapp-chat #get-label,
#whatsapp-chat #get-nama {
  color: #fff;
}

#whatsapp-chat span.my-number {
  display: none;
}

#whatsapp-chat textarea#chat-input {
  border: none;
  font-family: "Arial", sans-serif;
  width: 100%;
  height: auto;
  outline: none;
  resize: none;
  padding: 10px;
  font-size: 14px;
}

#whatsapp-chat a#send-it {
    display: flex;
    align-items: center;
    justify-content: center;
  width: 30px;
  font-weight: 700;
  padding: 10px 5px 0;
  background: #eee;
}

#whatsapp-chat a#send-it svg {
  fill: #095e54;
  height: 24px;
  width: 24px;
}

#whatsapp-chat .first-msg {
  background: transparent;
  padding: 30px;
  text-align: center;
}

#whatsapp-chat .first-msg span {
  background: #e2e2e2;
  color: #333;
  font-size: 14.2px;
  line-height: 1.7;
  border-radius: 10px;
  padding: 15px 20px;
  display: inline-block;
}

#whatsapp-chat .start-chat .blanter-msg {
  display: flex;
}

#whatsapp-chat #get-number {
  display: none;
}

#whatsapp-chat a.close-chat {
  position: absolute;
  top: 5px;
  right: 15px;
  color: #fff;
  font-size: 30px;
}

/* Animationen sind global, aber mit eindeutigen Namen → ok */
@keyframes ZpjSY {
  0% {
    background-color: rgb(182, 181, 186);
  }
  15% {
    background-color: rgb(17, 17, 17);
  }
  25% {
    background-color: rgb(182, 181, 186);
  }
}

@keyframes hPhMsj {
  15% {
    background-color: rgb(182, 181, 186);
  }
  25% {
    background-color: rgb(17, 17, 17);
  }
  35% {
    background-color: rgb(182, 181, 186);
  }
}

@keyframes iUMejp {
  25% {
    background-color: rgb(182, 181, 186);
  }
  35% {
    background-color: rgb(17, 17, 17);
  }
  45% {
    background-color: rgb(182, 181, 186);
  }
}

@keyframes showhide {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
}

@keyframes showchat {
  from {
    transform: scale(0);
    opacity: 0;
  }
}

@media screen and (max-width: 480px) {
  #whatsapp-chat {
    width: auto;
    left: 5%;
    right: 5%;
    font-size: 80%;
  }
}

/* .hide / .show NUR fürs Widget, damit du nicht alles auf der Seite killst */
#whatsapp-chat.hide,
#whatsapp-chat .hide {
  display: none;
  animation-name: showhide;
  animation-duration: 0.5s;
  transform: scale(1);
  opacity: 1;
}

#whatsapp-chat.show,
#whatsapp-chat .show {
  display: block;
  animation-name: showhide;
  animation-duration: 0.5s;
  transform: scale(1);
  opacity: 1;
}

/* Restliche Chat-Klassen ans Widget koppeln */
#whatsapp-chat .whatsapp-message-container {
  display: flex;
  z-index: 1;
}

#whatsapp-chat .whatsapp-message {
  padding: 7px 14px 6px;
  background-color: rgb(255, 255, 255);
  border-radius: 0px 8px 8px;
  position: relative;
  transition: all 0.3s ease 0s;
  opacity: 0;
  transform-origin: center top 0px;
  z-index: 2;
  box-shadow: rgba(0, 0, 0, 0.13) 0px 1px 0.5px;
  margin-top: 4px;
  margin-left: -54px;
  max-width: calc(100% - 66px);
}

#whatsapp-chat .whatsapp-chat-body {
  padding: 20px 20px 20px 10px;
  background-color: rgb(230, 221, 212);
  position: relative;
}

#whatsapp-chat .whatsapp-chat-body::before {
  display: block;
  position: absolute;
  content: "";
  left: 0px;
  top: 0px;
  height: 100%;
  width: 100%;
  z-index: 0;
  opacity: 0.08;
  background-image: url("https://elfsight.com/assets/chats/patterns/whatsapp.png");
}

#whatsapp-chat .dAbFpq {
  display: flex;
  z-index: 1;
}

#whatsapp-chat .eJJEeC {
  background-color: rgb(255, 255, 255);
  width: 52.5px;
  height: 32px;
  border-radius: 16px;
  display: flex;
  justify-content: 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;
}

#whatsapp-chat .hFENyl {
  position: relative;
  display: flex;
}

#whatsapp-chat .ixsrax {
  height: 5px;
  width: 5px;
  margin: 0px 2px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  animation-duration: 1.2s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  top: 0px;
  background-color: rgb(158, 157, 162);
  animation-name: ZpjSY;
}

#whatsapp-chat .dRvxoz {
  height: 5px;
  width: 5px;
  margin: 0px 2px;
  background-color: rgb(182, 181, 186);
  border-radius: 50%;
  display: inline-block;
  position: relative;
  animation-duration: 1.2s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  top: 0px;
  animation-name: hPhMsj;
}

#whatsapp-chat .kAZgZq {
  padding: 7px 14px 6px;
  background-color: rgb(255, 255, 255);
  border-radius: 0px 8px 8px;
  position: relative;
  transition: all 0.3s ease 0s;
  opacity: 0;
  transform-origin: center top 0px;
  z-index: 2;
  box-shadow: rgba(0, 0, 0, 0.13) 0px 1px 0.5px;
  margin-top: 4px;
  margin-left: -54px;
  max-width: calc(100% - 66px);
}

#whatsapp-chat .kAZgZq::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;
}

#whatsapp-chat .bMIBDo {
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
  color: rgba(0, 0, 0, 0.4);
}

#whatsapp-chat .iSpIQi {
  font-size: 14px;
  line-height: 19px;
  margin-top: 4px;
  color: rgb(17, 17, 17);
}

#whatsapp-chat .cqCDVm {
  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;
}