import{u as r,a as n,j as e}from"./index-D4ZMoJFe.js";import{M as d}from"./map-pinned-C9hS4GhO.js";import{A as l}from"./arrow-left-DvOngpmh.js";function x(){const a=r(),{activeModule:t}=n(),s=t==="MGX"?"/mgx/dashboard":"/dashboard";return e.jsx("div",{className:"flex min-h-[60vh] items-center justify-center",children:e.jsxs("div",{className:"max-w-xl rounded-[32px] border border-border bg-surface px-8 py-10 text-center shadow-panel",children:[e.jsx("div",{className:"mx-auto flex h-16 w-16 items-center justify-center rounded-3xl bg-accent/10 text-accent",children:e.jsx(d,{size:28})}),e.jsx("div",{className:`mx-auto mt-5 inline-flex rounded-full border px-3 py-1 text-xs font-semibold ${t==="MGX"?"border-gold/30 bg-gold/10 text-gold":"border-accent/30 bg-accent/10 text-accent"}`,children:t||"SCF"}),e.jsx("p",{className:"mt-5 text-xs font-semibold uppercase tracking-[0.24em] text-accent",children:"404"}),e.jsx("h1",{className:"mt-3 text-3xl font-semibold text-text",children:"Page introuvable"}),e.jsx("p",{className:"mt-3 text-sm leading-7 text-textMuted",children:t==="MGX"?"Cette page MGX est introuvable. Revenez au tableau de bord du module.":"La ressource demandée n’existe pas ou a été déplacée."}),e.jsxs("div",{className:"mt-6 flex flex-wrap items-center justify-center gap-3",children:[e.jsxs("button",{type:"button",className:"btn-secondary inline-flex items-center gap-2",onClick:()=>a(-1),children:[e.jsx(l,{size:16}),"Retour"]}),e.jsx("button",{type:"button",className:"btn-primary",onClick:()=>a(s),children:t==="MGX"?"Aller au tableau de bord MGX":"Aller au tableau de bord"})]})]})})}export{x as default};
