'use client';

import { Card } from '@/components/ui/card';

export function LandAttachments() {
  return (
    <div className="space-y-4">
      <div>
        <label className="block text-sm font-medium mb-2">地块照片</label>
        <div className="mt-2 border-2 border-dashed rounded-lg p-6 text-center hover:border-green-500 transition-colors cursor-pointer">
          <div className="flex flex-col items-center">
            <div className="w-12 h-12 rounded-full bg-gray-100 flex items-center justify-center mb-3">
              <span className="text-gray-400">📷</span>
            </div>
            <p className="text-sm text-muted-foreground">
              点击上传或拖拽照片到此处
            </p>
            <p className="text-xs text-muted-foreground mt-1">
              支持 JPG、PNG 格式，最大 5MB
            </p>
          </div>
        </div>
      </div>

      <div className="border-t pt-4">
        <label className="block text-sm font-medium mb-2">合同文档</label>
        <div className="mt-2 space-y-2">
          <div className="border-2 border-dashed rounded-lg p-4 text-center hover:border-green-500 transition-colors cursor-pointer">
            <div className="flex flex-col items-center">
              <div className="w-10 h-10 rounded-full bg-gray-100 flex items-center justify-center mb-2">
                <span className="text-gray-400">📄</span>
              </div>
              <p className="text-sm text-muted-foreground">
                上传合同扫描件
              </p>
              <p className="text-xs text-muted-foreground mt-1">
                支持 PDF、图片格式
              </p>
            </div>
          </div>

          <div className="bg-blue-50 border border-blue-200 rounded-lg p-3">
            <p className="text-xs text-blue-800">
              💡 建议上传：承包合同、确权证书、地块测绘报告等相关文档
            </p>
          </div>
        </div>
      </div>
    </div>
  );
}