#floatingBtn1, #floatingBtn2 {
  position: fixed;
  right: 20px;
  z-index: 999999;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  display: none; /* hidden by default, JS controls visibility */
}

#floatingBtn1 {
  top: 1px;
}

#floatingBtn2 {
  top: 55px; /* below btn1 when both visible */
}

#floatingBtn1 img, #floatingBtn2 img {
  width: 48px;
  height: auto;
  display: block;
}

/* Popup */
#popupOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 999998;
  justify-content: center;
  align-items: center;
}

#popupContent {
  background: white;
  padding: 12px;
  border-radius: 12px;
  position: relative;
  max-width: 90vw;
}

#popupContent img {
  max-height: 90vh;       /* image fits screen height */
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;   /* keep proportions */
}

#closePopup {
  position: absolute;
  top: 6px;
  left: 10px;
  cursor: pointer;
}
