@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;background:#f1f5f9;font-family:IRANSans,Tahoma,Arial,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body{height:100%;overflow:hidden}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;direction:rtl;margin:0}button{font:inherit}.receipt-page{background:radial-gradient(circle at 85% 8%,#0f9f6e24,#0000 42%),radial-gradient(circle at 10% 92%,#0ea5e91a,#0000 38%),#f1f5f9;height:100dvh;position:relative;overflow:hidden}.background-orb{pointer-events:none;filter:blur(80px);border-radius:999px;position:absolute}.background-orb--one{background:#0f9f6e29;width:18rem;height:18rem;top:-6rem;right:-4rem}.background-orb--two{background:#0ea5e91f;width:20rem;height:20rem;bottom:-7rem;left:-4rem}.receipt-shell{z-index:1;justify-content:center;align-items:center;width:min(100%,480px);height:100%;margin:0 auto;padding:10px 14px;display:flex;position:relative}.receipt-paper{width:100%;max-height:100%}.receipt-card,.state-card{background:var(--surface);width:100%;color:var(--ink);border:1px solid #e2e8f0e6;border-radius:24px;box-shadow:0 4px 6px #0f172a0a,0 20px 48px #0f172a1a}.receipt-card{max-height:100%;position:relative;overflow:hidden}.receipt-card-header{border-bottom:1px solid var(--border);background:linear-gradient(135deg,#0f9f6e14 0%,#fff0 70%);padding:16px 20px}.receipt-brand{align-items:center;gap:12px;display:flex}.receipt-logo{background:var(--primary-soft);border:1px solid #0f9f6e26;border-radius:14px;flex-shrink:0;place-items:center;width:44px;height:44px;display:grid}.receipt-logo img{object-fit:contain;border-radius:8px;width:30px;height:30px}.state-card{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:320px;padding:48px 24px;display:flex}.receipt-kicker,.receipt-amount-section p,.receipt-amount-section span,.receipt-detail-label,.receipt-verification p,.receipt-footer,.state-card p{color:var(--muted)}.receipt-kicker{margin:0 0 2px;font-size:11px;font-weight:500}.receipt-card-header h1{margin:0;font-size:15px;font-weight:800;line-height:1.35}.receipt-amount-section{text-align:center;border-bottom:1px solid var(--border);background:linear-gradient(#0f9f6e0f 0%,#0f9f6e05 100%);padding:14px 20px}.receipt-body{padding:12px 20px 8px}.receipt-amount-section p{margin:0 0 4px;font-size:11px}.receipt-amount-section strong{color:var(--ink);font-size:clamp(22px,5vw,30px);font-weight:900;line-height:1.2;font-family:var(--font-amount);letter-spacing:-.02em;display:block}.receipt-amount-section span{color:var(--primary-dark);background:#0f9f6e1a;border-radius:999px;margin-top:4px;padding:2px 8px;font-size:10px;font-weight:600;display:inline-block}.receipt-divider{display:none}.receipt-section-title{color:var(--muted);letter-spacing:.02em;margin:10px 0 6px;font-size:11px;font-weight:700}.receipt-section-title:first-child{margin-top:0}.receipt-details{border:1px solid var(--border);background:#f8fafc;border-radius:14px;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px;padding:8px 12px;display:grid}.receipt-details--parties{grid-template-columns:1fr 1fr}.receipt-detail-row{justify-content:space-between;align-items:flex-start;gap:8px;padding:5px 0;font-size:11px;line-height:1.4;display:flex}.receipt-detail-label{flex:none;font-size:11px}.receipt-detail-value{min-width:0;color:var(--ink);text-align:left;overflow-wrap:anywhere;font-size:11px;font-weight:700}.receipt-mono,.receipt-verification code{direction:ltr;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.receipt-total-row strong{font-family:var(--font-amount);color:var(--ink);font-size:11px;font-weight:800}.receipt-totals{background:linear-gradient(135deg,#0f9f6e14 0%,#0f9f6e08 100%);border:1px solid #0f9f6e2e;border-radius:14px;padding:10px 12px}.receipt-total-row{justify-content:space-between;align-items:center;gap:10px;padding:3px 0;font-size:11px;display:flex}.receipt-total-row span{color:var(--muted)}.receipt-total-row--final{border-top:1px solid #0f9f6e26;margin-top:4px;padding-top:8px}.receipt-total-row--final span{color:var(--ink);font-weight:600}.receipt-total-row--final strong{color:var(--primary-dark);font-size:14px;font-weight:900}.receipt-verification{border:1px solid var(--border);background:#f8fafc;border-radius:14px;padding:10px 12px}.receipt-verification-content{align-items:center;gap:12px;display:flex}.receipt-qr{border:1px solid var(--border);background:#fff;border-radius:12px;flex:none;padding:6px;box-shadow:0 4px 12px #0f172a0f}.receipt-qr img{width:56px;height:56px;display:block}.receipt-verification-text{flex:1;min-width:0}.receipt-verification p{margin:0 0 6px;font-size:10px;line-height:1.45}.receipt-verification code{border:1px solid var(--border);color:var(--ink);text-align:left;overflow-wrap:anywhere;background:#fff;border-radius:8px;padding:6px 8px;font-size:9px;line-height:1.35;display:block}.receipt-actions{border-top:1px solid var(--border);background:#fafbfc;justify-content:center;align-items:center;gap:8px;padding:12px 20px;display:flex}.button{cursor:pointer;border:0;border-radius:10px;justify-content:center;align-items:center;gap:6px;min-height:36px;padding:0 14px;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 #0f9f6e47}.button.primary:hover{background:var(--primary-dark)}.button.secondary{color:var(--ink);border:1px solid var(--border);background:#fff}.button.secondary:hover{background:#f8fafc}.receipt-footer{text-align:center;border-top:1px solid var(--border);padding:10px 20px 14px}.receipt-footer p{margin:0 0 4px;font-size:10px}.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:var(--muted);font-size:9px;line-height:1.45;display:block}.receipt-status{border:1px solid;border-radius:999px;justify-content:center;align-items:center;gap:4px;width:max-content;padding:4px 10px;font-size:11px;font-weight:700;display:inline-flex}.receipt-status--compact{padding:3px 8px;font-size:10px}.receipt-status--success{color:#047857;background:#ecfdf5;border-color:#bbf7d0}.receipt-status--pending{color:#b45309;background:#fffbeb;border-color:#fde68a}.receipt-status--failed{color:#be123c;background:#fff1f2;border-color:#fecdd3}.state-card h1{margin:16px 0 8px}.state-card p{max-width:440px;line-height:1.9}.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 (width<=640px){.receipt-shell{padding:6px 10px}.receipt-details,.receipt-details--parties{grid-template-columns:1fr}.receipt-verification-content{align-items:flex-start}}@media print{body,.receipt-page{background:#fff!important}.background-orb,.receipt-actions{display:none!important}.receipt-shell{width:100%;max-width:480px;min-height:auto;padding:0}.receipt-card{box-shadow:none!important;border:1px solid #e2e8f0!important}}
