(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,91931,e=>{"use strict";var t=e.i(43476),s=e.i(71645);function r({onLogin:e}){let[r,l]=(0,s.useState)(""),[o,i]=(0,s.useState)("");return(0,t.jsx)("div",{className:"flex min-h-screen items-center justify-center bg-gradient-to-br from-slate-900 via-slate-800 to-slate-900 px-4",children:(0,t.jsxs)("div",{className:"w-full max-w-md space-y-8 rounded-3xl border border-white/20 bg-white/10 p-8 backdrop-blur-sm shadow-2xl",children:[(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("h1",{className:"text-3xl font-bold text-white",children:"Admin Login"}),(0,t.jsx)("p",{className:"mt-2 text-sm text-white/70",children:"Enter your credentials to access the admin panel"})]}),(0,t.jsxs)("form",{onSubmit:t=>{t.preventDefault(),e(r,o)},className:"mt-8 space-y-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"username",className:"block text-sm font-medium text-white/90",children:"Username"}),(0,t.jsx)("input",{id:"username",type:"text",required:!0,value:r,onChange:e=>l(e.target.value),className:"mt-1 block w-full rounded-xl border border-white/20 bg-white/10 px-4 py-3 text-white placeholder:text-white/50 focus:border-white/40 focus:bg-white/15 focus:outline-none focus:ring-2 focus:ring-white/20",placeholder:"admin"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"password",className:"block text-sm font-medium text-white/90",children:"Password"}),(0,t.jsx)("input",{id:"password",type:"password",required:!0,value:o,onChange:e=>i(e.target.value),className:"mt-1 block w-full rounded-xl border border-white/20 bg-white/10 px-4 py-3 text-white placeholder:text-white/50 focus:border-white/40 focus:bg-white/15 focus:outline-none focus:ring-2 focus:ring-white/20",placeholder:"Enter password"})]}),(0,t.jsx)("button",{type:"submit",className:"w-full rounded-xl bg-gradient-to-r from-blue-600 to-blue-700 px-4 py-3 font-semibold text-white shadow-lg transition-all hover:from-blue-700 hover:to-blue-800 focus:outline-none focus:ring-2 focus:ring-blue-500",children:"Sign In"})]})]})})}e.s(["AdminLogin",()=>r])},16329,e=>{e.n(e.i(91931))}]);