/* Button styling */
#popupButton {
  position: fixed;
  z-index: 1001000;
  bottom: 15px;
  right: 15px;
  border: none !important;
  background: none !important;
  cursor: pointer;
}

/* Popup iframe styling */
#popup {
  position: fixed;
  bottom: 0;
  right: 170px;
  width: 370px;
  height: 520px;
  max-width: 370px;
  border: none;
  background: transparent !important;
  border-radius: 10px;
  z-index: 9999;
  overflow: auto;
}

/* Mobile styles for small widths */
@media only screen and (max-width: 768px) {
  #popupButton {
    bottom: 80px;
    /* Adjust bottom for mobile */
    right: 10px;
    /* Adjust right for mobile */
  }

  #popup {
    width: 100%;
    right: 0;
    left: 0;
    border-radius: 0;
  }
}

/* Mobile landscape-specific styles */
@media only screen and (max-width: 768px) and (orientation: landscape) {
  #popupButton {
    bottom: 10px;
    /* Adjust bottom for landscape */
    right: 90px;
    /* Adjust right for landscape */
  }



  #popup {
    height: calc(100vh - 10px);
    /* Adjust height dynamically */
    bottom: 10px;
    right: 90px;
    left: 0;
    border-radius: 0;
  }
}

/* Desktop styles (override mobile if needed) */
@media only screen and (min-width: 769px) {
  #popupButton {
    bottom: 0px;
    /* Ensure button stays at the bottom */
    right: 170px;
    /* Adjust right to avoid overlap with other content */

  }
}