:root {
  --green: #25d366;
  --text-dark: #1a1a1a;
  --text-light: #444;
  --black: #111;
  --radius: 18px;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.wa-widget {
  position: fixed;
  bottom: 20px;
  left: 23px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.wa-popup {
  position: relative;
  background: white;
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
  border: 2px solid var(--green);
  max-width: 300px;
  margin-bottom: 10px;
  animation: fadeInUp 0.3s ease forwards;
}

.wa-popup::after {
  content: "";
  position: absolute;
  bottom: -21px;
  left: 20px;
  width: 0;
  height: 0;
  border: 12px solid transparent;
  border-top-color: white;
  filter: drop-shadow(0 -1px 1px rgba(0, 0, 0, 0.1));
}

.wa-header-icon {
  width: 40px;
  height: 40px;
  background-color: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  color: white;
  font-size: 20px;
}

.wa-popup h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
}

.wa-popup p {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--text-light);
}

.wa-button {
  width: 100%;
  background: black;
  color: white;
  padding: 12px 14px;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.3s ease;
  position: relative;
  z-index: 1;
}

.wa-button:hover {
  background: #222;
}

.wa-button i {
  font-size: 16px;
}

.wa-toggle-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--green);
  color: white;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.wa-toggle-btn:hover {
  transform: scale(1.1);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .wa-popup {
    max-width: 90vw;
  }
}
