{
  "version": "2.7",
  "children": [
    {
      "type": "frame",
      "id": "DeviceSetupScreen",
      "x": 0,
      "y": 0,
      "name": "Screen/DeviceSetup",
      "reusable": true,
      "clip": true,
      "width": 480,
      "height": 831,
      "fill": "$bg-elevated",
      "cornerRadius": 24,
      "layout": "vertical",
      "children": [
        {
          "type": "frame",
          "id": "DeviceSetupHeader",
          "width": "fill_container",
          "stroke": {
            "thickness": 1,
            "fill": "$border-subtle"
          },
          "padding": [
            16,
            20
          ],
          "justifyContent": "space_between",
          "alignItems": "center",
          "children": [
            {
              "type": "frame",
              "id": "DeviceSetupHeaderLeft",
              "gap": 12,
              "alignItems": "center",
              "children": [
                {
                  "type": "frame",
                  "id": "DeviceSetupIconBg",
                  "width": 40,
                  "height": 40,
                  "fill": "#8B5CF620",
                  "cornerRadius": 12,
                  "justifyContent": "center",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "icon_font",
                      "id": "DeviceSetupIcon",
                      "width": 20,
                      "height": 20,
                      "iconFontName": "settings",
                      "iconFontFamily": "lucide",
                      "fill": "#8B5CF6"
                    }
                  ]
                },
                {
                  "type": "text",
                  "id": "DeviceSetupTitle",
                  "fill": "$text-primary",
                  "content": "Cài đặt thiết bị",
                  "fontFamily": "Roboto",
                  "fontSize": 18,
                  "fontWeight": "700"
                }
              ]
            },
            {
              "type": "frame",
              "id": "DeviceSetupCloseBtn",
              "width": 36,
              "height": 36,
              "fill": "$bg-interactive",
              "cornerRadius": 18,
              "justifyContent": "center",
              "alignItems": "center",
              "children": [
                {
                  "type": "icon_font",
                  "id": "DeviceSetupCloseIcon",
                  "width": 18,
                  "height": 18,
                  "iconFontName": "x",
                  "iconFontFamily": "lucide",
                  "fill": "$text-secondary"
                }
              ]
            }
          ]
        },
        {
          "type": "frame",
          "id": "DeviceSetupContent",
          "width": "fill_container",
          "height": "fill_container",
          "layout": "vertical",
          "gap": 16,
          "padding": 20,
          "children": [
            {
              "type": "frame",
              "id": "PrinterSection",
              "width": "fill_container",
              "fill": "$bg-page",
              "cornerRadius": 16,
              "layout": "vertical",
              "gap": 14,
              "padding": 16,
              "children": [
                {
                  "type": "frame",
                  "id": "PrinterHeader",
                  "width": "fill_container",
                  "justifyContent": "space_between",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "frame",
                      "id": "PrinterHeaderLeft",
                      "gap": 10,
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "icon_font",
                          "id": "PrinterHeaderIcon",
                          "width": 20,
                          "height": 20,
                          "iconFontName": "printer",
                          "iconFontFamily": "lucide",
                          "fill": "$text-primary"
                        },
                        {
                          "type": "text",
                          "id": "PrinterHeaderText",
                          "fill": "$text-primary",
                          "content": "Máy in",
                          "fontFamily": "Roboto",
                          "fontSize": 15,
                          "fontWeight": "600"
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "PrinterAddBtn",
                      "fill": "$bg-interactive",
                      "cornerRadius": 8,
                      "gap": 6,
                      "padding": [
                        6,
                        12
                      ],
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "icon_font",
                          "id": "PrinterAddIcon",
                          "width": 14,
                          "height": 14,
                          "iconFontName": "plus",
                          "iconFontFamily": "lucide",
                          "fill": "$text-secondary"
                        },
                        {
                          "type": "text",
                          "id": "PrinterAddText",
                          "fill": "$text-secondary",
                          "content": "Thêm",
                          "fontFamily": "Roboto",
                          "fontSize": 12,
                          "fontWeight": "500"
                        }
                      ]
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "PrinterItem1",
                  "width": "fill_container",
                  "fill": "$bg-elevated",
                  "cornerRadius": 12,
                  "gap": 12,
                  "padding": 12,
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "frame",
                      "id": "PrinterItem1Icon",
                      "width": 44,
                      "height": 44,
                      "fill": "#22C55E20",
                      "cornerRadius": 10,
                      "justifyContent": "center",
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "icon_font",
                          "id": "PrinterItem1IconInner",
                          "width": 22,
                          "height": 22,
                          "iconFontName": "printer",
                          "iconFontFamily": "lucide",
                          "fill": "#22C55E"
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "PrinterItem1Info",
                      "width": "fill_container",
                      "layout": "vertical",
                      "gap": 2,
                      "children": [
                        {
                          "type": "text",
                          "id": "PrinterItem1Name",
                          "fill": "$text-primary",
                          "content": "EPSON TM-T82III",
                          "fontFamily": "Roboto",
                          "fontSize": 14,
                          "fontWeight": "600"
                        },
                        {
                          "type": "text",
                          "id": "PrinterItem1Status",
                          "fill": "#22C55E",
                          "content": "Đã kết nối • Hóa đơn",
                          "fontFamily": "Roboto",
                          "fontSize": 12,
                          "fontWeight": "normal"
                        }
                      ]
                    },
                    {
                      "type": "icon_font",
                      "id": "PrinterItem1Arrow",
                      "width": 18,
                      "height": 18,
                      "iconFontName": "chevron-right",
                      "iconFontFamily": "lucide",
                      "fill": "$text-tertiary"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "PrinterItem2",
                  "width": "fill_container",
                  "fill": "$bg-elevated",
                  "cornerRadius": 12,
                  "gap": 12,
                  "padding": 12,
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "frame",
                      "id": "PrinterItem2Icon",
                      "width": 44,
                      "height": 44,
                      "fill": "#22C55E20",
                      "cornerRadius": 10,
                      "justifyContent": "center",
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "icon_font",
                          "id": "PrinterItem2IconInner",
                          "width": 22,
                          "height": 22,
                          "iconFontName": "printer",
                          "iconFontFamily": "lucide",
                          "fill": "#22C55E"
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "PrinterItem2Info",
                      "width": "fill_container",
                      "layout": "vertical",
                      "gap": 2,
                      "children": [
                        {
                          "type": "text",
                          "id": "PrinterItem2Name",
                          "fill": "$text-primary",
                          "content": "Star TSP143III",
                          "fontFamily": "Roboto",
                          "fontSize": 14,
                          "fontWeight": "600"
                        },
                        {
                          "type": "text",
                          "id": "PrinterItem2Status",
                          "fill": "#22C55E",
                          "content": "Đã kết nối • Bếp",
                          "fontFamily": "Roboto",
                          "fontSize": 12,
                          "fontWeight": "normal"
                        }
                      ]
                    },
                    {
                      "type": "icon_font",
                      "id": "PrinterItem2Arrow",
                      "width": 18,
                      "height": 18,
                      "iconFontName": "chevron-right",
                      "iconFontFamily": "lucide",
                      "fill": "$text-tertiary"
                    }
                  ]
                }
              ]
            },
            {
              "type": "frame",
              "id": "ScannerSection",
              "width": "fill_container",
              "fill": "$bg-page",
              "cornerRadius": 16,
              "layout": "vertical",
              "gap": 14,
              "padding": 16,
              "children": [
                {
                  "type": "frame",
                  "id": "ScannerHeader",
                  "width": "fill_container",
                  "justifyContent": "space_between",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "frame",
                      "id": "ScannerHeaderLeft",
                      "gap": 10,
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "icon_font",
                          "id": "ScannerHeaderIcon",
                          "width": 20,
                          "height": 20,
                          "iconFontName": "scan-barcode",
                          "iconFontFamily": "lucide",
                          "fill": "$text-primary"
                        },
                        {
                          "type": "text",
                          "id": "ScannerHeaderText",
                          "fill": "$text-primary",
                          "content": "Máy quét mã vạch",
                          "fontFamily": "Roboto",
                          "fontSize": 15,
                          "fontWeight": "600"
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "ScannerAddBtn",
                      "fill": "$bg-interactive",
                      "cornerRadius": 8,
                      "gap": 6,
                      "padding": [
                        6,
                        12
                      ],
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "icon_font",
                          "id": "ScannerAddIcon",
                          "width": 14,
                          "height": 14,
                          "iconFontName": "plus",
                          "iconFontFamily": "lucide",
                          "fill": "$text-secondary"
                        },
                        {
                          "type": "text",
                          "id": "ScannerAddText",
                          "fill": "$text-secondary",
                          "content": "Thêm",
                          "fontFamily": "Roboto",
                          "fontSize": 12,
                          "fontWeight": "500"
                        }
                      ]
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "ScannerItem1",
                  "width": "fill_container",
                  "fill": "$bg-elevated",
                  "cornerRadius": 12,
                  "gap": 12,
                  "padding": 12,
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "frame",
                      "id": "ScannerItem1Icon",
                      "width": 44,
                      "height": 44,
                      "fill": "#3B82F620",
                      "cornerRadius": 10,
                      "justifyContent": "center",
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "icon_font",
                          "id": "ScannerItem1IconInner",
                          "width": 22,
                          "height": 22,
                          "iconFontName": "scan-barcode",
                          "iconFontFamily": "lucide",
                          "fill": "#3B82F6"
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "ScannerItem1Info",
                      "width": "fill_container",
                      "layout": "vertical",
                      "gap": 2,
                      "children": [
                        {
                          "type": "text",
                          "id": "ScannerItem1Name",
                          "fill": "$text-primary",
                          "content": "Honeywell Voyager 1250G",
                          "fontFamily": "Roboto",
                          "fontSize": 14,
                          "fontWeight": "600"
                        },
                        {
                          "type": "text",
                          "id": "ScannerItem1Status",
                          "fill": "#22C55E",
                          "content": "Đã kết nối • USB",
                          "fontFamily": "Roboto",
                          "fontSize": 12,
                          "fontWeight": "normal"
                        }
                      ]
                    },
                    {
                      "type": "icon_font",
                      "id": "ScannerItem1Arrow",
                      "width": 18,
                      "height": 18,
                      "iconFontName": "chevron-right",
                      "iconFontFamily": "lucide",
                      "fill": "$text-tertiary"
                    }
                  ]
                }
              ]
            },
            {
              "type": "frame",
              "id": "CashDrawerSection",
              "width": "fill_container",
              "fill": "$bg-page",
              "cornerRadius": 16,
              "layout": "vertical",
              "gap": 14,
              "padding": 16,
              "children": [
                {
                  "type": "frame",
                  "id": "CashDrawerHeader",
                  "width": "fill_container",
                  "justifyContent": "space_between",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "frame",
                      "id": "CashDrawerHeaderLeft",
                      "gap": 10,
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "icon_font",
                          "id": "CashDrawerHeaderIcon",
                          "width": 20,
                          "height": 20,
                          "iconFontName": "wallet",
                          "iconFontFamily": "lucide",
                          "fill": "$text-primary"
                        },
                        {
                          "type": "text",
                          "id": "CashDrawerHeaderText",
                          "fill": "$text-primary",
                          "content": "Ngăn kéo tiền",
                          "fontFamily": "Roboto",
                          "fontSize": 15,
                          "fontWeight": "600"
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "CashDrawerTestBtn",
                      "fill": "$bg-interactive",
                      "cornerRadius": 8,
                      "gap": 6,
                      "padding": [
                        6,
                        12
                      ],
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "icon_font",
                          "id": "CashDrawerTestIcon",
                          "width": 14,
                          "height": 14,
                          "iconFontName": "play",
                          "iconFontFamily": "lucide",
                          "fill": "$text-secondary"
                        },
                        {
                          "type": "text",
                          "id": "CashDrawerTestText",
                          "fill": "$text-secondary",
                          "content": "Test",
                          "fontFamily": "Roboto",
                          "fontSize": 12,
                          "fontWeight": "500"
                        }
                      ]
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "CashDrawerItem1",
                  "width": "fill_container",
                  "fill": "$bg-elevated",
                  "cornerRadius": 12,
                  "gap": 12,
                  "padding": 12,
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "frame",
                      "id": "CashDrawerItem1Icon",
                      "width": 44,
                      "height": 44,
                      "fill": "#F59E0B20",
                      "cornerRadius": 10,
                      "justifyContent": "center",
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "icon_font",
                          "id": "CashDrawerItem1IconInner",
                          "width": 22,
                          "height": 22,
                          "iconFontName": "wallet",
                          "iconFontFamily": "lucide",
                          "fill": "#F59E0B"
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "CashDrawerItem1Info",
                      "width": "fill_container",
                      "layout": "vertical",
                      "gap": 2,
                      "children": [
                        {
                          "type": "text",
                          "id": "CashDrawerItem1Name",
                          "fill": "$text-primary",
                          "content": "APG Vasario Series",
                          "fontFamily": "Roboto",
                          "fontSize": 14,
                          "fontWeight": "600"
                        },
                        {
                          "type": "text",
                          "id": "CashDrawerItem1Status",
                          "fill": "#22C55E",
                          "content": "Đã kết nối qua máy in",
                          "fontFamily": "Roboto",
                          "fontSize": 12,
                          "fontWeight": "normal"
                        }
                      ]
                    },
                    {
                      "type": "icon_font",
                      "id": "CashDrawerItem1Arrow",
                      "width": 18,
                      "height": 18,
                      "iconFontName": "chevron-right",
                      "iconFontFamily": "lucide",
                      "fill": "$text-tertiary"
                    }
                  ]
                }
              ]
            },
            {
              "type": "frame",
              "id": "CardReaderSection",
              "width": "fill_container",
              "fill": "$bg-page",
              "cornerRadius": 16,
              "layout": "vertical",
              "gap": 14,
              "padding": 16,
              "children": [
                {
                  "type": "frame",
                  "id": "CardReaderHeader",
                  "width": "fill_container",
                  "justifyContent": "space_between",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "frame",
                      "id": "CardReaderHeaderLeft",
                      "gap": 10,
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "icon_font",
                          "id": "CardReaderHeaderIcon",
                          "width": 20,
                          "height": 20,
                          "iconFontName": "credit-card",
                          "iconFontFamily": "lucide",
                          "fill": "$text-primary"
                        },
                        {
                          "type": "text",
                          "id": "CardReaderHeaderText",
                          "fill": "$text-primary",
                          "content": "Đầu đọc thẻ",
                          "fontFamily": "Roboto",
                          "fontSize": 15,
                          "fontWeight": "600"
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "CardReaderAddBtn",
                      "fill": "$bg-interactive",
                      "cornerRadius": 8,
                      "gap": 6,
                      "padding": [
                        6,
                        12
                      ],
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "icon_font",
                          "id": "CardReaderAddIcon",
                          "width": 14,
                          "height": 14,
                          "iconFontName": "plus",
                          "iconFontFamily": "lucide",
                          "fill": "$text-secondary"
                        },
                        {
                          "type": "text",
                          "id": "CardReaderAddText",
                          "fill": "$text-secondary",
                          "content": "Thêm",
                          "fontFamily": "Roboto",
                          "fontSize": 12,
                          "fontWeight": "500"
                        }
                      ]
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "CardReaderEmpty",
                  "width": "fill_container",
                  "fill": "$bg-elevated",
                  "cornerRadius": 12,
                  "layout": "vertical",
                  "gap": 8,
                  "padding": [
                    20,
                    16
                  ],
                  "justifyContent": "center",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "icon_font",
                      "id": "CardReaderEmptyIcon",
                      "width": 32,
                      "height": 32,
                      "iconFontName": "credit-card",
                      "iconFontFamily": "lucide",
                      "fill": "$text-tertiary"
                    },
                    {
                      "type": "text",
                      "id": "CardReaderEmptyText",
                      "fill": "$text-tertiary",
                      "content": "Chưa có thiết bị",
                      "fontFamily": "Roboto",
                      "fontSize": 13,
                      "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"
    }
  }
}