import { forwardRef, type HTMLAttributes } from "react";
import { cn } from "../../lib/utils";

const Card = forwardRef<HTMLDivElement, HTMLAttributes<HTMLDivElement>>(
  ({ className, ...props }, ref) => (
    <div
      ref={ref}
      className={cn(
        "rounded-xl border border-white/10 bg-zinc-900 p-5",
        className
      )}
      {...props}
    />
  )
);
Card.displayName = "Card";

export { Card };
