/* WhatsApp Widget Styles */
.whatsapp-widget-container {
  position: fixed;
  left: 30px;
  bottom: 30px;
  z-index: 9999;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.whatsapp-button {
  position: relative;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  animation: pulse 2s infinite;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-button svg {
  width: 35px;
  height: 35px;
  fill: white;
}

/* Dymek z komunikatem */
.whatsapp-tooltip {
  position: absolute;
  left: 75px;
  bottom: 0;
  background: white;
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  pointer-events: none;
}

.whatsapp-tooltip::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 8px 8px 0;
  border-color: transparent white transparent transparent;
}

.whatsapp-tooltip.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.whatsapp-tooltip-text {
  color: #333;
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
}

.whatsapp-tooltip-subtext {
  color: #25D366;
  font-size: 12px;
  font-weight: 600;
  margin: 2px 0 0 0;
}

/* Animacja pulsowania */
@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
  }
}

/* Responsywność */
@media (max-width: 768px) {
  .whatsapp-widget-container {
    left: 20px;
    bottom: 20px;
  }
  
  .whatsapp-button {
    width: 55px;
    height: 55px;
  }
  
  .whatsapp-button svg {
    width: 30px;
    height: 30px;
  }
  
  .whatsapp-tooltip {
    left: 70px;
    padding: 10px 14px;
    max-width: 200px;
    white-space: normal;
  }
  
  .whatsapp-tooltip-text {
    font-size: 13px;
  }
  
  .whatsapp-tooltip-subtext {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .whatsapp-widget-container {
    left: 15px;
    bottom: 15px;
  }
  
  .whatsapp-button {
    width: 50px;
    height: 50px;
  }
  
  .whatsapp-button svg {
    width: 28px;
    height: 28px;
  }
}

/* Animacja wejścia widgetu */
.whatsapp-widget-container.loaded {
  animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

