/* WhatsApp Popup Button and Chat Widget Styles */
#wa-popup-container {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
#wa-popup-message {
  background: linear-gradient(90deg, #25d366 0%, #075e54 100%);
  color: #fff;
  border-radius: 22px 22px 22px 6px;
  box-shadow: 0 2px 12px #25d36633;
  padding: 10px 22px 10px 16px;
  margin-bottom: 10px;
  font-size: 1.08rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  animation: waMsgFadeIn 1.2s cubic-bezier(.23,1.01,.32,1) both;
  border-left: 5px solid #25d366;
  letter-spacing: 0.01em;
  position: relative;
}
.wa-popup-text {
  display: inline-block;
  font-family: 'Segoe UI', 'Arial', sans-serif;
  text-shadow: 0 1px 2px #075e5422;
}
#wa-popup-btn {
  background: #25d366;
  border: none;
  border-radius: 50%;
  width: 62px;
  height: 62px;
  box-shadow: 0 4px 16px #25d36644;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  margin-bottom: 6px;
}
#wa-popup-btn:hover {
  background: #075e54;
}
.wa-icon {
  width: 36px;
  height: 36px;
}
.wa-chat-popup {
  display: none;
  flex-direction: column;
  width: 340px;
  background: #e5ddd5;
  border-radius: 18px 18px 6px 18px;
  box-shadow: 0 8px 32px #075e5444;
  overflow: hidden;
  margin-bottom: 12px;
  animation: waChatFadeIn 0.5s cubic-bezier(.23,1.01,.32,1) both;
}
.wa-chat-header {
  background: #075e54;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 14px 18px;
  gap: 12px;
  font-size: 1.13rem;
  font-weight: 600;
}
.wa-chat-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  padding: 2px;
}
.wa-chat-title {
  flex: 1;
}
.wa-chat-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5em;
  cursor: pointer;
  margin-left: 8px;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.wa-chat-close:hover {
  opacity: 1;
}
.wa-chat-body {
  background: #ece5dd;
  min-height: 80px;
  max-height: 220px;
  overflow-y: auto;
  padding: 18px 16px 8px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wa-chat-msg {
  max-width: 80%;
  padding: 10px 16px;
  border-radius: 16px 16px 16px 4px;
  font-size: 1.01rem;
  margin-bottom: 2px;
  box-shadow: 0 1px 4px #0001;
  word-break: break-word;
}
.wa-chat-msg-bot {
  background: #fff;
  color: #075e54;
  align-self: flex-start;
}
.wa-chat-msg-user {
  background: #dcf8c6;
  color: #222;
  align-self: flex-end;
  border-radius: 16px 16px 4px 16px;
}
.wa-chat-footer {
  background: #f7f7f7;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid #e0e0e0;
}
.wa-chat-input {
  flex: 1;
  border: none;
  border-radius: 16px;
  padding: 10px 14px;
  font-size: 1.05rem;
  background: #fff;
  outline: none;
  box-shadow: 0 1px 2px #0001;
}
.wa-chat-send {
  background: #25d366;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  color: #fff;
  font-size: 1.25em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.wa-chat-send:hover {
  background: #075e54;
}
@keyframes waMsgFadeIn {
  0% { opacity: 0; transform: translateY(30px) scale(0.9); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes waChatFadeIn {
  0% { opacity: 0; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}
