{
  "version": "2.6",
  "children": [
    {
      "type": "frame",
      "id": "PaymentReportScreen",
      "name": "Report/Payment",
      "reusable": true,
      "width": 480,
      "height": 640,
      "fill": "$bg-page",
      "layout": "vertical",
      "clip": true,
      "children": [
        {
          "type": "frame",
          "id": "PayReportHeader",
          "width": "fill_container",
          "padding": [20, 24],
          "fill": "$bg-elevated",
          "stroke": {"thickness": 1, "fill": "$border-subtle", "sides": ["bottom"]},
          "justifyContent": "space_between",
          "alignItems": "center",
          "children": [
            {"type": "frame", "id": "PayReportHeaderLeft", "gap": 12, "alignItems": "center", "children": [
              {"type": "frame", "id": "PayReportBackBtn", "width": 40, "height": 40, "fill": "$bg-interactive", "cornerRadius": 10, "justifyContent": "center", "alignItems": "center", "children": [
                {"type": "icon_font", "id": "PayReportBackIcon", "width": 20, "height": 20, "iconFontName": "arrow-left", "iconFontFamily": "lucide", "fill": "$text-secondary"}
              ]},
              {"type": "text", "id": "PayReportTitle", "fill": "$text-primary", "content": "Báo cáo thanh toán", "fontFamily": "Roboto", "fontSize": 18, "fontWeight": "700"}
            ]},
            {"type": "frame", "id": "PayReportFilter", "fill": "$bg-interactive", "cornerRadius": 10, "padding": [10, 14], "gap": 6, "alignItems": "center", "children": [
              {"type": "text", "id": "PayReportFilterText", "fill": "$text-primary", "content": "Hôm nay", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "500"},
              {"type": "icon_font", "id": "PayReportFilterIcon", "width": 16, "height": 16, "iconFontName": "chevron-down", "iconFontFamily": "lucide", "fill": "$text-tertiary"}
            ]}
          ]
        },
        {
          "type": "frame",
          "id": "PayReportContent",
          "width": "fill_container",
          "height": "fill_container",
          "padding": 20,
          "layout": "vertical",
          "gap": 16,
          "children": [
            {"type": "frame", "id": "PayReportTotal", "width": "fill_container", "fill": "$bg-elevated", "cornerRadius": 16, "padding": 20, "layout": "vertical", "gap": 4, "alignItems": "center", "children": [
              {"type": "text", "id": "PayReportTotalLabel", "fill": "$text-tertiary", "content": "Tổng thanh toán", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "normal"},
              {"type": "text", "id": "PayReportTotalValue", "fill": "#22C55E", "content": "25,680,000₫", "fontFamily": "Roboto", "fontSize": 32, "fontWeight": "700"},
              {"type": "text", "id": "PayReportTotalOrders", "fill": "$text-secondary", "content": "156 giao dịch", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "normal"}
            ]},
            {"type": "frame", "id": "PayReportMethods", "width": "fill_container", "layout": "vertical", "gap": 10, "children": [
              {"type": "frame", "id": "PayReportMethod1", "width": "fill_container", "fill": "$bg-elevated", "cornerRadius": 14, "padding": 16, "justifyContent": "space_between", "alignItems": "center", "children": [
                {"type": "frame", "id": "PayReportMethod1Left", "gap": 14, "alignItems": "center", "children": [
                  {"type": "frame", "id": "PayReportMethod1Icon", "width": 48, "height": 48, "fill": "#22C55E20", "cornerRadius": 12, "justifyContent": "center", "alignItems": "center", "children": [
                    {"type": "icon_font", "id": "PayReportMethod1IconInner", "width": 24, "height": 24, "iconFontName": "banknote", "iconFontFamily": "lucide", "fill": "#22C55E"}
                  ]},
                  {"type": "frame", "id": "PayReportMethod1Info", "layout": "vertical", "gap": 4, "children": [
                    {"type": "text", "id": "PayReportMethod1Name", "fill": "$text-primary", "content": "Tiền mặt", "fontFamily": "Roboto", "fontSize": 15, "fontWeight": "600"},
                    {"type": "text", "id": "PayReportMethod1Count", "fill": "$text-tertiary", "content": "89 giao dịch (57%)", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "normal"}
                  ]}
                ]},
                {"type": "text", "id": "PayReportMethod1Value", "fill": "#22C55E", "content": "14,630,000₫", "fontFamily": "Roboto", "fontSize": 16, "fontWeight": "700"}
              ]},
              {"type": "frame", "id": "PayReportMethod2", "width": "fill_container", "fill": "$bg-elevated", "cornerRadius": 14, "padding": 16, "justifyContent": "space_between", "alignItems": "center", "children": [
                {"type": "frame", "id": "PayReportMethod2Left", "gap": 14, "alignItems": "center", "children": [
                  {"type": "frame", "id": "PayReportMethod2Icon", "width": 48, "height": 48, "fill": "#3B82F620", "cornerRadius": 12, "justifyContent": "center", "alignItems": "center", "children": [
                    {"type": "icon_font", "id": "PayReportMethod2IconInner", "width": 24, "height": 24, "iconFontName": "credit-card", "iconFontFamily": "lucide", "fill": "#3B82F6"}
                  ]},
                  {"type": "frame", "id": "PayReportMethod2Info", "layout": "vertical", "gap": 4, "children": [
                    {"type": "text", "id": "PayReportMethod2Name", "fill": "$text-primary", "content": "Thẻ ngân hàng", "fontFamily": "Roboto", "fontSize": 15, "fontWeight": "600"},
                    {"type": "text", "id": "PayReportMethod2Count", "fill": "$text-tertiary", "content": "42 giao dịch (27%)", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "normal"}
                  ]}
                ]},
                {"type": "text", "id": "PayReportMethod2Value", "fill": "#3B82F6", "content": "6,930,000₫", "fontFamily": "Roboto", "fontSize": 16, "fontWeight": "700"}
              ]},
              {"type": "frame", "id": "PayReportMethod3", "width": "fill_container", "fill": "$bg-elevated", "cornerRadius": 14, "padding": 16, "justifyContent": "space_between", "alignItems": "center", "children": [
                {"type": "frame", "id": "PayReportMethod3Left", "gap": 14, "alignItems": "center", "children": [
                  {"type": "frame", "id": "PayReportMethod3Icon", "width": 48, "height": 48, "fill": "#8B5CF620", "cornerRadius": 12, "justifyContent": "center", "alignItems": "center", "children": [
                    {"type": "icon_font", "id": "PayReportMethod3IconInner", "width": 24, "height": 24, "iconFontName": "qr-code", "iconFontFamily": "lucide", "fill": "#8B5CF6"}
                  ]},
                  {"type": "frame", "id": "PayReportMethod3Info", "layout": "vertical", "gap": 4, "children": [
                    {"type": "text", "id": "PayReportMethod3Name", "fill": "$text-primary", "content": "VietQR / MoMo", "fontFamily": "Roboto", "fontSize": 15, "fontWeight": "600"},
                    {"type": "text", "id": "PayReportMethod3Count", "fill": "$text-tertiary", "content": "25 giao dịch (16%)", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "normal"}
                  ]}
                ]},
                {"type": "text", "id": "PayReportMethod3Value", "fill": "#8B5CF6", "content": "4,120,000₫", "fontFamily": "Roboto", "fontSize": 16, "fontWeight": "700"}
              ]}
            ]},
            {"type": "frame", "id": "PayReportChart", "width": "fill_container", "fill": "$bg-elevated", "cornerRadius": 14, "padding": 16, "layout": "vertical", "gap": 14, "children": [
              {"type": "text", "id": "PayReportChartLabel", "fill": "$text-primary", "content": "Tỷ lệ phương thức", "fontFamily": "Roboto", "fontSize": 15, "fontWeight": "600"},
              {"type": "frame", "id": "PayReportChartBar", "width": "fill_container", "height": 24, "cornerRadius": 12, "clip": true, "children": [
                {"type": "frame", "id": "PayReportChartCash", "width": 230, "height": 24, "fill": "#22C55E"},
                {"type": "frame", "id": "PayReportChartCard", "width": 112, "height": 24, "x": 230, "fill": "#3B82F6"},
                {"type": "frame", "id": "PayReportChartQR", "width": 68, "height": 24, "x": 342, "fill": "#8B5CF6"}
              ]},
              {"type": "frame", "id": "PayReportChartLegend", "width": "fill_container", "gap": 16, "justifyContent": "center", "children": [
                {"type": "frame", "id": "PayReportLegend1", "gap": 6, "alignItems": "center", "children": [
                  {"type": "frame", "id": "PayReportLegend1Dot", "width": 10, "height": 10, "fill": "#22C55E", "cornerRadius": 5},
                  {"type": "text", "id": "PayReportLegend1Text", "fill": "$text-tertiary", "content": "Tiền mặt", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "normal"}
                ]},
                {"type": "frame", "id": "PayReportLegend2", "gap": 6, "alignItems": "center", "children": [
                  {"type": "frame", "id": "PayReportLegend2Dot", "width": 10, "height": 10, "fill": "#3B82F6", "cornerRadius": 5},
                  {"type": "text", "id": "PayReportLegend2Text", "fill": "$text-tertiary", "content": "Thẻ", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "normal"}
                ]},
                {"type": "frame", "id": "PayReportLegend3", "gap": 6, "alignItems": "center", "children": [
                  {"type": "frame", "id": "PayReportLegend3Dot", "width": 10, "height": 10, "fill": "#8B5CF6", "cornerRadius": 5},
                  {"type": "text", "id": "PayReportLegend3Text", "fill": "$text-tertiary", "content": "QR", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "normal"}
                ]}
              ]}
            ]}
          ]
        }
      ]
    }
  ],
  "variables": {
    "bg-elevated": {"type": "color", "value": "#1A1A1D"},
    "bg-interactive": {"type": "color", "value": "#2A2A2E"},
    "bg-page": {"type": "color", "value": "#0A0A0B"},
    "border-default": {"type": "color", "value": "#2A2A2E"},
    "border-subtle": {"type": "color", "value": "#1F1F23"},
    "orange-primary": {"type": "color", "value": "#FF5C00"},
    "text-primary": {"type": "color", "value": "#FFFFFF"},
    "text-secondary": {"type": "color", "value": "#ADADB0"},
    "text-tertiary": {"type": "color", "value": "#8B8B90"}
  }
}
