/* RS Popup: hidden by default (NO !important so JS/CSS can override) */
#rs_pop_section{
  display: none;
}

/* When open */
#rs_pop_section.rs_popup_show{
  display: block;
}

/* Overlay (created by JS) */
#rs_popup_overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: none;
  z-index: 999998;
}

/* Popup box */
#rs_pop_section{
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 999999;
  max-width: min(92vw, 900px);
  max-height: 88vh;
  overflow: auto;
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
  border-radius: 14px;
}

/* Close button: top-right + pointer */
#rs_remove_button{
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1000000;
  cursor: pointer;
}
#rs_remove_button *{
  cursor: pointer;
}

/* Prevent background scroll while popup open (JS toggles this class) */
body.rs_popup_open{
  overflow: hidden !important;
}
