/* ZexiPay Version 2.1 — responsive and checkout polish */
:root{color-scheme:light!important;--primary:#4f46e5;--tint:#eef2ff;--green:#059669;--line:#e2e8f0;--radius:16px}
html,body{max-width:100%;overflow-x:clip}
img,svg,video,canvas{max-width:100%}
button,a,input,select,textarea{touch-action:manipulation}
.mast .mode,.account-mode{display:none!important}
/* Give the homepage payment card depth while keeping the QR image itself flat. */
.mockstage{perspective:1200px}
.ticket{position:relative;transform:perspective(1100px) rotateY(-8deg) rotateX(4deg) rotateZ(-2deg) translateZ(14px);transform-style:preserve-3d;box-shadow:0 34px 78px #0005,12px 14px 0 -6px #d9d8ef,19px 22px 0 -12px #8f8bc2}
.ticketbody .qr{transform:translateZ(1px);image-rendering:pixelated}
.receipt{display:none!important}
.table-responsive,.table-scroll,.scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
@media(max-width:740px){
  .ticket{transform:perspective(1000px) rotateY(-3deg) rotateX(2deg) rotateZ(-1deg);}
  .receipt{display:none!important}
  .co-pay .co-pay-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px}
  .co-pay .co-qr{display:block!important;order:0;width:100%;margin:0 0 14px;padding:16px}
  .co-pay .co-qr-frame{width:min(100%,240px);max-width:240px;margin-inline:auto}
  .co-pay .co-qr-frame img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}
  .co-pay .co-methods,.co-pay[data-tab="qr"] .co-methods{display:block!important;order:1;min-width:0}
  .co-pay .co-primary{display:flex!important;width:100%;min-height:48px}
  .co-pay .co-apps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .co-pay .co-app{min-width:0}
  .co-pay .co-vpa{max-width:100%;min-width:0}
  .co-pay .co-vpa-value{overflow-wrap:anywhere}
  .wrap{width:min(100% - 32px,1200px)}
  .table-responsive{border-radius:12px}
}
@media(min-width:741px) and (max-width:1050px){
 .wrap{width:min(100% - 48px,1200px)}
 .grid.three,footer .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .docs{grid-template-columns:140px minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce){.ticket{transform:none!important}}
