/* ===== Professional WhatsApp Popup Design ===== */

:root {
  --wa-green: #16A34A;
  --wa-dark: #0F172A;
  --wa-light: #F8FAFC;
  --wa-gray: #F8FAFC;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/* Floating Button */
#wa-floating-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: var(--wa-green);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(15,23,42,0.2);
  z-index: 9999;
  transition: 0.3s;
}

#wa-floating-btn:hover {
  transform: scale(1.1);
}

#wa-floating-btn img {
  width: 32px;
}

/* Greeting Bubble */
#wa-greeting {
  position: fixed;
  bottom: 95px;
  right: 25px;
  background: #FFFFFF;
  padding: 10px 16px;
  border-radius: 20px;
  font-size: 14px;
  display: none;
  box-shadow: 0 5px 15px rgba(15,23,42,0.15);
  animation: fadeIn 0.6s ease forwards;
  z-index: 9998;
}

@keyframes fadeIn {
  from {opacity:0; transform: translateY(10px);}
  to {opacity:1; transform: translateY(0);}
}


#wa-greeting{transform-origin:center;animation:waGreetingBreathe 2.4s ease-in-out infinite}
@keyframes waGreetingBreathe{0%,100%{transform:scale(.94)}50%{transform:scale(1)}}
@media(prefers-reduced-motion:reduce){#wa-greeting{animation:none}}
/* Popup */
#wa-popup {
  position: fixed;
  bottom: 100px;
  right: 25px;
  width: 330px;
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 15px 35px rgba(15,23,42,0.25);
  overflow: hidden;
  display: none;
  flex-direction: column;
  z-index: 9999;
}

/* Header */
#wa-header {
  background: var(--wa-dark);
  color: #FFFFFF;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

#wa-header img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.wa-title {
  font-weight: bold;
  font-size: 15px;
}

/* Body */
#wa-body {
  padding: 15px;
  background: var(--wa-gray);
  height: 180px;
}

.wa-message {
  background: var(--wa-light);
  padding: 10px 12px;
  border-radius: 15px;
  font-size: 14px;
  max-width: 85%;
}

/* Footer */
#wa-footer {
  display: flex;
  border-top: 1px solid #E5E7EB;
}

#wa-input {
  flex: 1;
  border: none;
  padding: 12px;
  font-size: 14px;
  outline: none;
}

#wa-send {
  background: var(--wa-green);
  border: none;
  color: #FFFFFF;
  padding: 0 18px;
  cursor: pointer;
  font-size: 16px;
}

#wa-send:hover {
  background: #16A34A;
}
/* WhatsApp popup close button */
.wa-header-copy{min-width:0;flex:1}
#wa-close{margin-left:auto;width:34px;height:34px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;font-size:26px;line-height:1;display:grid;place-items:center;cursor:pointer;padding:0}
#wa-close:hover{background:rgba(255,255,255,.22)}
@media(max-width:420px){#wa-popup{right:12px;left:12px;width:auto}#wa-close{width:32px;height:32px;font-size:24px}}
