/* WhatsApp Floating Button Styles */

/* Z-Index Management System */
:root {
  --z-index-dropdown: 1000;
  --z-index-sticky: 1020;
  --z-index-fixed: 1030;
  --z-index-modal-backdrop: 1040;
  --z-index-modal: 1050;
  --z-index-popover: 1060;
  --z-index-tooltip: 1070;
  --z-index-floating-button: 1080;
}

.whatsapp-float {
  position: fixed;
  width: auto;
  height: auto;
  bottom: 70px; /* Increased from 40px by script */
  right: 40px;
  background-color: #25d366;
  color: #FFF !important;
  border-radius: 50px;
  text-align: center;
  font-size: 16px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: var(--z-index-floating-button);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  transition: all 0.3s ease;
  padding: 12px 20px;
  font-family: 'Cairo', sans-serif;
}

.whatsapp-float:hover {
  background-color: #128C7E;
  color: #FFF !important;
  transform: translateY(-3px);
  box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.3);
  text-decoration: none !important;
}

.whatsapp-float i {
  font-size: 24px;
  margin-left: 8px;
  color: #FFF !important;
}

.whatsapp-float span {
  font-weight: 600;
  color: #FFF !important;
}

@media screen and (max-width: 767px) {
  .whatsapp-float {
    width: auto;
    padding: 8px 15px;
    bottom: 20px;
    right: 20px;
    font-size: 14px;
  }

  .whatsapp-float i {
    font-size: 20px;
    margin-left: 5px;
  }
}