import { useApp } from "@/pages/app/AppContext";
import { BackHeader, Btn } from "@/pages/app/components/ui";

/** No due commissions to settle (section 2.24). */
export default function BizSettlementEmpty() {
  const { goBack, navigate } = useApp();

  return (
    <div className="min-h-full flex flex-col bg-background-50">
      <BackHeader title="تسويات العمولة" onBack={goBack} />

      <div className="flex-1 flex flex-col items-center justify-center text-center px-6 py-16">
        <div className="w-20 h-20 rounded-full bg-background-100 border border-background-200 flex items-center justify-center mb-5">
          <i className="ri-checkbox-circle-line text-[36px] text-foreground-400 leading-none" />
        </div>
        <h2 className="text-[17px] font-bold text-foreground-950">لا توجد عمولات مستحقة</h2>
        <p className="text-[12.5px] text-foreground-600 mt-2 max-w-[260px] leading-relaxed">
          جميع عمولات صفقات الاستثمار تمت تسويتها، ولا يوجد مبلغ مستحق حاليًا.
        </p>
        <div className="mt-6 w-full max-w-[220px]">
          <Btn full onClick={() => navigate("bizCommissions")}>
            سجل العمليات
          </Btn>
        </div>
      </div>
    </div>
  );
}