@font-face{font-family:IRANSans;font-style:normal;font-weight:900;font-display:swap;src:url(/fonts/woff2/IRANSansWeb_Black.woff2)format("woff2"),url(/fonts/woff/IRANSansWeb_Black.woff)format("woff"),url(/fonts/ttf/IRANSansWeb_Black.ttf)format("truetype")}@font-face{font-family:IRANSans;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/woff2/IRANSansWeb_Bold.woff2)format("woff2"),url(/fonts/woff/IRANSansWeb_Bold.woff)format("woff"),url(/fonts/ttf/IRANSansWeb_Bold.ttf)format("truetype")}@font-face{font-family:IRANSans;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/woff2/IRANSansWeb_Medium.woff2)format("woff2"),url(/fonts/woff/IRANSansWeb_Medium.woff)format("woff"),url(/fonts/ttf/IRANSansWeb_Medium.ttf)format("truetype")}@font-face{font-family:IRANSans;font-style:normal;font-weight:300;font-display:swap;src:url(/fonts/woff2/IRANSansWeb_Light.woff2)format("woff2"),url(/fonts/woff/IRANSansWeb_Light.woff)format("woff"),url(/fonts/ttf/IRANSansWeb_Light.ttf)format("truetype")}@font-face{font-family:IRANSans;font-style:normal;font-weight:200;font-display:swap;src:url(/fonts/woff2/IRANSansWeb_UltraLight.woff2)format("woff2"),url(/fonts/woff/IRANSansWeb_UltraLight.woff)format("woff"),url(/fonts/ttf/IRANSansWeb_UltraLight.ttf)format("truetype")}@font-face{font-family:IRANSans;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/woff2/IRANSansWeb.woff2)format("woff2"),url(/fonts/woff/IRANSansWeb.woff)format("woff"),url(/fonts/ttf/IRANSansWeb.ttf)format("truetype")}@font-face{font-family:IRANSansFaNum;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/fanum/IRANSansFaNum.woff2)format("woff2")}@font-face{font-family:IRANSansFaNum;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/fanum/IRANSansFaNum-Bold.woff2)format("woff2")}@font-face{font-family:IRANSansFaNum;font-style:normal;font-weight:900;font-display:swap;src:url(/fonts/fanum/IRANSansFaNum-Black.woff2)format("woff2")}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--font-amount:IRANSansFaNum,IRANSans,Tahoma,Arial,sans-serif;color:#0f172a;--primary:#0f9f6e;--primary-dark:#08734f;--primary-soft:#0f9f6e1a;--border:#e2e8f0;--muted:#64748b;--surface:#fff;--ink:#0f172a;--receipt-max-width:640px;background:#f1f5f9;font-family:IRANSans,Tahoma,Arial,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{height:100%}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;direction:rtl;min-height:100%;margin:0;overflow:hidden auto}button{font:inherit}:root{--ink-soft:#475569;--line:#e8edf3;--paper-tint:#f8fafc;--radius:18px}.receipt-page{background:radial-gradient(circle at 88% -4%,#0f9f6e1a,#0000 46%),radial-gradient(circle at 6% 104%,#0ea5e914,#0000 42%),#eef2f6;min-height:100dvh;position:relative;overflow:hidden auto}.background-orb{pointer-events:none;filter:blur(90px);border-radius:999px;position:absolute}.background-orb--one{background:#0f9f6e24;width:20rem;height:20rem;top:-7rem;right:-5rem}.background-orb--two{background:#0ea5e91a;width:22rem;height:22rem;bottom:-8rem;left:-5rem}.receipt-shell{z-index:1;width:min(100%,var(--receipt-max-width));justify-content:center;align-items:flex-start;min-height:100dvh;margin:0 auto;padding:24px 20px 40px;display:flex;position:relative}.receipt-paper{width:100%}.receipt-shell:has(>.state-card){align-items:center;padding:24px 20px}.receipt-card,.state-card{background:var(--surface);width:100%;color:var(--ink);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 1px 2px #0f172a0a,0 24px 60px -28px #0f172a47}.receipt-card{position:relative;overflow:hidden}.receipt-card:before{content:"";background:var(--primary);height:4px;position:absolute;inset:0 0 auto}.receipt-card--pending:before,.receipt-card--processing:before{background:#d97706}.receipt-card--failed:before{background:#e11d48}.receipt-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:18px 20px 16px;display:flex}.receipt-head__brand{align-items:center;gap:10px;min-width:0;display:flex}.receipt-head__logo{border:1px solid var(--line);background:#fff;border-radius:12px;flex:none;place-items:center;width:40px;height:40px;display:grid;overflow:hidden}.receipt-head__logo img{object-fit:cover;width:100%;height:100%}.receipt-head__brand-text{flex-direction:column;gap:2px;min-width:0;display:flex}.receipt-head__brand-text strong{letter-spacing:-.01em;font-size:14px;font-weight:800}.receipt-head__brand-text small,.receipt-head__meta small{color:var(--muted);font-size:10px}.receipt-head__meta{text-align:left;flex-direction:column;align-items:flex-end;gap:3px;display:flex}.receipt-head__meta code{color:var(--ink);direction:ltr;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:11px;font-weight:700}.receipt-hero{text-align:center;background:linear-gradient(180deg,var(--paper-tint),#f8fafc00);border-bottom:1px solid var(--line);flex-direction:column;align-items:center;gap:6px;padding:22px 20px 20px;display:flex}.receipt-hero__label{color:var(--muted);margin:4px 0 0;font-size:11px}.receipt-hero__amount{font-family:var(--font-amount);letter-spacing:-.02em;font-variant-numeric:tabular-nums;font-size:clamp(26px,7vw,34px);font-weight:800;line-height:1.25}.receipt-hero__meta{color:var(--ink-soft);flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;margin:2px 0 0;font-size:11px;display:flex}.receipt-hero__meta i{color:#cbd5e1;font-style:normal}.receipt-transfer{border-bottom:1px solid var(--line);grid-template-columns:1fr auto 1fr;align-items:stretch;gap:10px;padding:16px 20px;display:grid}.receipt-party{border:1px solid var(--line);background:var(--paper-tint);border-radius:14px;flex-direction:column;gap:7px;min-width:0;padding:12px;display:flex}.receipt-party__role{color:var(--muted);font-size:10px;font-weight:700}.receipt-party__bank{align-items:center;gap:8px;min-width:0;display:flex}.receipt-party__logo{border:1px solid var(--line);width:28px;height:28px;color:var(--ink-soft);background:#fff;border-radius:8px;flex:none;place-items:center;font-size:12px;font-weight:800;display:grid;overflow:hidden}.receipt-party__logo img{object-fit:contain;width:72%;height:72%}.receipt-party__bank strong{text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;font-weight:700;overflow:hidden}.receipt-party__owner{color:var(--ink);margin:0;font-size:12px;font-weight:700}.receipt-copy{max-width:100%;color:inherit;cursor:pointer;text-align:inherit;background:0 0;border:0;border-radius:8px;align-items:center;gap:6px;margin:0 -6px;padding:3px 6px;transition:background .14s,color .14s;display:inline-flex}.receipt-copy:hover,.receipt-copy:focus-visible{color:var(--ink);background:#fff;outline:none}.receipt-copy:focus-visible{box-shadow:0 0 0 2px var(--primary-soft)}.receipt-copy code{overflow-wrap:anywhere;direction:ltr;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:11px;line-height:1.6}.receipt-party__account code{letter-spacing:-.01em;font-size:10.5px}.receipt-party__account{gap:5px}.receipt-copy__icon{color:var(--muted);flex:none;place-items:center;display:grid}.receipt-copy:hover .receipt-copy__icon{color:var(--primary)}.receipt-party__account{color:var(--ink-soft);direction:ltr;justify-content:flex-end;align-self:stretch}.receipt-transfer__arrow{width:26px;height:26px;color:var(--primary);background:var(--primary-soft);border-radius:999px;align-self:center;place-items:center;display:grid}.receipt-body{flex-direction:column;display:flex}.receipt-section{border-bottom:1px solid var(--line);padding:14px 20px}.receipt-section__title{letter-spacing:.04em;color:var(--muted);margin:0 0 10px;font-size:10.5px;font-weight:800}.receipt-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 18px;display:grid}.receipt-detail-row{border-bottom:1px dashed var(--line);justify-content:space-between;align-items:baseline;gap:10px;padding:7px 0;display:flex}.receipt-detail-row--wide{grid-column:1/-1}.receipt-detail-label{color:var(--muted);flex:none;font-size:11px}.receipt-detail-value{text-align:left;overflow-wrap:anywhere;font-size:12px;font-weight:700}.receipt-mono{direction:ltr;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:11.5px;font-weight:600;display:inline-block}.receipt-totals{border:1px solid var(--line);background:var(--paper-tint);border-radius:14px;flex-direction:column;gap:2px;padding:10px 12px;display:flex}.receipt-total-row{justify-content:space-between;align-items:center;gap:10px;padding:6px 0;display:flex}.receipt-total-row span{color:var(--ink-soft);font-size:11.5px}.receipt-total-row strong{font-family:var(--font-amount);font-variant-numeric:tabular-nums;font-size:12.5px;font-weight:700}.receipt-total-row--final{border-top:1px solid var(--line);margin-top:2px;padding-top:10px}.receipt-total-row--final span{color:var(--ink);font-size:12px;font-weight:700}.receipt-total-row--final strong{color:var(--primary-dark);font-size:15px;font-weight:800}.receipt-verification{align-items:center;gap:12px;display:flex}.receipt-qr{border:1px solid var(--line);background:#fff;border-radius:12px;flex:none;place-items:center;width:74px;height:74px;padding:5px;display:grid}.receipt-qr img{object-fit:contain;width:100%;height:100%}.receipt-verification__text{flex-direction:column;gap:6px;min-width:0;display:flex}.receipt-verification__text p{color:var(--ink-soft);align-items:center;gap:5px;margin:0;font-size:11px;line-height:1.7;display:flex}.receipt-verification__text p svg{color:var(--primary);flex:none}.receipt-verification__text code{color:var(--muted);overflow-wrap:anywhere;direction:ltr;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:10.5px;line-height:1.6;display:inline-block}.receipt-actions{background:var(--paper-tint);border-bottom:1px solid var(--line);justify-content:center;gap:8px;padding:14px 20px;display:flex}.button{cursor:pointer;border:0;border-radius:10px;justify-content:center;align-items:center;gap:6px;min-height:36px;padding:0 16px;font-size:12px;font-weight:700;transition:transform .16s,box-shadow .16s,background .16s;display:inline-flex}.button:hover{transform:translateY(-1px)}.button.primary{color:#fff;background:var(--primary);box-shadow:0 8px 20px -8px #0f9f6e8c}.button.primary:hover{background:var(--primary-dark)}.button.secondary{color:var(--ink);border:1px solid var(--line);background:#fff}.button.secondary:hover{background:var(--paper-tint)}.receipt-footer{text-align:center;padding:12px 20px 16px}.receipt-footer p{color:var(--muted);margin:0 0 4px;font-size:10.5px}.receipt-footer span{color:var(--ink);direction:ltr;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-weight:800;display:inline-block}.receipt-footer small{color:#94a3b8;font-size:9.5px;line-height:1.6;display:block}.receipt-status{border:1px solid;border-radius:999px;justify-content:center;align-items:center;gap:4px;width:max-content;padding:4px 11px;font-size:11px;font-weight:700;display:inline-flex}.receipt-status--compact{padding:2px 8px;font-size:10px}.receipt-status--success{color:#047857;background:#ecfdf5;border-color:#a7f3d0}.receipt-status--pending{color:#b45309;background:#fffbeb;border-color:#fde68a}.receipt-status--failed{color:#be123c;background:#fff1f2;border-color:#fecdd3}.receipt-chunks__meta{color:var(--muted);margin:0 0 8px;font-size:10.5px;font-weight:700}.receipt-chunks__list{flex-direction:column;gap:6px;display:flex}.receipt-chunk-row{border:1px solid var(--line);background:#fff;border-radius:12px;justify-content:space-between;align-items:center;gap:10px;padding:8px 10px;display:flex}.receipt-chunk-row.receipt-status--success{background:#f6fefb;border-color:#d1fae5}.receipt-chunk-row.receipt-status--pending{background:#fffdf6;border-color:#fef3c7}.receipt-chunk-row.receipt-status--failed{background:#fff8f8;border-color:#ffe4e6}.receipt-chunk-row__main{align-items:center;gap:8px;min-width:0;display:flex}.receipt-chunk-row__index{width:20px;height:20px;color:var(--ink-soft);background:#eef2f6;border-radius:999px;flex:none;place-items:center;font-size:10px;font-weight:800;display:grid}.receipt-chunk-row__amount{font-family:var(--font-amount);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:12px;font-weight:700}.receipt-chunk-row__status{border:0;border-radius:999px;padding:2px 7px;font-size:9.5px;font-weight:700}.receipt-chunk-row__track{border:1px solid var(--line);max-width:min(55%,320px);color:var(--muted);cursor:pointer;background:#fff;border-radius:8px;align-items:center;gap:5px;padding:4px 8px;display:inline-flex}.receipt-chunk-row__track code{text-overflow:ellipsis;white-space:nowrap;direction:ltr;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:10px;overflow:hidden}.receipt-chunk-row__track:hover{background:var(--paper-tint);color:var(--ink)}.state-card{text-align:center;color:var(--muted);flex-direction:column;align-items:center;padding:40px 24px;display:flex}.state-card h1{color:var(--ink);margin:16px 0 8px;font-size:18px}.state-card p{max-width:440px;margin:0 0 8px;font-size:12.5px;line-height:1.9}.state-card .button{margin-top:12px}.state-icon{border-radius:999px;place-items:center;width:64px;height:64px;display:grid}.state-icon--error{color:#dc2626;background:#fef2f2}.spin{color:var(--primary);animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width:640px){.receipt-shell{padding:12px 12px 28px}.receipt-head,.receipt-hero,.receipt-transfer,.receipt-section,.receipt-actions{padding-left:14px;padding-right:14px}.receipt-transfer{grid-template-columns:1fr}.receipt-transfer__arrow{justify-self:center;transform:rotate(-90deg)}.receipt-details{grid-template-columns:1fr}.receipt-chunk-row{flex-direction:column;align-items:stretch;gap:8px}.receipt-chunk-row__track{justify-content:space-between;max-width:none}}@page{size:A4;margin:12mm}@media print{body,.receipt-page{background:#fff!important}.background-orb,.receipt-actions{display:none!important}.receipt-shell{width:100%;min-height:auto;max-width:var(--receipt-max-width);padding:0}.receipt-card{border-radius:0;box-shadow:none!important;border:1px solid #cbd5e1!important}.receipt-card:before,.receipt-hero,.receipt-party,.receipt-totals,.receipt-status,.receipt-chunk-row{-webkit-print-color-adjust:exact;print-color-adjust:exact}.receipt-transfer,.receipt-section,.receipt-chunk-row{break-inside:avoid;page-break-inside:avoid}.receipt-chunk-row__track svg,.receipt-copy__icon{display:none!important}.receipt-copy{margin:0;padding:0;background:0 0!important}}
