{
  "version": "2.7",
  "children": [
    {
      "type": "frame",
      "id": "OrderCompleteScreen",
      "x": 0,
      "y": 0,
      "name": "POS/OrderComplete",
      "reusable": true,
      "width": 390,
      "height": 952,
      "fill": "$bg-page",
      "layout": "vertical",
      "children": [
        {
          "type": "frame",
          "id": "CompleteScrollContent",
          "name": "CompleteScrollContent",
          "width": "fill_container",
          "height": "fill_container",
          "layout": "vertical",
          "gap": 20,
          "padding": [
            40,
            20,
            20,
            20
          ],
          "alignItems": "center",
          "children": [
            {
              "type": "frame",
              "id": "SuccessIconWrap",
              "name": "SuccessIconWrap",
              "width": 100,
              "height": 100,
              "fill": "#22C55E20",
              "cornerRadius": 50,
              "layout": "vertical",
              "justifyContent": "center",
              "alignItems": "center",
              "children": [
                {
                  "type": "icon_font",
                  "id": "SuccessCheckIcon",
                  "name": "SuccessCheckIcon",
                  "width": 48,
                  "height": 48,
                  "iconFontName": "check",
                  "iconFontFamily": "lucide",
                  "fill": "$success"
                }
              ]
            },
            {
              "type": "text",
              "id": "CompleteTitle",
              "name": "CompleteTitle",
              "fill": "$text-primary",
              "content": "Đơn hàng sẵn sàng!",
              "textAlign": "center",
              "fontFamily": "Inter",
              "fontSize": 24,
              "fontWeight": "700"
            },
            {
              "type": "text",
              "id": "CompleteSubtitle",
              "name": "CompleteSubtitle",
              "fill": "$text-secondary",
              "content": "Vui lòng đến quầy nhận món",
              "textAlign": "center",
              "fontFamily": "Inter",
              "fontSize": 14,
              "fontWeight": "normal"
            },
            {
              "type": "frame",
              "id": "OrderInfoCard",
              "name": "OrderInfoCard",
              "width": "fill_container",
              "fill": "$bg-surface",
              "cornerRadius": 20,
              "layout": "vertical",
              "gap": 12,
              "padding": 24,
              "children": [
                {
                  "type": "text",
                  "id": "OrderInfoLabel",
                  "name": "OrderInfoLabel",
                  "fill": "$text-secondary",
                  "content": "Mã đơn hàng",
                  "textAlign": "center",
                  "fontFamily": "Inter",
                  "fontSize": 13,
                  "fontWeight": "normal"
                },
                {
                  "type": "text",
                  "id": "OrderInfoId",
                  "name": "OrderInfoId",
                  "fill": "$text-primary",
                  "content": "#EK-0087",
                  "textAlign": "center",
                  "fontFamily": "Inter",
                  "fontSize": 28,
                  "fontWeight": "700"
                },
                {
                  "type": "frame",
                  "id": "CustomerNameRow",
                  "name": "CustomerNameRow",
                  "width": "fill_container",
                  "justifyContent": "space_between",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "text",
                      "id": "CustomerNameLabel",
                      "name": "CustomerNameLabel",
                      "fill": "$text-secondary",
                      "content": "Tên khách",
                      "fontFamily": "Inter",
                      "fontSize": 14,
                      "fontWeight": "normal"
                    },
                    {
                      "type": "text",
                      "id": "CustomerNameValue",
                      "name": "CustomerNameValue",
                      "fill": "$text-primary",
                      "content": "Nguyễn Văn A",
                      "fontFamily": "Inter",
                      "fontSize": 14,
                      "fontWeight": "500"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "OrderTypeRow",
                  "name": "OrderTypeRow",
                  "width": "fill_container",
                  "justifyContent": "space_between",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "text",
                      "id": "OrderTypeLabel",
                      "name": "OrderTypeLabel",
                      "fill": "$text-secondary",
                      "content": "Hình thức",
                      "fontFamily": "Inter",
                      "fontSize": 14,
                      "fontWeight": "normal"
                    },
                    {
                      "type": "text",
                      "id": "OrderTypeValue",
                      "name": "OrderTypeValue",
                      "fill": "$text-primary",
                      "content": "Tại quán",
                      "fontFamily": "Inter",
                      "fontSize": 14,
                      "fontWeight": "500"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "OrderInfoDivider",
                  "name": "OrderInfoDivider",
                  "width": "fill_container",
                  "height": 1,
                  "fill": "$border-subtle"
                },
                {
                  "type": "text",
                  "id": "ItemsSummary",
                  "name": "ItemsSummary",
                  "fill": "$text-primary",
                  "content": "3 mon - 130,000d",
                  "textAlign": "center",
                  "fontFamily": "Inter",
                  "fontSize": 15,
                  "fontWeight": "600"
                }
              ]
            },
            {
              "type": "frame",
              "id": "PickupNumberCard",
              "name": "PickupNumberCard",
              "width": "fill_container",
              "fill": "$orange-primary",
              "cornerRadius": 20,
              "layout": "vertical",
              "gap": 4,
              "padding": [
                24,
                20
              ],
              "justifyContent": "center",
              "alignItems": "center",
              "children": [
                {
                  "type": "text",
                  "id": "PickupNumberLabel",
                  "name": "PickupNumberLabel",
                  "fill": "$bg-surface",
                  "content": "Số thứ tự",
                  "textAlign": "center",
                  "fontFamily": "Inter",
                  "fontSize": 14,
                  "fontWeight": "500"
                },
                {
                  "type": "text",
                  "id": "PickupNumberValue",
                  "name": "PickupNumberValue",
                  "fill": "$bg-surface",
                  "content": "087",
                  "textAlign": "center",
                  "fontFamily": "Inter",
                  "fontSize": 64,
                  "fontWeight": "800"
                }
              ]
            },
            {
              "type": "frame",
              "id": "RatingSection",
              "name": "RatingSection",
              "width": "fill_container",
              "fill": "$bg-elevated",
              "cornerRadius": 16,
              "layout": "vertical",
              "gap": 12,
              "padding": 20,
              "alignItems": "center",
              "children": [
                {
                  "type": "text",
                  "id": "RatingSectionTitle",
                  "name": "RatingSectionTitle",
                  "fill": "$text-primary",
                  "content": "Đánh giá trải nghiệm",
                  "textAlign": "center",
                  "fontFamily": "Inter",
                  "fontSize": 16,
                  "fontWeight": "600"
                },
                {
                  "type": "frame",
                  "id": "StarRow",
                  "name": "StarRow",
                  "gap": 8,
                  "justifyContent": "center",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "icon_font",
                      "id": "RatingStar1",
                      "name": "RatingStar1",
                      "width": 32,
                      "height": 32,
                      "iconFontName": "star",
                      "iconFontFamily": "lucide",
                      "fill": "$text-tertiary"
                    },
                    {
                      "type": "icon_font",
                      "id": "RatingStar2",
                      "name": "RatingStar2",
                      "width": 32,
                      "height": 32,
                      "iconFontName": "star",
                      "iconFontFamily": "lucide",
                      "fill": "$text-tertiary"
                    },
                    {
                      "type": "icon_font",
                      "id": "RatingStar3",
                      "name": "RatingStar3",
                      "width": 32,
                      "height": 32,
                      "iconFontName": "star",
                      "iconFontFamily": "lucide",
                      "fill": "$text-tertiary"
                    },
                    {
                      "type": "icon_font",
                      "id": "RatingStar4",
                      "name": "RatingStar4",
                      "width": 32,
                      "height": 32,
                      "iconFontName": "star",
                      "iconFontFamily": "lucide",
                      "fill": "$text-tertiary"
                    },
                    {
                      "type": "icon_font",
                      "id": "RatingStar5",
                      "name": "RatingStar5",
                      "width": 32,
                      "height": 32,
                      "iconFontName": "star",
                      "iconFontFamily": "lucide",
                      "fill": "$text-tertiary"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "RatingTextArea",
                  "name": "RatingTextArea",
                  "width": "fill_container",
                  "height": 72,
                  "fill": "$bg-surface",
                  "cornerRadius": 12,
                  "padding": [
                    12,
                    14
                  ],
                  "children": [
                    {
                      "type": "text",
                      "id": "RatingPlaceholder",
                      "name": "RatingPlaceholder",
                      "fill": "$text-tertiary",
                      "content": "Chia sẻ cảm nhận của bạn...",
                      "fontFamily": "Inter",
                      "fontSize": 13,
                      "fontWeight": "normal"
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "type": "frame",
          "id": "CompleteBottomBar",
          "name": "CompleteBottomBar",
          "width": "fill_container",
          "fill": "$bg-surface",
          "layout": "vertical",
          "gap": 10,
          "padding": [
            12,
            20,
            20,
            20
          ],
          "children": [
            {
              "type": "frame",
              "id": "OrderMoreBtn",
              "name": "OrderMoreBtn",
              "width": "fill_container",
              "height": 52,
              "fill": "$orange-primary",
              "cornerRadius": 30,
              "layout": "vertical",
              "justifyContent": "center",
              "alignItems": "center",
              "children": [
                {
                  "type": "text",
                  "id": "OrderMoreText",
                  "name": "OrderMoreText",
                  "fill": "$bg-surface",
                  "content": "Đặt thêm món",
                  "textAlign": "center",
                  "fontFamily": "Inter",
                  "fontSize": 16,
                  "fontWeight": "600"
                }
              ]
            },
            {
              "type": "frame",
              "id": "GoHomeBtn",
              "name": "GoHomeBtn",
              "width": "fill_container",
              "height": 44,
              "stroke": {
                "align": "inside",
                "thickness": 1,
                "fill": "$border-default"
              },
              "layout": "vertical",
              "justifyContent": "center",
              "alignItems": "center",
              "children": [
                {
                  "type": "text",
                  "id": "GoHomeText",
                  "name": "GoHomeText",
                  "fill": "$text-primary",
                  "content": "Về trang chủ",
                  "textAlign": "center",
                  "fontFamily": "Inter",
                  "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"
    }
  }
}