/* RUYA_FINANCE_CHARGE_VIEWPORT_V1 */

body .financeChargeViewportBack{
  position:fixed !important;
  inset:0 !important;
  z-index:99999 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100vw !important;
  height:100dvh !important;
  padding:24px !important;
  box-sizing:border-box !important;
  overflow:auto !important;
}

body .financeChargeViewportBack > .chargeModal{
  position:relative !important;
  top:auto !important;
  left:auto !important;
  right:auto !important;
  bottom:auto !important;
  transform:none !important;
  margin:auto !important;
  max-width:calc(100vw - 48px) !important;
  max-height:calc(100dvh - 48px) !important;
  overflow-x:hidden !important;
  overflow-y:auto !important;
}

@media(max-width:700px){
  body .financeChargeViewportBack{
    padding:12px !important;
  }

  body .financeChargeViewportBack > .chargeModal{
    max-width:calc(100vw - 24px) !important;
    max-height:calc(100dvh - 24px) !important;
  }
}
