{
  "version": "2.7",
  "children": [
    {
      "type": "frame",
      "id": "OrderTrackingScreen",
      "x": 0,
      "y": 0,
      "name": "POS/OrderTracking",
      "reusable": true,
      "width": 390,
      "height": 903,
      "fill": "$bg-page",
      "layout": "vertical",
      "children": [
        {
          "type": "frame",
          "id": "TrackTopBar",
          "name": "TrackTopBar",
          "width": "fill_container",
          "height": 56,
          "fill": "$bg-surface",
          "padding": [
            0,
            16
          ],
          "alignItems": "center",
          "children": [
            {
              "type": "icon_font",
              "id": "TrackBackIcon",
              "name": "TrackBackIcon",
              "width": 24,
              "height": 24,
              "iconFontName": "chevron-left",
              "iconFontFamily": "lucide",
              "fill": "$text-primary"
            },
            {
              "type": "text",
              "id": "TrackTopTitle",
              "name": "TrackTopTitle",
              "fill": "$text-primary",
              "content": "Theo dõi đơn hàng",
              "fontFamily": "Poppins",
              "fontSize": 18,
              "fontWeight": "600"
            },
            {
              "type": "icon_font",
              "id": "TrackPhoneIcon",
              "name": "TrackPhoneIcon",
              "width": 24,
              "height": 24,
              "iconFontName": "phone",
              "iconFontFamily": "lucide",
              "fill": "$text-primary"
            }
          ]
        },
        {
          "type": "frame",
          "id": "TrackScrollContent",
          "name": "TrackScrollContent",
          "width": "fill_container",
          "layout": "vertical",
          "gap": 16,
          "padding": [
            16,
            16,
            24,
            16
          ],
          "children": [
            {
              "type": "frame",
              "id": "OrderIdRow",
              "name": "OrderIdRow",
              "width": "fill_container",
              "alignItems": "center",
              "children": [
                {
                  "type": "text",
                  "id": "OrderIdText",
                  "name": "OrderIdText",
                  "fill": "$text-primary",
                  "content": "#EK-0087",
                  "fontFamily": "Poppins",
                  "fontSize": 20,
                  "fontWeight": "700"
                },
                {
                  "type": "text",
                  "id": "OrderTimeText",
                  "name": "OrderTimeText",
                  "fill": "$text-secondary",
                  "content": "14:32 - 10/02/2025",
                  "fontFamily": "Poppins",
                  "fontSize": 13,
                  "fontWeight": "normal"
                }
              ]
            },
            {
              "type": "frame",
              "id": "StatusTimeline",
              "name": "StatusTimeline",
              "width": "fill_container",
              "fill": "$bg-surface",
              "cornerRadius": 16,
              "layout": "vertical",
              "padding": 20,
              "children": [
                {
                  "type": "frame",
                  "id": "Step1",
                  "name": "Step1",
                  "width": "fill_container",
                  "gap": 14,
                  "children": [
                    {
                      "type": "frame",
                      "id": "Step1DotCol",
                      "name": "Step1DotCol",
                      "width": 24,
                      "layout": "vertical",
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "frame",
                          "id": "Step1Dot",
                          "name": "Step1Dot",
                          "width": 24,
                          "height": 24,
                          "fill": "$success",
                          "cornerRadius": 12,
                          "layout": "vertical",
                          "justifyContent": "center",
                          "alignItems": "center",
                          "children": [
                            {
                              "type": "icon_font",
                              "id": "Step1Check",
                              "name": "Step1Check",
                              "width": 14,
                              "height": 14,
                              "iconFontName": "check",
                              "iconFontFamily": "lucide",
                              "fill": "$bg-surface"
                            }
                          ]
                        },
                        {
                          "type": "frame",
                          "id": "Step1Line",
                          "name": "Step1Line",
                          "width": 2,
                          "height": 28,
                          "fill": "$success"
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "Step1Content",
                      "name": "Step1Content",
                      "layout": "vertical",
                      "gap": 2,
                      "children": [
                        {
                          "type": "text",
                          "id": "Step1Title",
                          "name": "Step1Title",
                          "fill": "$text-primary",
                          "content": "Đã nhận đơn",
                          "fontFamily": "Poppins",
                          "fontSize": 14,
                          "fontWeight": "600"
                        },
                        {
                          "type": "text",
                          "id": "Step1Time",
                          "name": "Step1Time",
                          "fill": "$text-secondary",
                          "content": "14:32",
                          "fontFamily": "Poppins",
                          "fontSize": 12,
                          "fontWeight": "normal"
                        }
                      ]
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "Step2",
                  "name": "Step2",
                  "width": "fill_container",
                  "gap": 14,
                  "children": [
                    {
                      "type": "frame",
                      "id": "Step2DotCol",
                      "name": "Step2DotCol",
                      "width": 24,
                      "layout": "vertical",
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "frame",
                          "id": "Step2Dot",
                          "name": "Step2Dot",
                          "width": 24,
                          "height": 24,
                          "fill": "$success",
                          "cornerRadius": 12,
                          "layout": "vertical",
                          "justifyContent": "center",
                          "alignItems": "center",
                          "children": [
                            {
                              "type": "icon_font",
                              "id": "Step2Check",
                              "name": "Step2Check",
                              "width": 14,
                              "height": 14,
                              "iconFontName": "check",
                              "iconFontFamily": "lucide",
                              "fill": "$bg-surface"
                            }
                          ]
                        },
                        {
                          "type": "frame",
                          "id": "Step2Line",
                          "name": "Step2Line",
                          "width": 2,
                          "height": 28,
                          "fill": "$success"
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "Step2Content",
                      "name": "Step2Content",
                      "layout": "vertical",
                      "gap": 2,
                      "children": [
                        {
                          "type": "text",
                          "id": "Step2Title",
                          "name": "Step2Title",
                          "fill": "$text-primary",
                          "content": "Đã xác nhận",
                          "fontFamily": "Poppins",
                          "fontSize": 14,
                          "fontWeight": "600"
                        },
                        {
                          "type": "text",
                          "id": "Step2Time",
                          "name": "Step2Time",
                          "fill": "$text-secondary",
                          "content": "14:33",
                          "fontFamily": "Poppins",
                          "fontSize": 12,
                          "fontWeight": "normal"
                        }
                      ]
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "Step3",
                  "name": "Step3",
                  "width": "fill_container",
                  "gap": 14,
                  "children": [
                    {
                      "type": "frame",
                      "id": "Step3DotCol",
                      "name": "Step3DotCol",
                      "width": 24,
                      "layout": "vertical",
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "frame",
                          "id": "Step3Dot",
                          "name": "Step3Dot",
                          "width": 24,
                          "height": 24,
                          "fill": "$orange-primary",
                          "cornerRadius": 12,
                          "layout": "vertical",
                          "justifyContent": "center",
                          "alignItems": "center",
                          "children": [
                            {
                              "type": "icon_font",
                              "id": "Step3ActiveIcon",
                              "name": "Step3ActiveIcon",
                              "width": 16,
                              "height": 16,
                              "iconFontName": "loader",
                              "iconFontFamily": "lucide",
                              "fill": "$bg-surface"
                            }
                          ]
                        },
                        {
                          "type": "frame",
                          "id": "Step3Line",
                          "name": "Step3Line",
                          "width": 2,
                          "height": 28,
                          "fill": "$border-default"
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "Step3Content",
                      "name": "Step3Content",
                      "layout": "vertical",
                      "gap": 2,
                      "children": [
                        {
                          "type": "text",
                          "id": "Step3Title",
                          "name": "Step3Title",
                          "fill": "$orange-primary",
                          "content": "Đang chế biến",
                          "fontFamily": "Poppins",
                          "fontSize": 14,
                          "fontWeight": "600"
                        },
                        {
                          "type": "text",
                          "id": "Step3Time",
                          "name": "Step3Time",
                          "fill": "$text-secondary",
                          "content": "Dự kiến 10-15 phút",
                          "fontFamily": "Poppins",
                          "fontSize": 12,
                          "fontWeight": "normal"
                        }
                      ]
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "Step4",
                  "name": "Step4",
                  "width": "fill_container",
                  "gap": 14,
                  "children": [
                    {
                      "type": "frame",
                      "id": "Step4DotCol",
                      "name": "Step4DotCol",
                      "width": 24,
                      "layout": "vertical",
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "frame",
                          "id": "Step4Dot",
                          "name": "Step4Dot",
                          "width": 24,
                          "height": 24,
                          "cornerRadius": 12,
                          "stroke": {
                            "thickness": 2,
                            "fill": "$border-default"
                          },
                          "justifyContent": "center",
                          "alignItems": "center"
                        },
                        {
                          "type": "frame",
                          "id": "Step4Line",
                          "name": "Step4Line",
                          "width": 2,
                          "height": 28,
                          "fill": "$border-default"
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "Step4Content",
                      "name": "Step4Content",
                      "layout": "vertical",
                      "gap": 2,
                      "children": [
                        {
                          "type": "text",
                          "id": "Step4Title",
                          "name": "Step4Title",
                          "fill": "$text-tertiary",
                          "content": "Sẵn sàng lấy",
                          "fontFamily": "Poppins",
                          "fontSize": 14,
                          "fontWeight": "500"
                        }
                      ]
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "Step5",
                  "name": "Step5",
                  "width": "fill_container",
                  "gap": 14,
                  "children": [
                    {
                      "type": "frame",
                      "id": "Step5DotCol",
                      "name": "Step5DotCol",
                      "width": 24,
                      "layout": "vertical",
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "frame",
                          "id": "Step5Dot",
                          "name": "Step5Dot",
                          "width": 24,
                          "height": 24,
                          "cornerRadius": 12,
                          "stroke": {
                            "thickness": 2,
                            "fill": "$border-default"
                          },
                          "justifyContent": "center",
                          "alignItems": "center"
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "Step5Content",
                      "name": "Step5Content",
                      "layout": "vertical",
                      "gap": 2,
                      "children": [
                        {
                          "type": "text",
                          "id": "Step5Title",
                          "name": "Step5Title",
                          "fill": "$text-tertiary",
                          "content": "Hoàn thành",
                          "fontFamily": "Poppins",
                          "fontSize": 14,
                          "fontWeight": "500"
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "type": "frame",
              "id": "EstimatedTimeCard",
              "name": "EstimatedTimeCard",
              "width": "fill_container",
              "fill": "$bg-elevated",
              "cornerRadius": 16,
              "layout": "vertical",
              "gap": 8,
              "padding": 20,
              "alignItems": "center",
              "children": [
                {
                  "type": "icon_font",
                  "id": "EstClockIcon",
                  "name": "EstClockIcon",
                  "width": 20,
                  "height": 20,
                  "iconFontName": "timer",
                  "iconFontFamily": "lucide",
                  "fill": "$orange-primary"
                },
                {
                  "type": "text",
                  "id": "EstLabel",
                  "name": "EstLabel",
                  "fill": "$text-secondary",
                  "content": "Dự kiến hoàn thành",
                  "fontFamily": "Poppins",
                  "fontSize": 13,
                  "fontWeight": "normal"
                },
                {
                  "type": "text",
                  "id": "EstTime",
                  "name": "EstTime",
                  "fill": "$orange-primary",
                  "content": "14:47",
                  "fontFamily": "Poppins",
                  "fontSize": 36,
                  "fontWeight": "700"
                },
                {
                  "type": "text",
                  "id": "EstRemaining",
                  "name": "EstRemaining",
                  "fill": "$text-tertiary",
                  "content": "Còn khoảng 12 phút",
                  "fontFamily": "Poppins",
                  "fontSize": 13,
                  "fontWeight": "normal"
                },
                {
                  "type": "frame",
                  "id": "ProgressBarBg",
                  "name": "ProgressBarBg",
                  "width": "fill_container",
                  "height": 6,
                  "fill": "$border-subtle",
                  "cornerRadius": 3,
                  "children": [
                    {
                      "type": "frame",
                      "id": "ProgressBarFill",
                      "name": "ProgressBarFill",
                      "width": "fill_container",
                      "height": 6,
                      "fill": "$orange-primary",
                      "cornerRadius": 3
                    }
                  ]
                }
              ]
            },
            {
              "type": "frame",
              "id": "OrderDetailsCard",
              "name": "OrderDetailsCard",
              "width": "fill_container",
              "fill": "$bg-surface",
              "cornerRadius": 16,
              "layout": "vertical",
              "gap": 12,
              "padding": [
                16,
                20
              ],
              "children": [
                {
                  "type": "text",
                  "id": "OrderDetailsTitle",
                  "name": "OrderDetailsTitle",
                  "fill": "$text-primary",
                  "content": "Chi tiết đơn hàng",
                  "fontFamily": "Poppins",
                  "fontSize": 16,
                  "fontWeight": "600"
                },
                {
                  "type": "frame",
                  "id": "OrderDetailItem1",
                  "name": "OrderDetailItem1",
                  "width": "fill_container",
                  "children": [
                    {
                      "type": "text",
                      "id": "ODItem1Name",
                      "name": "ODItem1Name",
                      "fill": "$text-primary",
                      "content": "Cơm trứng chiên x2",
                      "fontFamily": "Poppins",
                      "fontSize": 14,
                      "fontWeight": "normal"
                    },
                    {
                      "type": "text",
                      "id": "ODItem1Price",
                      "name": "ODItem1Price",
                      "fill": "$text-primary",
                      "content": "100,000d",
                      "fontFamily": "Poppins",
                      "fontSize": 14,
                      "fontWeight": "500"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "OrderDetailItem2",
                  "name": "OrderDetailItem2",
                  "width": "fill_container",
                  "children": [
                    {
                      "type": "text",
                      "id": "ODItem2Name",
                      "name": "ODItem2Name",
                      "fill": "$text-primary",
                      "content": "Trà sữa oolong x1",
                      "fontFamily": "Poppins",
                      "fontSize": 14,
                      "fontWeight": "normal"
                    },
                    {
                      "type": "text",
                      "id": "ODItem2Price",
                      "name": "ODItem2Price",
                      "fill": "$text-primary",
                      "content": "40,000d",
                      "fontFamily": "Poppins",
                      "fontSize": 14,
                      "fontWeight": "500"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "OrderDetailItem3",
                  "name": "OrderDetailItem3",
                  "width": "fill_container",
                  "children": [
                    {
                      "type": "text",
                      "id": "ODItem3Name",
                      "name": "ODItem3Name",
                      "fill": "$text-primary",
                      "content": "Bánh mì trứng ốp la x1",
                      "fontFamily": "Poppins",
                      "fontSize": 14,
                      "fontWeight": "normal"
                    },
                    {
                      "type": "text",
                      "id": "ODItem3Price",
                      "name": "ODItem3Price",
                      "fill": "$text-primary",
                      "content": "25,000d",
                      "fontFamily": "Poppins",
                      "fontSize": 14,
                      "fontWeight": "500"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "OrderDetailDivider",
                  "name": "OrderDetailDivider",
                  "width": "fill_container",
                  "height": 1,
                  "fill": "$border-subtle"
                },
                {
                  "type": "frame",
                  "id": "OrderDetailTotal",
                  "name": "OrderDetailTotal",
                  "width": "fill_container",
                  "children": [
                    {
                      "type": "text",
                      "id": "ODTotalLabel",
                      "name": "ODTotalLabel",
                      "fill": "$text-primary",
                      "content": "Tổng cộng",
                      "fontFamily": "Poppins",
                      "fontSize": 16,
                      "fontWeight": "700"
                    },
                    {
                      "type": "text",
                      "id": "ODTotalValue",
                      "name": "ODTotalValue",
                      "fill": "$orange-primary",
                      "content": "130,000d",
                      "fontFamily": "Poppins",
                      "fontSize": 16,
                      "fontWeight": "700"
                    }
                  ]
                }
              ]
            },
            {
              "type": "frame",
              "id": "CancelOrderBtn",
              "name": "CancelOrderBtn",
              "width": "fill_container",
              "height": 48,
              "fill": "$bg-surface",
              "cornerRadius": 12,
              "stroke": {
                "thickness": 1,
                "fill": "$border-default"
              },
              "layout": "vertical",
              "justifyContent": "center",
              "alignItems": "center",
              "children": [
                {
                  "type": "text",
                  "id": "CancelOrderText",
                  "name": "CancelOrderText",
                  "fill": "$error",
                  "content": "Hủy đơn",
                  "fontFamily": "Poppins",
                  "fontSize": 15,
                  "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"
    }
  }
}