.whatsapp-form {
  background: #f2f2f2;
  overflow: hidden;
  font-size: 15px;
  color: #666;
  right: 0;
  box-shadow: 2px 2px 5px #0004;
  z-index: 99;
}
.whatsapp-form .title {
  background: #24d366;
  color: #fff;
  padding: 13px 30px;
}

.whatsapp-form .title {
  background: #24d366;
  color: #fff;
  padding: 12px 30px 12px 50px;
  background-image: url("../img/message.svg");
  background-repeat: no-repeat;
  background-size: 20px;
  background-position: 20px 13px;
}

.whatsapp-form #form-elements {
  padding: 16px;
}
.whatsapp-form #form-elements textarea {
  max-width: 100%;
  border: 1px solid var(--lgry);
  border-radius: 24px;
  padding: 12px;
  height: 72px;
}
.whatsapp-form #form-elements p {
  margin-bottom: 8px;
}

.whatsapp-form  input[type="submit"] {
  background-color: #24d366;
  color: #fff;
  width: fit-content;
  border: none;
  padding: 12px 20px 12px 40px;
  border-radius: 30px;
  background-image: url("../img/send.svg");
  background-repeat: no-repeat;
  background-size: 20px;
  background-position: 13px 13px;
}
#ws-form-btn:before {
  display: block!important;
}
.whatsapp-form .close-btn {
  position: absolute;
  right: 18px;
  top: 12px;
  cursor: pointer;
}
@media (min-width: 768px) {
  #floater {
    bottom: 30px;
    right: 60px;
  }
  #ws-form-btn {
    position: absolute;
    bottom: 1px;
    right: 0;
    padding: 13px;
    border: 2px solid #fff;
    border-radius: 50px;
    box-shadow: 2px 2px 5px #0004;
  }
  .whatsapp-form {
    bottom: 78px;
  }
}
@media (max-width: 767px) {
  #floater {
    bottom: 0;
    right: 0;
    width: 100%;
    background: #fff;
    box-shadow: 2px -2px 5px #0004;
  }
  #ws-form-btn {
    display: flex;
    color: #fff;
    line-height: 38px;
  }
  #ws-form-btn:before {
    width: 28px;
    height: 28px;
    margin-top: 4px;
    margin-left: 4px;
  }
  .whatsapp-form {
    bottom: 44px;
  }
}
@media (min-width: 576px) {
  .whatsapp-form {
    position: absolute;
    width: 270px;
    border-radius: 30px;
  }
}
@media (max-width: 575px) {
  #ws-form-btn {
    padding: 5px 10px;
    height: 44px;
  }
  .whatsapp-form {
    position: fixed;
    left: 0;
    border-radius: 30px 30px 0 0;
  }
}
#ws-form-btn {
  background: #24d366;
  display: block;
  z-index: 100;
}
@media (min-width: 576px) and (max-width: 767px) {
  #ws-form-btn {
    padding: 3px;
  }
  #ws-form-btn span {
    padding-left: 10px;
    padding-right: 10px;
    position: fixed;
    bottom: 0;
    left: 33px;
  }
}