/* =========================================
   WhatsApp Chat Widget Styles
   ========================================= */
.whatsapp-chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  font-family: var(--font-primary, 'Inter', sans-serif);
}

.whatsapp-chat-toggle {
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.3s ease;
  border: none;
  outline: none;
}

.whatsapp-chat-toggle:hover {
  transform: scale(1.05);
}

.whatsapp-chat-box {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 300px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.whatsapp-chat-box.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.whatsapp-chat-header {
  background-color: #075E54;
  color: #ffffff;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.whatsapp-chat-header img {
  width: 40px;
  height: 40px;
  background-color: #ffffff;
  border-radius: 50%;
  padding: 5px;
}

.whatsapp-chat-title {
  display: flex;
  flex-direction: column;
}

.whatsapp-chat-title strong {
  font-size: 1rem;
}

.whatsapp-chat-title span {
  font-size: 0.8rem;
  color: #d1d1d1;
}

.whatsapp-chat-body {
  background-color: #e5ddd5;
  padding: 20px;
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.whatsapp-message {
  background-color: #ffffff;
  padding: 10px 15px;
  border-radius: 0 10px 10px 10px;
  font-size: 0.9rem;
  color: #333333;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  position: relative;
}

.whatsapp-message::before {
  content: "";
  position: absolute;
  top: 0;
  left: -10px;
  width: 0;
  height: 0;
  border-top: 10px solid #ffffff;
  border-left: 10px solid transparent;
}

.whatsapp-chat-footer {
  padding: 15px;
  background-color: #ffffff;
  text-align: center;
}

.whatsapp-start-btn {
  display: block;
  background-color: #25D366;
  color: #ffffff;
  text-decoration: none;
  padding: 10px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.3s;
}

.whatsapp-start-btn:hover {
  background-color: #1ebe56;
}
