

/* Sticky Donate Button */
#donateBtn {
  position: fixed;
  top: 45%;
  right: 0;
  background: linear-gradient(to right, #f59e0b, #ef4444);
  color: white;
  border: none;
  padding: 14px 20px;
  border-radius: 8px 0 0 8px;
  font-size: 16px;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: transform 0.2s, box-shadow 0.3s;
}

#donateBtn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 94, 0, 0.6);
}

/* Sticky Donate Button */




/* Floating WhatsApp Button */

#whatsappShareBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  border-radius: 50%;
  padding: 10px;
  z-index: 999;
  box-shadow: 0 0 12px rgba(0,0,0,0.3);
  transition: transform 0.2s;
}

#whatsappShareBtn:hover {
  transform: rotate(10deg) scale(1.1);
}

#whatsappShareBtn img {
  width: 40px;
  height: 40px;
  display: block;
}

/* Floating WhatsApp Button */






#donateFormModal,
#qrCodeModal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

.form-container, .qr-container {
  background: white;
  margin: 10% auto;
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}


.modal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* translucent black background */
  overflow: auto;
}






.form-container input {
  display: block;
  width: 100%;
  padding: 10px;
  margin: 12px 0;
  font-size: 16px;
}

.form-container button {
  background: #10b981;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}

#closeForm {
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 24px;
  cursor: pointer;
}




/* ✅ QR Code Image Responsive */

.qr-container img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.qr-container {
  background: white;
  margin: 10% auto;
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}



/* ✅ QR Code Image Responsive */
.qr-container img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ✅ QR Container Styling */
.qr-container {
  background: white;
  margin: 10% auto;
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* ✅ Mobile Screen Adjustment */
@media (max-width: 480px) {
  .form-container, .qr-container {
    width: 90%;
    padding: 15px;
  }

  .qr-container h3 {
    font-size: 18px;
  }

  #thankYouMsg {
    font-size: 16px;
  }
}






/*    */














