.wa-wrap {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
}

.wa-bubble {
  width: 220px;
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px 12px 0 12px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  font-size: 0.82rem;
}

.wa-bubble.show {
  display: flex;
  animation: waBubblePop 0.25s ease both;
}

@keyframes waBubblePop {
  from { opacity: 0; transform: scale(0.85) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.wa-bubble-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
  margin-bottom: 0.2rem;
  border-bottom: 1px solid #f0f0f0;
}

.wa-bubble-avatar {
  width: 32px;
  height: 32px;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.wa-bubble-name {
  color: #111;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.1;
}

.wa-bubble-status {
  color: #25d366;
  font-size: 0.68rem;
}

.wa-bubble-msg {
  padding: 0.5rem 0.7rem;
  border-radius: 8px 8px 8px 0;
  background: #dcf8c6;
  color: #111;
  font-size: 0.8rem;
  line-height: 1.4;
}

.wa-bubble-actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.wa-bubble-btn {
  display: block;
  padding: 0.45rem 0.7rem;
  border: 0;
  border-radius: 5px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.wa-bubble-btn.green {
  background: #25d366;
  color: #fff;
}

.wa-bubble-btn.navy {
  background: var(--navy, #0e2340);
  color: var(--gold, #c8a84b);
}

.wa-bubble-btn:hover {
  opacity: 0.88;
}

.wa-float-new {
  width: 58px;
  height: 58px;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  cursor: pointer;
  animation: waPulseNew 2s ease-in-out infinite;
  transition: transform 0.2s;
}

.wa-float-new:hover {
  transform: scale(1.08);
}

.wa-float-new svg {
  width: 30px;
  height: 30px;
}

@keyframes waPulseNew {
  0% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 480px) {
  .wa-wrap {
    right: 1rem;
    bottom: 1rem;
  }
}
