"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen";
import Link from "next/link";

export default function ResetPasswordPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="smallMedium"
      sizing="largeSmall"
      background="floatingGradient"
      cardStyle="solid"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="layered"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={[
            { name: "Home", id: "/" },
            { name: "Services", id: "/services" },
            { name: "Features", id: "/features" },
            { name: "Pricing", id: "/pricing" },
            { name: "Contact", id: "/contact" },
          ]}
          brandName="SponsorDesk"
          bottomLeftText="HR & Legal Solutions"
          bottomRightText="support@sponsordesk.com"
        />
      </div>

      <div className="min-h-screen flex items-center justify-center px-4 py-20 bg-[--background]">
        <div className="w-full max-w-md">
          <div className="bg-[--card] rounded-[--radius-pill] p-8 shadow-lg">
            <h1 className="text-3xl font-bold text-[--foreground] mb-2">
              Reset Password
            </h1>
            <p className="text-[--foreground] opacity-70 mb-8">
              Create a new password for your SponsorDesk account. Make sure it's strong and secure.
            </p>

            <form className="space-y-6">
              <div>
                <label className="block text-sm font-medium text-[--foreground] mb-2">
                  New Password
                </label>
                <input
                  type="password"
                  placeholder="Enter new password"
                  className="w-full px-4 py-3 rounded-[--radius-pill] bg-[--background] border border-[--accent] text-[--foreground] placeholder-[--foreground] placeholder-opacity-50 focus:outline-none focus:ring-2 focus:ring-[--primary-cta]"
                  required
                />
                <p className="text-xs text-[--foreground] opacity-60 mt-2">
                  Minimum 8 characters, including uppercase, lowercase, and numbers
                </p>
              </div>

              <div>
                <label className="block text-sm font-medium text-[--foreground] mb-2">
                  Confirm Password
                </label>
                <input
                  type="password"
                  placeholder="Confirm new password"
                  className="w-full px-4 py-3 rounded-[--radius-pill] bg-[--background] border border-[--accent] text-[--foreground] placeholder-[--foreground] placeholder-opacity-50 focus:outline-none focus:ring-2 focus:ring-[--primary-cta]"
                  required
                />
              </div>

              <button
                type="submit"
                className="w-full py-3 px-4 rounded-[--radius-pill] bg-[--primary-cta] text-[--primary-cta-text] font-medium hover:opacity-90 transition-opacity"
              >
                Reset Password
              </button>
            </form>

            <div className="mt-8 text-center">
              <p className="text-[--foreground] opacity-70">
                Remember your password?{" "}
                <Link
                  href="/"
                  className="text-[--primary-cta] hover:underline font-medium"
                >
                  Back to Login
                </Link>
              </p>
            </div>
          </div>

          <div className="mt-8 text-center">
            <p className="text-sm text-[--foreground] opacity-50">
              Questions?{" "}
              <Link
                href="/contact"
                className="text-[--primary-cta] hover:underline"
              >
                Contact our support team
              </Link>
            </p>
          </div>
        </div>
      </div>
    </ThemeProvider>
  );
}