import{_ as e,d as t,g as n,m as r,v as i}from"./index-DOJOKqWn.js";var a=i(e(),1),o=t();function s(){let e=r(),[t]=n(),i=t.get(`orderId`)||`ALF-UNKNOWN`;return(0,a.useEffect)(()=>{window.scrollTo(0,0)},[]),(0,o.jsxs)(`main`,{style:{minHeight:`80vh`,display:`flex`,flexDirection:`column`,alignItems:`center`,justifyContent:`center`,background:`var(--obsidian)`,padding:`40px 24px`,direction:`ltr`},children:[(0,o.jsx)(`div`,{style:{width:`100%`,maxWidth:560,marginBottom:16},children:(0,o.jsx)(`button`,{onClick:()=>e(`/`),className:`btn-seal btn-seal-ghost`,style:{padding:`8px 20px`,fontSize:`9px`,letterSpacing:`0.2em`},children:`← Back to Home`})}),(0,o.jsxs)(`div`,{style:{background:`var(--obsidian-3)`,border:`1px solid var(--border-bright)`,padding:`60px 40px`,maxWidth:560,width:`100%`,textAlign:`center`,boxShadow:`0 20px 50px rgba(0,0,0,0.5)`},children:[(0,o.jsx)(`div`,{style:{width:80,height:80,borderRadius:`50%`,background:`rgba(60,179,113,0.1)`,border:`2px solid #3CB371`,display:`flex`,alignItems:`center`,justifyContent:`center`,margin:`0 auto 28px`,color:`#3CB371`,fontSize:32},children:`✓`}),(0,o.jsx)(`span`,{style:{fontFamily:`var(--font-cinzel)`,fontSize:11,letterSpacing:`0.3em`,color:`var(--gold)`,textTransform:`uppercase`,display:`block`,marginBottom:12},children:`Acquisition Successful`}),(0,o.jsx)(`h1`,{style:{fontFamily:`var(--font-cinzel)`,fontSize:32,fontWeight:500,color:`var(--parchment)`,letterSpacing:`0.1em`,marginBottom:6},children:`Treasury Secured`}),(0,o.jsx)(`p`,{style:{fontFamily:`var(--font-arabic)`,fontSize:24,color:`var(--gold)`,opacity:.6,direction:`rtl`,marginBottom:28},children:`تم تسجيل طلبك بنجاح`}),(0,o.jsxs)(`div`,{style:{background:`var(--obsidian-2)`,border:`1px solid var(--border)`,padding:`16px 20px`,borderRadius:4,marginBottom:32},children:[(0,o.jsx)(`p`,{style:{fontSize:12,color:`var(--text-muted)`,margin:`0 0 6px`,fontFamily:`var(--font-cinzel)`,letterSpacing:`0.1em`},children:`ORDER SCROLL CODE`}),(0,o.jsx)(`p`,{style:{fontSize:18,color:`var(--parchment)`,fontFamily:`var(--font-cinzel)`,fontWeight:600,letterSpacing:`0.15em`,margin:0},children:i})]}),(0,o.jsx)(`p`,{style:{fontFamily:`var(--font-display)`,fontStyle:`italic`,fontSize:15,color:`var(--text-secondary)`,lineHeight:1.8,marginBottom:40},children:`Your payment has been verified. The royal scribes have registered your request, and the custodians are preparing your flacon from the vault.`}),(0,o.jsxs)(`div`,{style:{display:`flex`,gap:16,justifyContent:`center`},children:[(0,o.jsx)(`button`,{className:`btn-seal`,onClick:()=>e(`/profile`),children:`View Order History`}),(0,o.jsx)(`button`,{className:`btn-seal btn-seal-ghost`,onClick:()=>e(`/treasury`),children:`Continue Exploring`})]})]})]})}export{s as default};