/* Scoped payment success modal. Does not affect navigation, ticket or catalog. */
#ameliaPaymentSuccessR11dR1[hidden],#ameliaPaymentSuccessR11dR1 #amrPaySuccessTipRow[hidden]{display:none!important}
#ameliaPaymentSuccessR11dR1{position:fixed!important;inset:0!important;z-index:2147483000!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:20px!important;background:rgba(5,17,29,.75)!important;box-sizing:border-box!important;overflow-y:auto!important}
#ameliaPaymentSuccessR11dR1 *,#ameliaPaymentSuccessR11dR1 *::before,#ameliaPaymentSuccessR11dR1 *::after{box-sizing:border-box!important}
#ameliaPaymentSuccessR11dR1 .amr-pay-dialog{width:min(100%,420px)!important;max-height:calc(100dvh - 40px)!important;overflow-y:auto!important;border-radius:23px!important;padding:25px 23px!important;background:#fff!important;box-shadow:0 20px 65px rgba(0,0,0,.25)!important;text-align:center!important;color:#112b40!important;font-family:system-ui,-apple-system,Roboto,sans-serif!important}
#ameliaPaymentSuccessR11dR1 .amr-pay-icon{display:grid!important;place-items:center!important;width:72px!important;height:72px!important;border-radius:50%!important;background:#e0f6eb!important;color:#128557!important;font-size:39px!important;font-weight:750!important;margin:0 auto 12px!important}
#ameliaPaymentSuccessR11dR1 .amr-pay-kicker{margin:0 0 6px!important;font-size:11px!important;font-weight:850!important;letter-spacing:.10em!important;color:#ed6a0a!important}
#ameliaPaymentSuccessR11dR1 h2{margin:0 0 9px!important;font-size:clamp(25px,6vw,30px)!important;line-height:1.12!important;font-weight:830!important;color:#112b40!important}
#ameliaPaymentSuccessR11dR1 #ameliaPaymentSuccessDescriptionR11dR1{margin:0 0 18px!important;font-size:14px!important;line-height:1.4!important;color:#587084!important}
#ameliaPaymentSuccessR11dR1 .amr-pay-facts{border:1px solid #d8e1e8!important;border-radius:14px!important;overflow:hidden!important;margin-bottom:18px!important;background:#f7fafc!important}
#ameliaPaymentSuccessR11dR1 .amr-pay-facts>div{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding:12px 14px!important;text-align:left!important;border-bottom:1px solid #e2e8ee!important;font-size:14px!important}
#ameliaPaymentSuccessR11dR1 .amr-pay-facts>div:last-child{border-bottom:0!important}
#ameliaPaymentSuccessR11dR1 .amr-pay-facts span{font-weight:600!important;color:#607484!important}
#ameliaPaymentSuccessR11dR1 .amr-pay-facts strong{font-weight:850!important;color:#132f45!important;text-align:right!important;overflow-wrap:anywhere!important}
#ameliaPaymentSuccessR11dR1 #amrPaySuccessContinue{display:block!important;width:100%!important;min-height:54px!important;border:0!important;border-radius:13px!important;background:#f66b09!important;color:#fff!important;font-size:17px!important;font-weight:800!important;cursor:pointer!important}
#ameliaPaymentSuccessR11dR1 #amrPaySuccessContinue:focus-visible{outline:3px solid #153a53!important;outline-offset:3px!important}
@media(max-width:359px){#ameliaPaymentSuccessR11dR1{padding:12px!important}#ameliaPaymentSuccessR11dR1 .amr-pay-dialog{padding:21px 16px!important}}

/* Transfer visual fallback: same scoped appearance as the previously approved UI. */
@media screen and (max-width:540px){
  html[data-amelia-vertical="restaurant"] body.r6-restaurant-ui #paymentOverlay .payment-method-grid > button[data-method="TRANSFER"]{
    position:relative!important;display:flex!important;flex-direction:column!important;
    align-items:center!important;justify-content:center!important;
    gap:5px!important;min-height:74px!important;min-width:0!important;
    overflow:hidden!important;visibility:visible!important;opacity:1!important;
    color:#263b4d!important;
  }
  html[data-amelia-vertical="restaurant"] body.r6-restaurant-ui #paymentOverlay .payment-method-grid > button[data-method="TRANSFER"] > span{
    position:absolute!important;width:1px!important;height:1px!important;
    padding:0!important;margin:0!important;overflow:hidden!important;
    opacity:0!important;visibility:hidden!important;pointer-events:none!important;
  }
  html[data-amelia-vertical="restaurant"] body.r6-restaurant-ui #paymentOverlay .payment-method-grid > button[data-method="TRANSFER"]::before{
    content:"⇄"!important;position:static!important;display:block!important;
    width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;
    margin:0!important;padding:0!important;border:0!important;background:transparent!important;
    color:inherit!important;font-family:system-ui,sans-serif!important;font-size:27px!important;
    font-weight:500!important;line-height:26px!important;visibility:visible!important;
    opacity:1!important;transform:none!important;box-shadow:none!important;
  }
  html[data-amelia-vertical="restaurant"] body.r6-restaurant-ui #paymentOverlay .payment-method-grid > button[data-method="TRANSFER"]::after{
    content:"Transferencia"!important;position:static!important;display:block!important;
    width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;
    margin:0!important;padding:0!important;border:0!important;background:transparent!important;
    color:inherit!important;font-family:inherit!important;font-size:clamp(8px,2.35vw,10px)!important;
    font-weight:850!important;line-height:1.12!important;text-align:center!important;
    white-space:normal!important;overflow-wrap:anywhere!important;visibility:visible!important;
    opacity:1!important;transform:none!important;box-shadow:none!important;
  }
  html[data-amelia-vertical="restaurant"] body.r6-restaurant-ui #paymentOverlay .payment-method-grid > button[data-method="TRANSFER"].active,
  html[data-amelia-vertical="restaurant"] body.r6-restaurant-ui #paymentOverlay .payment-method-grid > button[data-method="TRANSFER"][aria-pressed="true"]{
    color:#fff!important;
  }
}
