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