import{u as r,a,j as e}from"./index-D4ZMoJFe.js";import{S as n}from"./shield-alert-CgMV_b7O.js";import{A as c}from"./arrow-left-DvOngpmh.js";function l(){const s=r(),{activeModule:t}=a();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-danger/10 text-danger",children:e.jsx(n,{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("h1",{className:"mt-5 text-3xl font-semibold text-text",children:"Accès refusé"}),e.jsx("p",{className:"mt-3 text-sm leading-7 text-textMuted",children:"Vous n’avez pas les autorisations nécessaires pour accéder à cette page ou à cette action."}),e.jsxs("button",{type:"button",className:"btn-secondary mt-6 inline-flex items-center gap-2",onClick:()=>s(-1),children:[e.jsx(c,{size:16}),"Retour"]})]})})}export{l as default};
