/* Floating WhatsApp Button */
#whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
  cursor: pointer;
  z-index: 9999;
  transition: transform 0.3s ease, background 0.3s ease;
}
#whatsapp-btn:hover { 
  background-color: #1ebe5d; 
  transform: translateY(-4px);
}

/* QR Modal */
#qr-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: flex-end; /* start at bottom for slide-up */
  justify-content: center;
  z-index: 10000;
}
#qr-modal.active { display: flex; }

#qr-modal .modal-content {
  background: #fff;
  padding: 24px;
  border-radius: 24px 24px 0 0;
  text-align: center;
  width: 100%;
  max-width: 420px;
  position: relative;
  transform: translateY(100%);
  opacity: 0;
  animation: slideUp 0.35s ease-out forwards;
  box-shadow: 0 -8px 20px rgba(0,0,0,0.25);
}
#qr-modal img { 
  width: 200px; 
  height: 200px; 
  margin: 15px auto; 
  border-radius: 12px; 
  box-shadow: 0 2px 8px rgba(0,0,0,0.2); 
}
#qr-modal button.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  background: none;
  border: none;
  color: #333;
  cursor: pointer;
}

/* Animation */
@keyframes slideUp {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
