#successModal{--success-payment-width:420px}
html body #successModal .modal-dialog{width:min(calc(100% - 24px),var(--success-payment-width))!important;max-width:var(--success-payment-width)!important;margin:24px auto!important}
html body #successModal .modal-content{width:100%!important;max-width:100%!important;max-height:calc(100dvh - 48px)!important;overflow:hidden!important;border:1px solid #404040!important;border-radius:12px!important;background:#2a2a2a!important;box-shadow:0 20px 40px rgba(0,0,0,.62)!important}
html body #successModal .window-register,html body #successModal .align-center-windows{width:100%!important;max-width:100%!important;max-height:inherit!important}
html body #successModal .card.windows{width:100%!important;max-width:100%!important;max-height:calc(100dvh - 48px)!important;padding:0!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;background:linear-gradient(135deg,#2a2a2a 0%,#1e1e1e 100%)!important}
html body #successModal .success-payment-header{padding:26px 54px 20px!important;border-bottom:1px solid rgba(16,185,129,.35)!important;background:linear-gradient(135deg,#2a2a2a 0%,#1e1e1e 100%)!important}
html body #successModal .success-payment-close{top:12px!important;right:12px!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;z-index:5!important}
html body #successModal .success-payment-icon{width:54px!important;height:54px!important;margin:0 auto 12px!important;border-radius:12px!important;background:linear-gradient(135deg,#10b981 0%,#059669 100%)!important}
html body #successModal .success-payment-icon-inner{width:34px!important;height:34px!important;font-size:18px!important}
html body #successModal .success-payment-title{margin-bottom:6px!important;font-size:22px!important;line-height:1.2!important}
html body #successModal .success-payment-subtitle{font-size:14px!important;line-height:1.4!important}
html body #successModal .success-payment-badge{position:relative!important;top:auto!important;left:auto!important;display:flex!important;width:100%!important;justify-content:center!important;margin:-14px 0 0!important;transform:none!important;box-sizing:border-box!important}
html body #successModal .success-payment-badge-pill{padding:7px 18px!important;border-radius:16px!important;font-size:12px!important;line-height:1!important}
html body #successModal .success-payment-body{width:100%!important;padding:28px 24px 24px!important;box-sizing:border-box!important}
html body #successModal .success-payment-message,html body #successModal .success-payment-next{padding:18px!important;margin-bottom:18px!important;border-radius:12px!important}
html body #successModal .success-payment-message [style*="font-size: 48px"]{font-size:32px!important;margin-bottom:10px!important}
html body #successModal .success-payment-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin-bottom:18px!important}
html body #successModal .success-payment-stats>div{min-width:0!important;padding:12px 6px!important}
html body #successModal .success-payment-stats>div>div:last-child{font-size:11px!important;overflow-wrap:anywhere!important}
html body #successModal .success-payment-actions{gap:10px!important}
html body #successModal .success-payment-actions>button{min-height:50px!important}
@media(max-width:576px){
html body #successModal.show{position:fixed!important;inset:0!important;display:flex!important;width:100vw!important;height:100vh!important;height:100dvh!important;align-items:stretch!important;justify-content:center!important;padding:max(8px,env(safe-area-inset-top)) 8px max(8px,env(safe-area-inset-bottom))!important;box-sizing:border-box!important;overflow:hidden!important}
html body #successModal.show .modal-dialog,html body #successModal.show .modal-dialog.modal-dialog-centered{display:block!important;width:min(100%,var(--success-payment-width))!important;max-width:var(--success-payment-width)!important;min-width:0!important;height:calc(100dvh - max(16px,env(safe-area-inset-top)) - max(16px,env(safe-area-inset-bottom)))!important;max-height:calc(100dvh - max(16px,env(safe-area-inset-top)) - max(16px,env(safe-area-inset-bottom)))!important;margin:0 auto!important;padding:0!important;transform:none!important}
html body #successModal.show .modal-content,html body #successModal.show .window-register,html body #successModal.show .align-center-windows{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;height:100%!important;max-height:100%!important;margin:0!important;box-sizing:border-box!important}
html body #successModal.show .modal-content{overflow:hidden!important;border-radius:12px!important}
html body #successModal.show .card.windows{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;height:100%!important;max-height:100%!important;margin:0!important;box-sizing:border-box!important;overflow-x:hidden!important;overflow-y:auto!important}
html body #successModal .success-payment-header{padding:22px 52px 18px!important}
html body #successModal .success-payment-icon{width:48px!important;height:48px!important;margin-bottom:10px!important}
html body #successModal .success-payment-icon-inner{width:32px!important;height:32px!important}
html body #successModal .success-payment-title{font-size:20px!important}
html body #successModal .success-payment-badge{margin-top:-13px!important}
html body #successModal .success-payment-body{padding:22px 16px 20px!important}
html body #successModal .success-payment-message,html body #successModal .success-payment-next{padding:16px!important;margin-bottom:16px!important}
html body #successModal .success-payment-stats{margin-bottom:16px!important}
html body #successModal .success-payment-actions{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
html body #successModal .success-payment-actions>button{width:100%!important;min-height:50px!important;margin:0!important;box-sizing:border-box!important}
}

@media(max-width:576px){
html body #successModal .card.windows>.success-payment-header.success-payment-header{padding:22px 52px 18px!important}
html body #successModal .card.windows>.success-payment-body.success-payment-body{padding:22px 16px 20px!important}
}


/* O cont?iner Bootstrap deve ser invis?vel; somente o card interno comp?e o modal. */
html body #successModal .modal-content.modal-content{
background:transparent!important;
border:0!important;
box-shadow:none!important;
}
html body #successModal .align-center-windows.align-center-windows{
padding-left:0!important;
padding-right:0!important;
background:transparent!important;
}
html body #successModal .window-register.window-register{
background:transparent!important;
}
html body #successModal .card.windows{
border-radius:12px!important;
box-shadow:0 20px 40px rgba(0,0,0,.62)!important;
}
