#modal-formchat {
  display: none;
  background-color: #fff;
  position:fixed;
  right: 20px;
  bottom: 10px;
  z-index: 999999;
  width: 390px;
  min-height: 500px;
  padding-top: 56px;
  padding-right: 35px;
  padding-bottom: 40px;
  padding-left: 35px;
  gap: 40px;
}

#modal-formchat .bt_close {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 32px;
  height: 32px;
  padding: 0;
  text-align: center;
  opacity: 1;
  border-radius: 8px;
  border: 1px solid #6D6E70;
  cursor: pointer;
  font-weight: 700;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
  transition: all 0.3s ease;
  z-index: 10;
  text-decoration: none;
}

#modal-formchat .modal-header h2,
#modal-formchat .modal-header p {
  padding: 0;
  margin: 0;
}
#modal-formchat .modal-header h2 {
  color:#000;
  font-size: 24px;
}
#modal-formchat .modal-header p {
  font-size: 16px;
  margin: 2em 0;
}

#modal-formchat .modal-content p {
  padding: 0;
  margin:0;
}
#modal-formchat .modal-content .form-group {
  display: flex;
  padding: 2em 0;
  margin: 0;
  border: 0;
  flex-direction: column;
  
  border-top: 2px solid;
  border-image: linear-gradient(90deg, #0B66B2 0%, #57BD84 100%) 1;
}

#modal-formchat .modal-content .form-group .form-field {
  height: 56px;
  padding: 0 10px 0 20px;
  margin: 0 0 30px;
  gap: 32px;
  border: 1px solid #828296;
  color: #828296;
  font-weight: 500;
  font-style: Medium;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.8%;
}
#modal-formchat .modal-content .form-group .form-field-hidden {
  display: none !important;
}
#modal-formchat .modal-content .form-group .input-with-icon {
  padding-left: 50px;
  background-repeat: no-repeat;
  background-position: 15px center;
  background-size: 20px 20px;
}
#modal-formchat .modal-content .form-group .input-nome {
  background-image: url('../img/icon/icon_pc.png');
}
#modal-formchat .modal-content .form-group .input-cnpj {
  background-image: url('../img/icon/icon_doc.png');
}
#modal-formchat .modal-content .form-group .input-email {
  background-image: url('../img/icon/icon_email.png');
  background-size: 20px 15px;
}

#modal-button-open .btn-modal,
#modal-formchat .btn-modal {
  background: linear-gradient(96.19deg, #0B66B2 -70.46%, #57BD84 111.28%);
  width: 164px;
  height: 52px;
  clear: both;
  padding: 16px;
  margin:0;
  gap: 8px;
  opacity: 1;
  border: none;
  border-radius: 4px;
  color:#fff;
  cursor: pointer;

  font-weight: 500;
  font-style: Medium;
  font-size: 16px;
  line-height: 16px;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
}

#modal-formchat .modal-content .wpcf7-not-valid-tip,
#modal-formchat .modal-content .wpcf7-response-output {
  display: none !important;
}

#modal-formchat .modal-content .modal-response-output {
  display: none;
  padding: 0.5em;
  margin: 0 0 2em;
  border: 1px solid #f00;
  font-size: 14px;
}
#modal-formchat .modal-content .wpcf7-spinner {
  display: none !important;
}

#modal-formchat .modal-footer {
  font-weight: 600;
  font-weight: normal;
  font-size: 14px;
  line-height: 120%;
}
#modal-formchat .modal-footer .terms {
  color: #000;
  font-size: 12px;
  padding: 0;
  margin: 0;
}
#modal-formchat .modal-footer a {
  color: #000;
  text-decoration: underline;
}
#modal-formchat .modal-footer a:hover {
  text-decoration: none;
}

/* Botão para abrir Modal */
#modal-button-open .btn-modal {
  position:fixed;
  right: 20px;
  bottom: 10px;
  z-index: 999998;

  display: flex;
  width: 240px;
  padding-left: 0;
  padding-right: 0;
  justify-content: center;
}
#modal-button-open .btn-modal .icon-whatsapp {
  background-image: url('../img/icon/icon_whatsapp.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 20px 20px;
  width: 25px;
  height: 25px;
  padding: 0;
  margin-top: -5px;
}
/* Animação de fechar */
#modal-formchat.chat-modal-closing {
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s ease-in-out, opacity 0.3s ease-in-out;
}

/* Animação de abrir */
#modal-formchat.chat-modal-opening {
  animation: slideUp 0.4s ease-in-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}