
:root{--bx-safe-top:env(safe-area-inset-top,0px);--bx-safe-bottom:env(safe-area-inset-bottom,0px)}
html{scroll-padding-top:72px}body{overflow-x:clip}
body .modal.show{position:fixed!important;inset:0!important;width:100%!important;height:100%!important;height:100dvh!important;padding:12px!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;z-index:20500!important;box-sizing:border-box!important}
body .modal.show .modal-dialog{position:relative!important;margin:auto!important;transform:none!important;width:min(100%,540px)!important;max-width:540px!important;max-height:calc(100dvh - 24px)!important;min-height:0!important;pointer-events:auto!important}
body .modal.show .modal-content{max-height:calc(100dvh - 24px)!important;min-height:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;border-radius:20px!important}
body .modal.show .modal-header,body .modal.show .modal-footer{flex:0 0 auto!important}
body .modal.show .modal-body{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important}
body .modal-backdrop{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;z-index:20490!important}
body .swal2-container:has(.swal2-toast){position:fixed!important;inset:auto 10px auto auto!important;top:calc(10px + var(--bx-safe-top))!important;width:min(320px,calc(100vw - 20px))!important;height:auto!important;max-height:40dvh!important;padding:0!important;z-index:2147483647!important;pointer-events:none!important}
body .swal2-container .swal2-toast{width:100%!important;max-width:100%!important;min-height:0!important;padding:10px 12px!important;margin:0!important;box-sizing:border-box!important;pointer-events:auto!important;font-size:13px!important;border-radius:12px!important}
body .swal2-container .swal2-toast .swal2-title{font-size:13px!important;line-height:1.4!important;overflow-wrap:anywhere!important}
body .swal2-container:not(:has(.swal2-toast)){position:fixed!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:12px!important;z-index:20550!important}
body .swal2-container:not(:has(.swal2-toast)) .swal2-popup{max-width:min(440px,100%)!important;max-height:calc(100dvh - 24px)!important;overflow:auto!important;margin:auto!important}
@media(max-width:600px){body .modal.show{padding:8px!important}body .modal.show .modal-dialog,body .modal.show .modal-content{max-height:calc(100dvh - 16px)!important}body .modal-footer .btn{font-size:14px!important;min-width:0!important;white-space:normal!important}body .modal-body{overflow-wrap:anywhere}body .swal2-container:has(.swal2-toast){top:calc(8px + var(--bx-safe-top))!important;right:8px!important;width:min(300px,calc(100vw - 16px))!important}}

@media(max-width:600px){
 body .modal.show .modal-dialog{width:100%!important;margin:0 auto!important}
 body .modal.show .modal-content{max-width:100%!important}
 body .modal.show .modal-footer{display:flex!important;gap:8px!important;flex-wrap:wrap!important;padding:12px!important;padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))!important}
 body .modal.show .modal-footer > button,body .modal.show .modal-footer > .btn{flex:1 1 120px!important;margin:0!important;min-height:42px!important}
 body .modal.show .modal-body{padding:14px!important}
 body .swal2-container:has(.swal2-toast) .swal2-popup{box-shadow:0 8px 24px rgba(0,0,0,.35)!important}
}
@media(prefers-reduced-motion:reduce){body .modal,body .modal-dialog,body .swal2-popup{animation-duration:.01ms!important;transition-duration:.01ms!important}}

:root{--bx-modal-layer:20500;--bx-backdrop-layer:20490;--bx-toast-layer:2147483640}
body .modal.show{z-index:var(--bx-modal-layer)!important;isolation:isolate!important;touch-action:pan-y!important}
body .modal-backdrop{z-index:var(--bx-backdrop-layer)!important}
body .modal.show .modal-dialog{max-width:min(520px,100%)!important;min-width:0!important}
body .modal.show .modal-content{background:var(--xmz-surface,#101117);color:var(--xmz-text,#f5f5f6);border:1px solid var(--xmz-line,rgba(255,255,255,.13));box-shadow:0 22px 70px rgba(0,0,0,.55)}
body .modal.show .modal-body,body .modal.show .modal-header,body .modal.show .modal-footer{min-width:0!important}
body .modal.show .modal-footer{gap:8px!important}
body .modal.show .modal-footer .btn{font-size:clamp(13px,3.4vw,15px)!important;min-height:42px!important;padding:9px 12px!important}
body .swal2-container:has(.swal2-toast){z-index:var(--bx-toast-layer)!important}
body .swal2-container:has(.swal2-toast) .swal2-toast{background:var(--xmz-surface,#15161d)!important;color:var(--xmz-text,#fff)!important;border:1px solid var(--xmz-line,rgba(255,255,255,.14))!important}
body .floating-chat-btn,body .back-to-top,body .scroll-to-top,body #backToTop,body .floating-action,body .floating-btn{position:fixed!important;right:12px!important;bottom:calc(14px + env(safe-area-inset-bottom,0px))!important;z-index:1040!important}
@media(max-width:600px){body .modal.show{padding:10px!important}body .modal.show .modal-dialog{width:100%!important;max-height:calc(100dvh - 20px)!important}body .modal.show .modal-content{max-height:calc(100dvh - 20px)!important;border-radius:16px!important}body .modal.show .modal-header{padding:12px 14px!important}body .modal.show .modal-footer{padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px))!important}body .modal.show .modal-body{padding:12px!important}body .modal.show .modal-footer .btn{flex:1 1 100px!important}body .swal2-container:has(.swal2-toast){top:calc(12px + env(safe-area-inset-top,0px))!important}}


@media(max-width:767.98px){
  body .modal.show{position:fixed!important;inset:0!important;max-width:100vw!important;max-height:100dvh!important;padding:12px!important;overflow:hidden!important}
  body .modal.show .modal-dialog{max-width:min(100%,520px)!important;width:100%!important;margin:auto!important;max-height:calc(100dvh - 24px)!important}
  body .modal.show .modal-content{max-height:calc(100dvh - 24px)!important;display:flex!important;flex-direction:column!important}
  body .modal.show .modal-body{overflow-y:auto!important;min-height:0!important;overscroll-behavior:contain}
  body .modal.show .modal-footer{flex-shrink:0!important;padding-bottom:calc(10px + env(safe-area-inset-bottom,0px))!important}
}
@media(prefers-reduced-motion:reduce){
  .modal,.modal-dialog,.swal2-popup{animation-duration:.01ms!important;transition-duration:.01ms!important}
}
