{
  "version": "2.7",
  "children": [
    {
      "type": "frame",
      "id": "PointsHistoryScreen",
      "x": 0,
      "y": 0,
      "name": "Screen/PointsHistory",
      "reusable": true,
      "width": 390,
      "height": 844,
      "fill": "$bg-page",
      "layout": "vertical",
      "children": [
        {
          "type": "frame",
          "id": "PointsTopBar",
          "name": "TopBar",
          "width": "fill_container",
          "height": 56,
          "fill": "$bg-surface",
          "padding": [
            0,
            16
          ],
          "justifyContent": "space_between",
          "alignItems": "center",
          "children": [
            {
              "type": "icon_font",
              "id": "PointsBackIcon",
              "name": "BackIcon",
              "width": 24,
              "height": 24,
              "iconFontName": "arrow-left",
              "iconFontFamily": "lucide",
              "fill": "$text-primary"
            },
            {
              "type": "text",
              "id": "PointsTitle",
              "name": "Title",
              "fill": "$text-primary",
              "content": "Lịch sử điểm",
              "fontFamily": "Poppins",
              "fontSize": 18,
              "fontWeight": "600"
            },
            {
              "type": "icon_font",
              "id": "PointsFilterIcon",
              "name": "FilterIcon",
              "width": 24,
              "height": 24,
              "iconFontName": "sliders-horizontal",
              "iconFontFamily": "lucide",
              "fill": "$text-primary"
            }
          ]
        },
        {
          "type": "frame",
          "id": "PointsScrollContent",
          "name": "ScrollContent",
          "width": "fill_container",
          "layout": "vertical",
          "gap": 20,
          "padding": 20,
          "children": [
            {
              "type": "frame",
              "id": "PointsSummaryCard",
              "name": "SummaryCard",
              "width": "fill_container",
              "fill": "$bg-elevated",
              "cornerRadius": 16,
              "layout": "vertical",
              "gap": 16,
              "padding": 20,
              "children": [
                {
                  "type": "text",
                  "id": "SummaryLabel",
                  "name": "Label",
                  "fill": "$text-secondary",
                  "content": "Tổng điểm hiện tại",
                  "fontFamily": "Poppins",
                  "fontSize": 14
                },
                {
                  "type": "text",
                  "id": "SummaryTotal",
                  "name": "TotalPoints",
                  "fill": "$orange-primary",
                  "content": "2,450",
                  "fontFamily": "Poppins",
                  "fontSize": 36,
                  "fontWeight": "700"
                },
                {
                  "type": "frame",
                  "id": "SummaryStatsRow",
                  "name": "StatsRow",
                  "width": "fill_container",
                  "gap": 20,
                  "justifyContent": "center",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "frame",
                      "id": "SummaryEarned",
                      "name": "Earned",
                      "layout": "vertical",
                      "gap": 4,
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "text",
                          "id": "EarnedLabel",
                          "name": "Label",
                          "fill": "$text-tertiary",
                          "content": "Đã tích",
                          "fontFamily": "Poppins",
                          "fontSize": 12
                        },
                        {
                          "type": "text",
                          "id": "EarnedValue",
                          "name": "Value",
                          "fill": "$success",
                          "content": "3,200",
                          "fontFamily": "Poppins",
                          "fontSize": 18,
                          "fontWeight": "600"
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "SummaryDivider",
                      "name": "Divider",
                      "width": 1,
                      "height": 40,
                      "fill": "$border-default"
                    },
                    {
                      "type": "frame",
                      "id": "SummaryUsed",
                      "name": "Used",
                      "layout": "vertical",
                      "gap": 4,
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "text",
                          "id": "UsedLabel",
                          "name": "Label",
                          "fill": "$text-tertiary",
                          "content": "Đã dùng",
                          "fontFamily": "Poppins",
                          "fontSize": 12
                        },
                        {
                          "type": "text",
                          "id": "UsedValue",
                          "name": "Value",
                          "fill": "$text-secondary",
                          "content": "750",
                          "fontFamily": "Poppins",
                          "fontSize": 18,
                          "fontWeight": "600"
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "type": "frame",
              "id": "MonthFilterTabs",
              "name": "MonthFilter",
              "width": "fill_container",
              "gap": 8,
              "justifyContent": "space_between",
              "alignItems": "center",
              "children": [
                {
                  "type": "frame",
                  "id": "MonthTab1",
                  "name": "TabT1",
                  "fill": "$bg-interactive",
                  "cornerRadius": 8,
                  "padding": [
                    6,
                    12
                  ],
                  "children": [
                    {
                      "type": "text",
                      "id": "MonthTab1Text",
                      "fill": "$text-secondary",
                      "content": "T1",
                      "fontFamily": "Poppins",
                      "fontSize": 13,
                      "fontWeight": "500"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "MonthTab2",
                  "name": "TabT2",
                  "fill": "$orange-primary",
                  "cornerRadius": 8,
                  "padding": [
                    6,
                    12
                  ],
                  "children": [
                    {
                      "type": "text",
                      "id": "MonthTab2Text",
                      "fill": "$bg-surface",
                      "content": "T2",
                      "fontFamily": "Poppins",
                      "fontSize": 13,
                      "fontWeight": "600"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "MonthTab3",
                  "name": "TabT3",
                  "fill": "$bg-interactive",
                  "cornerRadius": 8,
                  "padding": [
                    6,
                    12
                  ],
                  "children": [
                    {
                      "type": "text",
                      "id": "MonthTab3Text",
                      "fill": "$text-secondary",
                      "content": "T3",
                      "fontFamily": "Poppins",
                      "fontSize": 13,
                      "fontWeight": "500"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "MonthTab4",
                  "name": "TabT4",
                  "fill": "$bg-interactive",
                  "cornerRadius": 8,
                  "padding": [
                    6,
                    12
                  ],
                  "children": [
                    {
                      "type": "text",
                      "id": "MonthTab4Text",
                      "fill": "$text-secondary",
                      "content": "T4",
                      "fontFamily": "Poppins",
                      "fontSize": 13,
                      "fontWeight": "500"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "MonthTab5",
                  "name": "TabT5",
                  "fill": "$bg-interactive",
                  "cornerRadius": 8,
                  "padding": [
                    6,
                    12
                  ],
                  "children": [
                    {
                      "type": "text",
                      "id": "MonthTab5Text",
                      "fill": "$text-secondary",
                      "content": "T5",
                      "fontFamily": "Poppins",
                      "fontSize": 13,
                      "fontWeight": "500"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "MonthTab6",
                  "name": "TabT6",
                  "fill": "$bg-interactive",
                  "cornerRadius": 8,
                  "padding": [
                    6,
                    12
                  ],
                  "children": [
                    {
                      "type": "text",
                      "id": "MonthTab6Text",
                      "fill": "$text-secondary",
                      "content": "T6",
                      "fontFamily": "Poppins",
                      "fontSize": 13,
                      "fontWeight": "500"
                    }
                  ]
                }
              ]
            },
            {
              "type": "frame",
              "id": "TransactionList",
              "name": "TransactionList",
              "width": "fill_container",
              "layout": "vertical",
              "gap": 12,
              "children": [
                {
                  "type": "frame",
                  "id": "TxItem1",
                  "name": "Transaction1",
                  "width": "fill_container",
                  "fill": "$bg-surface",
                  "cornerRadius": 12,
                  "gap": 12,
                  "padding": [
                    14,
                    16
                  ],
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "frame",
                      "id": "Tx1IconBg",
                      "name": "IconBg",
                      "width": 40,
                      "height": 40,
                      "fill": "#DCFCE7",
                      "cornerRadius": 10,
                      "layout": "vertical",
                      "justifyContent": "center",
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "icon_font",
                          "id": "Tx1Icon",
                          "name": "Icon",
                          "width": 24,
                          "height": 24,
                          "iconFontName": "shopping-bag",
                          "iconFontFamily": "lucide",
                          "fill": "$success"
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "Tx1Info",
                      "name": "Info",
                      "width": "fill_container",
                      "layout": "vertical",
                      "gap": 2,
                      "children": [
                        {
                          "type": "text",
                          "id": "Tx1Desc",
                          "name": "Description",
                          "fill": "$text-primary",
                          "content": "Mua hàng - Combo bánh mì",
                          "fontFamily": "Poppins",
                          "fontSize": 14,
                          "fontWeight": "500"
                        },
                        {
                          "type": "text",
                          "id": "Tx1Date",
                          "name": "Date",
                          "fill": "$text-tertiary",
                          "content": "10/02/2025",
                          "fontFamily": "Poppins",
                          "fontSize": 12
                        }
                      ]
                    },
                    {
                      "type": "text",
                      "id": "Tx1Points",
                      "name": "Points",
                      "fill": "$success",
                      "content": "+50 điểm",
                      "fontFamily": "Poppins",
                      "fontSize": 14,
                      "fontWeight": "600"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "TxItem2",
                  "name": "Transaction2",
                  "width": "fill_container",
                  "fill": "$bg-surface",
                  "cornerRadius": 12,
                  "gap": 12,
                  "padding": [
                    14,
                    16
                  ],
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "frame",
                      "id": "Tx2IconBg",
                      "name": "IconBg",
                      "width": 40,
                      "height": 40,
                      "fill": "#FFF3E0",
                      "cornerRadius": 10,
                      "layout": "vertical",
                      "justifyContent": "center",
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "icon_font",
                          "id": "Tx2Icon",
                          "name": "Icon",
                          "width": 24,
                          "height": 24,
                          "iconFontName": "gift",
                          "iconFontFamily": "lucide",
                          "fill": "$warning"
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "Tx2Info",
                      "name": "Info",
                      "width": "fill_container",
                      "layout": "vertical",
                      "gap": 2,
                      "children": [
                        {
                          "type": "text",
                          "id": "Tx2Desc",
                          "name": "Description",
                          "fill": "$text-primary",
                          "content": "Đổi ưu đãi - Giảm 20%",
                          "fontFamily": "Poppins",
                          "fontSize": 14,
                          "fontWeight": "500"
                        },
                        {
                          "type": "text",
                          "id": "Tx2Date",
                          "name": "Date",
                          "fill": "$text-tertiary",
                          "content": "08/02/2025",
                          "fontFamily": "Poppins",
                          "fontSize": 12
                        }
                      ]
                    },
                    {
                      "type": "text",
                      "id": "Tx2Points",
                      "name": "Points",
                      "fill": "$orange-primary",
                      "content": "-100 điểm",
                      "fontFamily": "Poppins",
                      "fontSize": 14,
                      "fontWeight": "600"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "TxItem3",
                  "name": "Transaction3",
                  "width": "fill_container",
                  "fill": "$bg-surface",
                  "cornerRadius": 12,
                  "gap": 12,
                  "padding": [
                    14,
                    16
                  ],
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "frame",
                      "id": "Tx3IconBg",
                      "name": "IconBg",
                      "width": 40,
                      "height": 40,
                      "fill": "#DCFCE7",
                      "cornerRadius": 10,
                      "layout": "vertical",
                      "justifyContent": "center",
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "icon_font",
                          "id": "Tx3Icon",
                          "name": "Icon",
                          "width": 24,
                          "height": 24,
                          "iconFontName": "coffee",
                          "iconFontFamily": "lucide",
                          "fill": "$success"
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "Tx3Info",
                      "name": "Info",
                      "width": "fill_container",
                      "layout": "vertical",
                      "gap": 2,
                      "children": [
                        {
                          "type": "text",
                          "id": "Tx3Desc",
                          "name": "Description",
                          "fill": "$text-primary",
                          "content": "Mua hàng - Trà sữa",
                          "fontFamily": "Poppins",
                          "fontSize": 14,
                          "fontWeight": "500"
                        },
                        {
                          "type": "text",
                          "id": "Tx3Date",
                          "name": "Date",
                          "fill": "$text-tertiary",
                          "content": "05/02/2025",
                          "fontFamily": "Poppins",
                          "fontSize": 12
                        }
                      ]
                    },
                    {
                      "type": "text",
                      "id": "Tx3Points",
                      "name": "Points",
                      "fill": "$success",
                      "content": "+30 điểm",
                      "fontFamily": "Poppins",
                      "fontSize": 14,
                      "fontWeight": "600"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "TxItem4",
                  "name": "Transaction4",
                  "width": "fill_container",
                  "fill": "$bg-surface",
                  "cornerRadius": 12,
                  "gap": 12,
                  "padding": [
                    14,
                    16
                  ],
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "frame",
                      "id": "Tx4IconBg",
                      "name": "IconBg",
                      "width": 40,
                      "height": 40,
                      "fill": "#FFF3E0",
                      "cornerRadius": 10,
                      "layout": "vertical",
                      "justifyContent": "center",
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "icon_font",
                          "id": "Tx4Icon",
                          "name": "Icon",
                          "width": 24,
                          "height": 24,
                          "iconFontName": "cake",
                          "iconFontFamily": "lucide",
                          "fill": "$warning"
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "Tx4Info",
                      "name": "Info",
                      "width": "fill_container",
                      "layout": "vertical",
                      "gap": 2,
                      "children": [
                        {
                          "type": "text",
                          "id": "Tx4Desc",
                          "name": "Description",
                          "fill": "$text-primary",
                          "content": "Thưởng sinh nhật",
                          "fontFamily": "Poppins",
                          "fontSize": 14,
                          "fontWeight": "500"
                        },
                        {
                          "type": "text",
                          "id": "Tx4Date",
                          "name": "Date",
                          "fill": "$text-tertiary",
                          "content": "01/02/2025",
                          "fontFamily": "Poppins",
                          "fontSize": 12
                        }
                      ]
                    },
                    {
                      "type": "text",
                      "id": "Tx4Points",
                      "name": "Points",
                      "fill": "$success",
                      "content": "+200 điểm",
                      "fontFamily": "Poppins",
                      "fontSize": 14,
                      "fontWeight": "600"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "TxItem5",
                  "name": "Transaction5",
                  "width": "fill_container",
                  "fill": "$bg-surface",
                  "cornerRadius": 12,
                  "gap": 12,
                  "padding": [
                    14,
                    16
                  ],
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "frame",
                      "id": "Tx5IconBg",
                      "name": "IconBg",
                      "width": 40,
                      "height": 40,
                      "fill": "#DCFCE7",
                      "cornerRadius": 10,
                      "layout": "vertical",
                      "justifyContent": "center",
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "icon_font",
                          "id": "Tx5Icon",
                          "name": "Icon",
                          "width": 24,
                          "height": 24,
                          "iconFontName": "utensils",
                          "iconFontFamily": "lucide",
                          "fill": "$success"
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "Tx5Info",
                      "name": "Info",
                      "width": "fill_container",
                      "layout": "vertical",
                      "gap": 2,
                      "children": [
                        {
                          "type": "text",
                          "id": "Tx5Desc",
                          "name": "Description",
                          "fill": "$text-primary",
                          "content": "Mua hàng - Cơm trưa",
                          "fontFamily": "Poppins",
                          "fontSize": 14,
                          "fontWeight": "500"
                        },
                        {
                          "type": "text",
                          "id": "Tx5Date",
                          "name": "Date",
                          "fill": "$text-tertiary",
                          "content": "28/01/2025",
                          "fontFamily": "Poppins",
                          "fontSize": 12
                        }
                      ]
                    },
                    {
                      "type": "text",
                      "id": "Tx5Points",
                      "name": "Points",
                      "fill": "$success",
                      "content": "+45 điểm",
                      "fontFamily": "Poppins",
                      "fontSize": 14,
                      "fontWeight": "600"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ],
  "variables": {
    "bg-page": {
      "type": "color",
      "value": "#FAF8F4"
    },
    "bg-surface": {
      "type": "color",
      "value": "#FFFFFF"
    },
    "bg-elevated": {
      "type": "color",
      "value": "#FFF8F0"
    },
    "bg-interactive": {
      "type": "color",
      "value": "#F5EDE4"
    },
    "brown-primary": {
      "type": "color",
      "value": "#6B4423"
    },
    "brown-dark": {
      "type": "color",
      "value": "#4A2E15"
    },
    "orange-primary": {
      "type": "color",
      "value": "#FF6B35"
    },
    "orange-light": {
      "type": "color",
      "value": "#FF8A5C"
    },
    "text-primary": {
      "type": "color",
      "value": "#2C2C2C"
    },
    "text-secondary": {
      "type": "color",
      "value": "#6B6B6B"
    },
    "text-tertiary": {
      "type": "color",
      "value": "#9B9B9B"
    },
    "border-default": {
      "type": "color",
      "value": "#E5DDD4"
    },
    "border-subtle": {
      "type": "color",
      "value": "#F0EAE2"
    },
    "success": {
      "type": "color",
      "value": "#22C55E"
    },
    "warning": {
      "type": "color",
      "value": "#F59E0B"
    },
    "error": {
      "type": "color",
      "value": "#EF4444"
    }
  }
}