.whatsapp-widget {
  position: fixed;
  bottom: 20px;
  z-index: 1000;
}

/* LTR positioning */
html[dir="ltr"] .whatsapp-widget {
  right: 20px;
}

/* RTL positioning */
html[dir="rtl"] .whatsapp-widget {
  left: 20px;
}

.whatsapp-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #25D366;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
  font-family: 'Tajawal', sans-serif;
  direction: inherit;
}

/* Icon order for RTL */
html[dir="rtl"] .whatsapp-button {
  flex-direction: row-reverse;
}

.whatsapp-button:hover {
  background-color: #128C7E;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
  transform: translateY(-2px);
}

.whatsapp-button svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .whatsapp-widget {
    bottom: 15px;
  }
  
  html[dir="ltr"] .whatsapp-widget {
    right: 15px;
  }
  
  html[dir="rtl"] .whatsapp-widget {
    left: 15px;
  }
  
  .whatsapp-button {
    padding: 10px 16px;
    font-size: 13px;
  }
}
