{
  "version": "2.7",
  "children": [
    {
      "type": "frame",
      "id": "CourseTimingDialog",
      "name": "Dialog/CourseTiming",
      "reusable": true,
      "clip": true,
      "width": 420,
      "height": 500,
      "fill": "$bg-elevated",
      "cornerRadius": 24,
      "layout": "vertical",
      "children": [
        {
          "type": "frame",
          "id": "CourseTimingHeader",
          "width": "fill_container",
          "padding": [16, 20],
          "stroke": {"thickness": 1, "fill": "$border-subtle", "sides": ["bottom"]},
          "justifyContent": "space_between",
          "alignItems": "center",
          "children": [
            {"type": "frame", "id": "CourseTimingHeaderLeft", "gap": 12, "alignItems": "center", "children": [
              {"type": "frame", "id": "CourseTimingIconBg", "width": 40, "height": 40, "fill": "#F59E0B20", "cornerRadius": 12, "justifyContent": "center", "alignItems": "center", "children": [
                {"type": "icon_font", "id": "CourseTimingIcon", "width": 20, "height": 20, "iconFontName": "timer", "iconFontFamily": "lucide", "fill": "#F59E0B"}
              ]},
              {"type": "text", "id": "CourseTimingTitle", "fill": "$text-primary", "content": "Thời gian lên món", "fontFamily": "Roboto", "fontSize": 18, "fontWeight": "700"}
            ]},
            {"type": "frame", "id": "CourseTimingCloseBtn", "width": 36, "height": 36, "fill": "$bg-interactive", "cornerRadius": 18, "justifyContent": "center", "alignItems": "center", "children": [
              {"type": "icon_font", "id": "CourseTimingCloseIcon", "width": 18, "height": 18, "iconFontName": "x", "iconFontFamily": "lucide", "fill": "$text-secondary"}
            ]}
          ]
        },
        {
          "type": "frame",
          "id": "CourseTimingContent",
          "width": "fill_container",
          "height": "fill_container",
          "padding": 20,
          "layout": "vertical",
          "gap": 16,
          "children": [
            {"type": "frame", "id": "CourseTimingTableInfo", "width": "fill_container", "fill": "$bg-page", "cornerRadius": 14, "padding": [12, 16], "justifyContent": "space_between", "alignItems": "center", "children": [
              {"type": "frame", "id": "CourseTimingTableLeft", "gap": 10, "alignItems": "center", "children": [
                {"type": "frame", "id": "CourseTimingTableIcon", "width": 36, "height": 36, "fill": "#3B82F620", "cornerRadius": 8, "justifyContent": "center", "alignItems": "center", "children": [
                  {"type": "text", "id": "CourseTimingTableNum", "fill": "#3B82F6", "content": "08", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "700"}
                ]},
                {"type": "text", "id": "CourseTimingTableText", "fill": "$text-primary", "content": "Bàn 08 • 6 khách", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "500"}
              ]},
              {"type": "text", "id": "CourseTimingTableOrder", "fill": "$text-tertiary", "content": "Đơn #1852", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "normal"}
            ]},
            {"type": "frame", "id": "CourseTimingList", "width": "fill_container", "layout": "vertical", "gap": 10, "children": [
              {"type": "text", "id": "CourseTimingListLabel", "fill": "$text-secondary", "content": "Thứ tự lên món", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "600"},
              {"type": "frame", "id": "Course1", "width": "fill_container", "fill": "$bg-page", "cornerRadius": 14, "padding": 14, "gap": 12, "alignItems": "center", "children": [
                {"type": "frame", "id": "Course1Num", "width": 32, "height": 32, "fill": "#22C55E", "cornerRadius": 16, "justifyContent": "center", "alignItems": "center", "children": [
                  {"type": "text", "id": "Course1NumText", "fill": "$text-primary", "content": "1", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "700"}
                ]},
                {"type": "frame", "id": "Course1Info", "width": "fill_container", "layout": "vertical", "gap": 2, "children": [
                  {"type": "text", "id": "Course1Name", "fill": "$text-primary", "content": "Khai vị", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600"},
                  {"type": "text", "id": "Course1Items", "fill": "$text-tertiary", "content": "Gỏi cuốn, Súp hải sản", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "normal"}
                ]},
                {"type": "frame", "id": "Course1Status", "fill": "#22C55E20", "cornerRadius": 8, "padding": [6, 10], "children": [
                  {"type": "text", "id": "Course1StatusText", "fill": "#22C55E", "content": "Đã lên", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "600"}
                ]}
              ]},
              {"type": "frame", "id": "Course2", "width": "fill_container", "fill": "$bg-page", "cornerRadius": 14, "padding": 14, "gap": 12, "alignItems": "center", "stroke": {"thickness": 2, "fill": "#F59E0B"}, "children": [
                {"type": "frame", "id": "Course2Num", "width": 32, "height": 32, "fill": "#F59E0B", "cornerRadius": 16, "justifyContent": "center", "alignItems": "center", "children": [
                  {"type": "text", "id": "Course2NumText", "fill": "$text-primary", "content": "2", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "700"}
                ]},
                {"type": "frame", "id": "Course2Info", "width": "fill_container", "layout": "vertical", "gap": 2, "children": [
                  {"type": "text", "id": "Course2Name", "fill": "$text-primary", "content": "Món chính", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600"},
                  {"type": "text", "id": "Course2Items", "fill": "$text-tertiary", "content": "Bò lúc lắc, Cá nướng", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "normal"}
                ]},
                {"type": "frame", "id": "Course2Status", "fill": "#F59E0B20", "cornerRadius": 8, "padding": [6, 10], "children": [
                  {"type": "text", "id": "Course2StatusText", "fill": "#F59E0B", "content": "Đang làm", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "600"}
                ]}
              ]},
              {"type": "frame", "id": "Course3", "width": "fill_container", "fill": "$bg-page", "cornerRadius": 14, "padding": 14, "gap": 12, "alignItems": "center", "children": [
                {"type": "frame", "id": "Course3Num", "width": 32, "height": 32, "fill": "$bg-interactive", "cornerRadius": 16, "justifyContent": "center", "alignItems": "center", "children": [
                  {"type": "text", "id": "Course3NumText", "fill": "$text-tertiary", "content": "3", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "700"}
                ]},
                {"type": "frame", "id": "Course3Info", "width": "fill_container", "layout": "vertical", "gap": 2, "children": [
                  {"type": "text", "id": "Course3Name", "fill": "$text-primary", "content": "Tráng miệng", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600"},
                  {"type": "text", "id": "Course3Items", "fill": "$text-tertiary", "content": "Chè, Trái cây", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "normal"}
                ]},
                {"type": "frame", "id": "Course3Status", "fill": "$bg-interactive", "cornerRadius": 8, "padding": [6, 10], "children": [
                  {"type": "text", "id": "Course3StatusText", "fill": "$text-tertiary", "content": "Chờ", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"}
                ]}
              ]}
            ]}
          ]
        },
        {
          "type": "frame",
          "id": "CourseTimingFooter",
          "width": "fill_container",
          "stroke": {"thickness": 1, "fill": "$border-subtle", "sides": ["top"]},
          "gap": 12,
          "padding": [16, 20],
          "children": [
            {"type": "frame", "id": "CourseTimingFireBtn", "width": "fill_container", "height": 48, "fill": {"type": "gradient", "gradientType": "linear", "enabled": true, "rotation": 135, "colors": [{"color": "#F59E0B", "position": 0}, {"color": "#D97706", "position": 1}]}, "cornerRadius": 12, "gap": 8, "justifyContent": "center", "alignItems": "center", "children": [
              {"type": "icon_font", "id": "CourseTimingFireIcon", "width": 18, "height": 18, "iconFontName": "flame", "iconFontFamily": "lucide", "fill": "$text-primary"},
              {"type": "text", "id": "CourseTimingFireText", "fill": "$text-primary", "content": "Fire món tiếp theo", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600"}
            ]},
            {"type": "frame", "id": "CourseTimingDoneBtn", "width": "fill_container", "height": 48, "fill": {"type": "gradient", "gradientType": "linear", "enabled": true, "rotation": 135, "colors": [{"color": "#22C55E", "position": 0}, {"color": "#16A34A", "position": 1}]}, "cornerRadius": 12, "gap": 8, "justifyContent": "center", "alignItems": "center", "children": [
              {"type": "icon_font", "id": "CourseTimingDoneIcon", "width": 18, "height": 18, "iconFontName": "check", "iconFontFamily": "lucide", "fill": "$text-primary"},
              {"type": "text", "id": "CourseTimingDoneText", "fill": "$text-primary", "content": "Đánh dấu đã lên", "fontFamily": "Roboto", "fontSize": 14, "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"}
  }
}
