/*
 Theme Name:   Logitic Child
 Theme URI:    https://demo.rstheme.com/wordpress/logitic/
 Description:  Logitic Child
 Author:       RSTheme
 Author URI:   http://rstheme.com
 Template:     logitic
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
 */

#whatsapp-button {
  position: fixed !important;
  bottom: 20px;
  left: 20px;
  z-index: 99999 !important;
  background-color: #25D366;
  padding: 6px 6px 0px 6px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

#whatsapp-button img {
  width: 48px;
  height: 48px;
  display: block;
}

#whatsapp-button a {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.whatsapp-hover-text {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  left: 110%; /* change from right to left */
  top: 50%;
  transform: translateY(-50%);
  background-color: #fff;
  color: #333;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  font-size: 14px;
  transition: opacity 0.3s ease, left 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

#whatsapp-button a:hover .whatsapp-hover-text {
  visibility: visible;
  opacity: 1;
  left: 130%; /* same direction as above */
}

