import { jsx as r } from "react/jsx-runtime";
import { Card as c, CardContent as s, CardDescription as m, CardFooter as d, CardHeader as p, CardTitle as f } from "../atoms/card.js";
import { cn as n } from "../../../lib/utils.js";
function g({ className: e, ...t }) {
  return /* @__PURE__ */ r(
    "div",
    {
      className: n(
        "relative flex min-h-screen items-center justify-center overflow-hidden p-6",
        e
      ),
      ...t
    }
  );
}
function T({
  className: e,
  ...t
}) {
  return /* @__PURE__ */ r(
    "div",
    {
      className: n(
        "absolute inset-x-0 top-20 z-10 flex justify-center",
        e
      ),
      ...t
    }
  );
}
function N({
  className: e,
  ...t
}) {
  return /* @__PURE__ */ r(
    c,
    {
      className: n(
        "z-20 w-full max-w-md gap-2 rounded-2xl border-border/50 bg-card pb-0 shadow-2xl lg:max-w-lg",
        e
      ),
      ...t
    }
  );
}
function v({
  className: e,
  ...t
}) {
  return /* @__PURE__ */ r(p, { className: n("space-y-3 pb-6", e), ...t });
}
function A({
  className: e,
  ...t
}) {
  return /* @__PURE__ */ r(
    f,
    {
      className: n(
        "text-center font-bold font-serif text-3xl text-zinc-700 tracking-normal dark:text-zinc-300",
        e
      ),
      ...t
    }
  );
}
function y({
  className: e,
  ...t
}) {
  return /* @__PURE__ */ r(
    m,
    {
      className: n("text-center text-base", e),
      ...t
    }
  );
}
function k({
  className: e,
  ...t
}) {
  return /* @__PURE__ */ r(s, { className: n("px-8 pb-6", e), ...t });
}
function z({
  className: e,
  ...t
}) {
  return /* @__PURE__ */ r(
    d,
    {
      className: n(
        "flex flex-col rounded-b-2xl border-border/40 border-t bg-muted/20 py-6",
        e
      ),
      ...t
    }
  );
}
function C({
  className: e,
  ...t
}) {
  return /* @__PURE__ */ r("div", { className: n("mb-4 text-center", e), ...t });
}
function w({
  className: e,
  ...t
}) {
  return /* @__PURE__ */ r(
    "a",
    {
      className: n(
        "font-medium text-primary text-sm transition-colors hover:underline",
        e
      ),
      ...t
    }
  );
}
function L({
  className: e,
  ...t
}) {
  return /* @__PURE__ */ r(
    "p",
    {
      className: n(
        "px-6 text-center text-muted-foreground text-xs leading-relaxed",
        e
      ),
      ...t
    }
  );
}
function j({
  className: e,
  ...t
}) {
  return /* @__PURE__ */ r(
    "a",
    {
      className: n(
        "font-medium text-primary transition-colors hover:underline",
        e
      ),
      ...t
    }
  );
}
function P({
  className: e,
  ...t
}) {
  return /* @__PURE__ */ r(
    "div",
    {
      className: n(
        "absolute inset-0 z-0 bg-gradient-to-br from-orange-400/40 via-pink-500/30 to-purple-600/40 blur-md",
        e
      ),
      ...t
    }
  );
}
function D({
  className: e,
  playbackRate: t = 0.7,
  poster: a,
  src: u,
  videoClassName: l,
  ...i
}) {
  return /* @__PURE__ */ r(
    "div",
    {
      className: n("absolute -inset-4 z-0 motion-reduce:hidden", e),
      ...i,
      children: /* @__PURE__ */ r(
        "video",
        {
          autoPlay: !0,
          className: n(
            "size-full object-cover opacity-60 blur-lg brightness-50 contrast-110",
            l
          ),
          loop: !0,
          muted: !0,
          playsInline: !0,
          poster: a,
          preload: "none",
          ref: (o) => {
            o && (o.playbackRate = t);
          },
          children: /* @__PURE__ */ r("source", { src: u, type: "video/mp4" })
        }
      )
    }
  );
}
function B({
  className: e,
  gridUrl: t,
  ...a
}) {
  return /* @__PURE__ */ r(
    "div",
    {
      className: n("absolute inset-0 z-1 opacity-[0.01]", e),
      style: {
        backgroundImage: `url(${t})`,
        backgroundPosition: "center center",
        backgroundRepeat: "no-repeat",
        backgroundSize: "100% 100%"
      },
      ...a
    }
  );
}
export {
  g as AuthTemplate,
  N as AuthTemplateCard,
  k as AuthTemplateContent,
  P as AuthTemplateDefaultBackground,
  y as AuthTemplateDescription,
  z as AuthTemplateFooter,
  B as AuthTemplateGridOverlay,
  v as AuthTemplateHeader,
  L as AuthTemplateLegal,
  j as AuthTemplateLegalLink,
  T as AuthTemplateLogo,
  C as AuthTemplatePrompt,
  w as AuthTemplatePromptLink,
  A as AuthTemplateTitle,
  D as AuthTemplateVideoBackground
};
