.whatsapp-button-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  font-family: Arial, sans-serif;
}

.whatsapp-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.whatsapp-button:hover {
  transform: scale(1.05);
}

.whatsapp-button i {
  font-size: 32px;
  color: white;
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background-color: #333;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.whatsapp-button:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
}

.whatsapp-form-container {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 300px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.whatsapp-form-container.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.whatsapp-form-header {
  background-color: #128c7e;
  color: white;
  padding: 12px 15px;
  font-size: 14px;
  position: relative;
}

.whatsapp-form-close {
  position: absolute;
  right: 10px;
  top: 10px;
  color: white;
  cursor: pointer;
  font-size: 18px;
}

.whatsapp-form-body {
  padding: 15px;
}

.whatsapp-form-group {
  margin-bottom: 12px;
}

.whatsapp-form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  outline: none;
}

.whatsapp-form-group input:focus {
  border-color: #128c7e;
}

.whatsapp-submit-btn {
  width: 100%;
  padding: 12px;
  background-color: #25d366;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.whatsapp-submit-btn:hover {
  background-color: #128c7e;
}

.whatsapp-error {
  color: #e74c3c;
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

.whatsapp-error.active {
  display: block;
}

/* Responsividade para dispositivos móveis */
@media (max-width: 480px) {
  .whatsapp-form-container {
    width: 280px;
    right: 0;
  }

  .whatsapp-tooltip {
    display: none;
  }
}
