import { cn } from '@/lib/utils';

/** Flat surface — uses `--background` (app bg). */
export function Surface({
  className,
  ...props
}: React.HTMLAttributes<HTMLDivElement>) {
  return (
    <div
      className={cn('rounded-lg bg-background text-foreground', className)}
      {...props}
    />
  );
}

/** Elevated surface — uses `--background-elevated` with shadow-elevation-1. */
export function SurfaceElevated({
  className,
  ...props
}: React.HTMLAttributes<HTMLDivElement>) {
  return (
    <div
      className={cn(
        'rounded-lg bg-background-elevated text-foreground shadow-elevation-1',
        className,
      )}
      {...props}
    />
  );
}
