/* WhatsApp Widget Styles */
.wa-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  font-family: 'Inter', sans-serif;
}

.wa-button {
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.wa-button:hover {
  transform: scale(1.1);
}

.wa-button svg {
  width: 35px;
  height: 35px;
  fill: white;
}

.wa-chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  max-width: 90vw;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 0; /* Hidden by default state handled by JS to allow animation, or standard display:none */
  pointer-events: none;
  transform: translateY(20px);
}

.wa-chat-window.active {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.wa-header {
  background-color: #075e54;
  color: white;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wa-header-info {
  display: flex;
  flex-direction: column;
}

.wa-header-title {
  font-weight: bold;
  font-size: 16px;
}

.wa-header-subtitle {
  font-size: 12px;
  opacity: 0.9;
}

.wa-close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.wa-body {
  height: 350px;
  overflow-y: auto;
  padding: 15px;
  background-color: #e5ddd5;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wa-message {
  max-width: 80%;
  padding: 10px 15px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.4;
  position: relative;
  word-wrap: break-word;
}

.wa-message.bot {
  background-color: white;
  align-self: flex-start;
  border-top-left-radius: 0;
}

.wa-message.user {
  background-color: #dcf8c6;
  align-self: flex-end;
  border-top-right-radius: 0;
}

.wa-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 5px;
}

.wa-option-btn {
  background-color: white;
  border: 1px solid #128c7e;
  color: #128c7e;
  padding: 8px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
  text-align: center;
}

.wa-option-btn:hover {
  background-color: #128c7e;
  color: white;
}

.wa-footer {
  padding: 10px;
  background: #f0f0f0;
  text-align: center;
}

.wa-direct-link {
  color: #075e54;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.wa-message {
  animation: fadeIn 0.3s ease forwards;
}
