/* ===== WHATSAPP FLOATING BUTTON ===== */

.wa-bubble {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  font-family: 'Montserrat', sans-serif;
}

/* Tooltip bubble */
.wa-tooltip {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  padding: 14px 18px;
  max-width: 240px;
  position: relative;
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.wa-tooltip.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
.wa-tooltip::after {
  content: '';
  position: absolute;
  bottom: -7px;
  right: 22px;
  width: 13px;
  height: 13px;
  background: #fff;
  border-right: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transform: rotate(45deg);
}
.wa-tooltip-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.wa-avatar {
  width: 36px;
  height: 36px;
  background: #0a0a0a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #b8965a;
  font-weight: 600;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}
.wa-tooltip-name {
  font-size: 13px;
  font-weight: 600;
  color: #0a0a0a;
  line-height: 1.2;
}
.wa-tooltip-status {
  font-size: 11px;
  color: #25D366;
  display: flex;
  align-items: center;
  gap: 4px;
}
.wa-tooltip-status::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #25D366;
  border-radius: 50%;
  display: inline-block;
}
.wa-tooltip-msg {
  font-size: 12px;
  color: #6b6356;
  line-height: 1.6;
  margin-bottom: 12px;
}
.wa-tooltip-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 16px;
  text-decoration: none;
  transition: background 0.2s;
}
.wa-tooltip-cta:hover { background: #1ebe5d; color: #fff; }
.wa-tooltip-cta svg { width: 16px; height: 16px; fill: #fff; flex-shrink: 0; }
.wa-tooltip-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  cursor: pointer;
  color: #c8c0b4;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: color 0.2s;
}
.wa-tooltip-close:hover { color: #0a0a0a; }

/* Main button */
.wa-btn {
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  border: none;
  outline: none;
}
.wa-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}
.wa-btn:active { transform: scale(0.97); }
.wa-btn svg { width: 30px; height: 30px; fill: #fff; }

/* Pulse ring */
.wa-btn::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.4);
  animation: waPulse 2.2s ease-out infinite;
}
@keyframes waPulse {
  0%   { transform: scale(0.9); opacity: 0.7; }
  70%  { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* Notification dot */
.wa-notif {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background: #b8965a;
  border-radius: 50%;
  border: 2px solid #fff;
  animation: waBounce 1.8s ease-in-out infinite;
}
@keyframes waBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

@media (max-width: 480px) {
  .wa-bubble { bottom: 20px; right: 20px; }
  .wa-tooltip { max-width: 200px; }
}
