{
  "version": "2.6",
  "children": [
    {
      "type": "frame",
      "id": "LowStockAlertDialog",
      "name": "Dialog/LowStockAlert",
      "reusable": true,
      "width": 420,
      "height": 520,
      "fill": "$bg-elevated",
      "cornerRadius": 20,
      "layout": "vertical",
      "children": [
        {
          "type": "frame",
          "id": "AlertHeader",
          "width": "fill_container",
          "padding": [16, 20],
          "gap": 12,
          "alignItems": "center",
          "stroke": {"thickness": 1, "fill": "$border-subtle"},
          "children": [
            {"type": "frame", "id": "AlertIconBg", "width": 44, "height": 44, "fill": "#EAB30815", "cornerRadius": 12, "justifyContent": "center", "alignItems": "center", "children": [
              {"type": "icon_font", "id": "AlertIcon", "width": 22, "height": 22, "iconFontName": "alert-triangle", "iconFontFamily": "lucide", "fill": "#EAB308"}
            ]},
            {"type": "frame", "id": "AlertTitleBox", "width": "fill_container", "layout": "vertical", "gap": 2, "children": [
              {"type": "text", "id": "AlertTitle", "fill": "$text-primary", "content": "Cảnh Báo Tồn Kho Thấp", "fontFamily": "Roboto", "fontSize": 17, "fontWeight": "700"},
              {"type": "text", "id": "AlertCount", "fill": "#EAB308", "content": "5 sản phẩm cần nhập thêm", "fontFamily": "Roboto", "fontSize": 13}
            ]},
            {"type": "frame", "id": "AlertClose", "width": 32, "height": 32, "fill": "$bg-interactive", "cornerRadius": 8, "justifyContent": "center", "alignItems": "center", "children": [
              {"type": "icon_font", "id": "AlertCloseIcon", "width": 16, "height": 16, "iconFontName": "x", "iconFontFamily": "lucide", "fill": "$text-secondary"}
            ]}
          ]
        },
        {
          "type": "frame",
          "id": "AlertContent",
          "width": "fill_container",
          "height": "fill_container",
          "layout": "vertical",
          "padding": [14, 20],
          "gap": 10,
          "children": [
            {"type": "frame", "id": "Item1", "width": "fill_container", "fill": "$bg-page", "cornerRadius": 12, "padding": 14, "gap": 12, "alignItems": "center", "children": [
              {"type": "frame", "id": "Item1Status", "width": 8, "height": 44, "fill": "#EF4444", "cornerRadius": 4},
              {"type": "frame", "id": "Item1Info", "width": "fill_container", "layout": "vertical", "gap": 4, "children": [
                {"type": "text", "id": "Item1Name", "fill": "$text-primary", "content": "Cà phê rang xay", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600"},
                {"type": "frame", "id": "Item1Meta", "gap": 12, "children": [
                  {"type": "text", "id": "Item1Stock", "fill": "#EF4444", "content": "Còn: 2 kg", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"},
                  {"type": "text", "id": "Item1Min", "fill": "$text-tertiary", "content": "Tối thiểu: 10 kg", "fontFamily": "Roboto", "fontSize": 12}
                ]}
              ]},
              {"type": "frame", "id": "Item1OrderBtn", "fill": "$orange-primary", "cornerRadius": 8, "padding": [8, 12], "children": [
                {"type": "text", "id": "Item1OrderText", "fill": "#FFFFFF", "content": "Đặt hàng", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "600"}
              ]}
            ]},
            {"type": "frame", "id": "Item2", "width": "fill_container", "fill": "$bg-page", "cornerRadius": 12, "padding": 14, "gap": 12, "alignItems": "center", "children": [
              {"type": "frame", "id": "Item2Status", "width": 8, "height": 44, "fill": "#EF4444", "cornerRadius": 4},
              {"type": "frame", "id": "Item2Info", "width": "fill_container", "layout": "vertical", "gap": 4, "children": [
                {"type": "text", "id": "Item2Name", "fill": "$text-primary", "content": "Sữa tươi", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600"},
                {"type": "frame", "id": "Item2Meta", "gap": 12, "children": [
                  {"type": "text", "id": "Item2Stock", "fill": "#EF4444", "content": "Còn: 3 lít", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"},
                  {"type": "text", "id": "Item2Min", "fill": "$text-tertiary", "content": "Tối thiểu: 20 lít", "fontFamily": "Roboto", "fontSize": 12}
                ]}
              ]},
              {"type": "frame", "id": "Item2OrderBtn", "fill": "$orange-primary", "cornerRadius": 8, "padding": [8, 12], "children": [
                {"type": "text", "id": "Item2OrderText", "fill": "#FFFFFF", "content": "Đặt hàng", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "600"}
              ]}
            ]},
            {"type": "frame", "id": "Item3", "width": "fill_container", "fill": "$bg-page", "cornerRadius": 12, "padding": 14, "gap": 12, "alignItems": "center", "children": [
              {"type": "frame", "id": "Item3Status", "width": 8, "height": 44, "fill": "#EAB308", "cornerRadius": 4},
              {"type": "frame", "id": "Item3Info", "width": "fill_container", "layout": "vertical", "gap": 4, "children": [
                {"type": "text", "id": "Item3Name", "fill": "$text-primary", "content": "Đường cát trắng", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600"},
                {"type": "frame", "id": "Item3Meta", "gap": 12, "children": [
                  {"type": "text", "id": "Item3Stock", "fill": "#EAB308", "content": "Còn: 5 kg", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"},
                  {"type": "text", "id": "Item3Min", "fill": "$text-tertiary", "content": "Tối thiểu: 10 kg", "fontFamily": "Roboto", "fontSize": 12}
                ]}
              ]},
              {"type": "frame", "id": "Item3OrderBtn", "fill": "$bg-interactive", "cornerRadius": 8, "padding": [8, 12], "children": [
                {"type": "text", "id": "Item3OrderText", "fill": "$text-secondary", "content": "Đặt hàng", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"}
              ]}
            ]},
            {"type": "frame", "id": "Item4", "width": "fill_container", "fill": "$bg-page", "cornerRadius": 12, "padding": 14, "gap": 12, "alignItems": "center", "children": [
              {"type": "frame", "id": "Item4Status", "width": 8, "height": 44, "fill": "#EAB308", "cornerRadius": 4},
              {"type": "frame", "id": "Item4Info", "width": "fill_container", "layout": "vertical", "gap": 4, "children": [
                {"type": "text", "id": "Item4Name", "fill": "$text-primary", "content": "Ly giấy 12oz", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600"},
                {"type": "frame", "id": "Item4Meta", "gap": 12, "children": [
                  {"type": "text", "id": "Item4Stock", "fill": "#EAB308", "content": "Còn: 50 cái", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"},
                  {"type": "text", "id": "Item4Min", "fill": "$text-tertiary", "content": "Tối thiểu: 100 cái", "fontFamily": "Roboto", "fontSize": 12}
                ]}
              ]},
              {"type": "frame", "id": "Item4OrderBtn", "fill": "$bg-interactive", "cornerRadius": 8, "padding": [8, 12], "children": [
                {"type": "text", "id": "Item4OrderText", "fill": "$text-secondary", "content": "Đặt hàng", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"}
              ]}
            ]}
          ]
        },
        {
          "type": "frame",
          "id": "AlertFooter",
          "width": "fill_container",
          "stroke": {"thickness": 1, "fill": "$border-subtle"},
          "gap": 12,
          "padding": [16, 20],
          "children": [
            {"type": "frame", "id": "RemindLaterBtn", "width": "fill_container", "height": 46, "fill": "$bg-interactive", "cornerRadius": 12, "justifyContent": "center", "alignItems": "center", "children": [
              {"type": "text", "id": "RemindLaterText", "fill": "$text-secondary", "content": "Nhắc sau", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "500"}
            ]},
            {"type": "frame", "id": "OrderAllBtn", "width": "fill_container", "height": 46, "fill": {"type": "gradient", "gradientType": "linear", "rotation": 135, "colors": [{"color": "#FF5C00", "position": 0}, {"color": "#FF8A4C", "position": 1}]}, "cornerRadius": 12, "gap": 8, "justifyContent": "center", "alignItems": "center", "children": [
              {"type": "icon_font", "id": "OrderAllIcon", "width": 18, "height": 18, "iconFontName": "shopping-cart", "iconFontFamily": "lucide", "fill": "#FFFFFF"},
              {"type": "text", "id": "OrderAllText", "fill": "#FFFFFF", "content": "Đặt tất cả", "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"}
  }
}
