import{r as e,j as o}from"./app-vYFZLebK.js";const f=e.forwardRef(function({type:s="text",className:a="",isFocused:r=!1,...n},l){const t=e.useRef(null);return e.useImperativeHandle(l,()=>({focus:()=>t.current?.focus()})),e.useEffect(()=>{r&&t.current?.focus()},[r]),o.jsxs("div",{className:"relative w-full group",children:[o.jsx("input",{...n,type:s,className:"w-full bg-black/40 border border-white/10 text-white font-mono text-sm rounded-2xl px-6 py-4 outline-none focus:border-cyan-500/50 focus:ring-0 focus:bg-black/60 transition-all duration-500 placeholder-slate-700 "+a,ref:t}),o.jsx("div",{className:"absolute bottom-0 left-1/2 -translate-x-1/2 w-0 h-[1px] bg-cyan-400 group-focus-within:w-[80%] transition-all duration-700 blur-[1px] shadow-[0_0_10px_#22d3ee]"})]})});export{f as T};
