{
  "version": "2.7",
  "children": [
    {
      "type": "frame",
      "id": "SyncStatusDialog",
      "x": 0,
      "y": 0,
      "name": "Dialog/SyncStatus",
      "reusable": true,
      "clip": true,
      "width": 400,
      "height": 549,
      "fill": "$bg-elevated",
      "cornerRadius": 24,
      "layout": "vertical",
      "children": [
        {
          "type": "frame",
          "id": "SyncStatusHeader",
          "width": "fill_container",
          "stroke": {
            "thickness": 1,
            "fill": "$border-subtle"
          },
          "padding": [
            16,
            20
          ],
          "justifyContent": "space_between",
          "alignItems": "center",
          "children": [
            {
              "type": "frame",
              "id": "SyncStatusHeaderLeft",
              "gap": 12,
              "alignItems": "center",
              "children": [
                {
                  "type": "frame",
                  "id": "SyncStatusIconBg",
                  "width": 40,
                  "height": 40,
                  "fill": "#22C55E20",
                  "cornerRadius": 12,
                  "justifyContent": "center",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "icon_font",
                      "id": "SyncStatusIcon",
                      "width": 20,
                      "height": 20,
                      "iconFontName": "refresh-cw",
                      "iconFontFamily": "lucide",
                      "fill": "#22C55E"
                    }
                  ]
                },
                {
                  "type": "text",
                  "id": "SyncStatusTitle",
                  "fill": "$text-primary",
                  "content": "Trạng thái đồng bộ",
                  "fontFamily": "Roboto",
                  "fontSize": 18,
                  "fontWeight": "700"
                }
              ]
            },
            {
              "type": "frame",
              "id": "SyncStatusCloseBtn",
              "width": 36,
              "height": 36,
              "fill": "$bg-interactive",
              "cornerRadius": 18,
              "justifyContent": "center",
              "alignItems": "center",
              "children": [
                {
                  "type": "icon_font",
                  "id": "SyncStatusCloseIcon",
                  "width": 18,
                  "height": 18,
                  "iconFontName": "x",
                  "iconFontFamily": "lucide",
                  "fill": "$text-secondary"
                }
              ]
            }
          ]
        },
        {
          "type": "frame",
          "id": "SyncStatusContent",
          "width": "fill_container",
          "height": "fill_container",
          "layout": "vertical",
          "gap": 16,
          "padding": 20,
          "children": [
            {
              "type": "frame",
              "id": "SyncOverview",
              "width": "fill_container",
              "fill": "$bg-page",
              "cornerRadius": 16,
              "layout": "vertical",
              "gap": 12,
              "padding": 16,
              "alignItems": "center",
              "children": [
                {
                  "type": "frame",
                  "id": "SyncOverviewIcon",
                  "width": 56,
                  "height": 56,
                  "fill": "#22C55E20",
                  "cornerRadius": 28,
                  "justifyContent": "center",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "icon_font",
                      "id": "SyncOverviewIconInner",
                      "width": 28,
                      "height": 28,
                      "iconFontName": "cloud",
                      "iconFontFamily": "lucide",
                      "fill": "#22C55E"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "SyncOverviewText",
                  "layout": "vertical",
                  "gap": 4,
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "text",
                      "id": "SyncOverviewStatus",
                      "fill": "#22C55E",
                      "content": "Đã đồng bộ",
                      "fontFamily": "Roboto",
                      "fontSize": 16,
                      "fontWeight": "600"
                    },
                    {
                      "type": "text",
                      "id": "SyncOverviewTime",
                      "fill": "$text-tertiary",
                      "content": "Cập nhật lúc 14:32 hôm nay",
                      "fontFamily": "Roboto",
                      "fontSize": 13,
                      "fontWeight": "normal"
                    }
                  ]
                }
              ]
            },
            {
              "type": "frame",
              "id": "SyncDetailList",
              "width": "fill_container",
              "layout": "vertical",
              "gap": 8,
              "children": [
                {
                  "type": "frame",
                  "id": "SyncItem1",
                  "width": "fill_container",
                  "fill": "$bg-page",
                  "cornerRadius": 12,
                  "padding": [
                    12,
                    14
                  ],
                  "justifyContent": "space_between",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "frame",
                      "id": "SyncItem1Left",
                      "gap": 10,
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "icon_font",
                          "id": "SyncItem1Icon",
                          "width": 18,
                          "height": 18,
                          "iconFontName": "package",
                          "iconFontFamily": "lucide",
                          "fill": "$text-secondary"
                        },
                        {
                          "type": "text",
                          "id": "SyncItem1Name",
                          "fill": "$text-primary",
                          "content": "Sản phẩm",
                          "fontFamily": "Roboto",
                          "fontSize": 14,
                          "fontWeight": "500"
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "SyncItem1Right",
                      "gap": 8,
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "text",
                          "id": "SyncItem1Count",
                          "fill": "$text-tertiary",
                          "content": "245 mục",
                          "fontFamily": "Roboto",
                          "fontSize": 12,
                          "fontWeight": "normal"
                        },
                        {
                          "type": "frame",
                          "id": "SyncItem1Badge",
                          "fill": "#22C55E20",
                          "cornerRadius": 6,
                          "padding": [
                            4,
                            8
                          ],
                          "children": [
                            {
                              "type": "text",
                              "id": "SyncItem1BadgeText",
                              "fill": "#22C55E",
                              "content": "OK",
                              "fontFamily": "Roboto",
                              "fontSize": 11,
                              "fontWeight": "600"
                            }
                          ]
                        }
                      ]
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "SyncItem2",
                  "width": "fill_container",
                  "fill": "$bg-page",
                  "cornerRadius": 12,
                  "padding": [
                    12,
                    14
                  ],
                  "justifyContent": "space_between",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "frame",
                      "id": "SyncItem2Left",
                      "gap": 10,
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "icon_font",
                          "id": "SyncItem2Icon",
                          "width": 18,
                          "height": 18,
                          "iconFontName": "users",
                          "iconFontFamily": "lucide",
                          "fill": "$text-secondary"
                        },
                        {
                          "type": "text",
                          "id": "SyncItem2Name",
                          "fill": "$text-primary",
                          "content": "Khách hàng",
                          "fontFamily": "Roboto",
                          "fontSize": 14,
                          "fontWeight": "500"
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "SyncItem2Right",
                      "gap": 8,
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "text",
                          "id": "SyncItem2Count",
                          "fill": "$text-tertiary",
                          "content": "1,203 mục",
                          "fontFamily": "Roboto",
                          "fontSize": 12,
                          "fontWeight": "normal"
                        },
                        {
                          "type": "frame",
                          "id": "SyncItem2Badge",
                          "fill": "#22C55E20",
                          "cornerRadius": 6,
                          "padding": [
                            4,
                            8
                          ],
                          "children": [
                            {
                              "type": "text",
                              "id": "SyncItem2BadgeText",
                              "fill": "#22C55E",
                              "content": "OK",
                              "fontFamily": "Roboto",
                              "fontSize": 11,
                              "fontWeight": "600"
                            }
                          ]
                        }
                      ]
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "SyncItem3",
                  "width": "fill_container",
                  "fill": "$bg-page",
                  "cornerRadius": 12,
                  "padding": [
                    12,
                    14
                  ],
                  "justifyContent": "space_between",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "frame",
                      "id": "SyncItem3Left",
                      "gap": 10,
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "icon_font",
                          "id": "SyncItem3Icon",
                          "width": 18,
                          "height": 18,
                          "iconFontName": "receipt",
                          "iconFontFamily": "lucide",
                          "fill": "$text-secondary"
                        },
                        {
                          "type": "text",
                          "id": "SyncItem3Name",
                          "fill": "$text-primary",
                          "content": "Đơn hàng",
                          "fontFamily": "Roboto",
                          "fontSize": 14,
                          "fontWeight": "500"
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "SyncItem3Right",
                      "gap": 8,
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "text",
                          "id": "SyncItem3Count",
                          "fill": "$text-tertiary",
                          "content": "42 pending",
                          "fontFamily": "Roboto",
                          "fontSize": 12,
                          "fontWeight": "normal"
                        },
                        {
                          "type": "frame",
                          "id": "SyncItem3Badge",
                          "fill": "#F59E0B20",
                          "cornerRadius": 6,
                          "padding": [
                            4,
                            8
                          ],
                          "children": [
                            {
                              "type": "text",
                              "id": "SyncItem3BadgeText",
                              "fill": "#F59E0B",
                              "content": "Đang đồng bộ",
                              "fontFamily": "Roboto",
                              "fontSize": 11,
                              "fontWeight": "600"
                            }
                          ]
                        }
                      ]
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "SyncItem4",
                  "width": "fill_container",
                  "fill": "$bg-page",
                  "cornerRadius": 12,
                  "padding": [
                    12,
                    14
                  ],
                  "justifyContent": "space_between",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "frame",
                      "id": "SyncItem4Left",
                      "gap": 10,
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "icon_font",
                          "id": "SyncItem4Icon",
                          "width": 18,
                          "height": 18,
                          "iconFontName": "percent",
                          "iconFontFamily": "lucide",
                          "fill": "$text-secondary"
                        },
                        {
                          "type": "text",
                          "id": "SyncItem4Name",
                          "fill": "$text-primary",
                          "content": "Khuyến mãi",
                          "fontFamily": "Roboto",
                          "fontSize": 14,
                          "fontWeight": "500"
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "SyncItem4Right",
                      "gap": 8,
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "text",
                          "id": "SyncItem4Count",
                          "fill": "$text-tertiary",
                          "content": "12 mục",
                          "fontFamily": "Roboto",
                          "fontSize": 12,
                          "fontWeight": "normal"
                        },
                        {
                          "type": "frame",
                          "id": "SyncItem4Badge",
                          "fill": "#22C55E20",
                          "cornerRadius": 6,
                          "padding": [
                            4,
                            8
                          ],
                          "children": [
                            {
                              "type": "text",
                              "id": "SyncItem4BadgeText",
                              "fill": "#22C55E",
                              "content": "OK",
                              "fontFamily": "Roboto",
                              "fontSize": 11,
                              "fontWeight": "600"
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "type": "frame",
          "id": "SyncStatusFooter",
          "width": "fill_container",
          "stroke": {
            "thickness": 1,
            "fill": "$border-subtle"
          },
          "padding": [
            16,
            20
          ],
          "children": [
            {
              "type": "frame",
              "id": "SyncNowBtn",
              "width": "fill_container",
              "height": 52,
              "fill": {
                "type": "gradient",
                "gradientType": "linear",
                "enabled": true,
                "rotation": 135,
                "size": {
                  "height": 1
                },
                "colors": [
                  {
                    "color": "#FF5C00",
                    "position": 0
                  },
                  {
                    "color": "#FF8533",
                    "position": 1
                  }
                ]
              },
              "cornerRadius": 12,
              "gap": 10,
              "justifyContent": "center",
              "alignItems": "center",
              "children": [
                {
                  "type": "icon_font",
                  "id": "SyncNowIcon",
                  "width": 20,
                  "height": 20,
                  "iconFontName": "refresh-cw",
                  "iconFontFamily": "lucide",
                  "fill": "$text-primary"
                },
                {
                  "type": "text",
                  "id": "SyncNowText",
                  "fill": "$text-primary",
                  "content": "Đồng bộ ngay",
                  "fontFamily": "Roboto",
                  "fontSize": 15,
                  "fontWeight": "600"
                }
              ]
            }
          ]
        }
      ]
    }
  ],
  "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"
    }
  }
}