import{jsxs as s,jsx as e}from"react/jsx-runtime";import{memo as r}from"react";import{UserPlus as t,Users as i}from"lucide-react";const m=r(function({serverOnline:o,onlinePlayers:l,totalAccounts:a}){return s("div",{className:"fixed left-6 z-30 flex flex-col gap-0 font-semibold overflow-hidden",style:{top:"80px",background:"rgba(10,6,3,0.95)",border:"1px solid rgba(139,26,26,0.4)",borderRadius:"10px",fontFamily:"Rajdhani, sans-serif",fontSize:"0.82rem",color:"#d4b896",boxShadow:"0 4px 16px rgba(0,0,0,0.5)",width:"max-content",maxWidth:"160px"},children:[s("div",{className:"flex items-center gap-2 px-3 py-2 whitespace-nowrap",style:{borderBottom:"1px solid rgba(201,168,76,0.12)"},children:[o?e("div",{className:"w-2.5 h-2.5 rounded-full flex-shrink-0",style:{background:"#4caf50",boxShadow:"0 0 6px rgba(76,175,80,0.8)",animation:"livePulse 2s ease-in-out infinite"}}):e("div",{className:"w-2.5 h-2.5 rounded-full flex-shrink-0",style:{background:"#e74c3c",boxShadow:"0 0 6px rgba(231,76,60,0.8)",animation:"offlinePulse 2s ease-in-out infinite"}}),s("span",{className:"text-sm",style:{color:"#7a6a54"},children:["Server ",e("strong",{style:{color:o?"#d4b896":"#e74c3c"},children:o?"Online":"Offline"})]})]}),s("a",{href:"/register",className:"flex items-center gap-2 px-3 py-2 whitespace-nowrap hover:bg-[rgba(201,168,76,0.05)] transition-colors",style:{borderBottom:"1px solid rgba(201,168,76,0.12)"},children:[e(t,{className:"w-3.5 h-3.5 flex-shrink-0",style:{color:"#c9a84c"}}),s("span",{className:"text-sm",style:{color:"#7a6a54"},children:[e("strong",{style:{color:"#d4b896"},children:a.toLocaleString()})," Accounts"]})]}),s("div",{className:"flex items-center gap-2 px-3 py-2 whitespace-nowrap",children:[e(i,{className:"w-3.5 h-3.5 flex-shrink-0",style:{color:"#5865F2"}}),s("span",{className:"text-sm",style:{color:"#7a6a54"},children:[e("strong",{style:{color:"#d4b896"},children:l.toLocaleString()})," Online"]})]}),e("style",{children:`
        @keyframes livePulse {
          0%, 100% { opacity: 1; }
          50% { opacity: 0.6; }
        }
        @keyframes offlinePulse {
          0%, 100% { opacity: 1; }
          50% { opacity: 0.5; }
        }
      `})]})});export{m as ServerStatusPill};
