{
  "version": "2.6",
  "children": [
    {
      "type": "frame",
      "id": "CustomerGroupScreen",
      "name": "Screen/CustomerGroup",
      "reusable": true,
      "width": 520,
      "height": 680,
      "fill": "$bg-page",
      "cornerRadius": 20,
      "layout": "vertical",
      "children": [
        {
          "type": "frame",
          "id": "GroupHeader",
          "width": "fill_container",
          "fill": "$bg-elevated",
          "padding": [16, 20],
          "gap": 12,
          "alignItems": "center",
          "children": [
            {"type": "frame", "id": "GroupIconBg", "width": 44, "height": 44, "fill": "#8B5CF615", "cornerRadius": 12, "justifyContent": "center", "alignItems": "center", "children": [
              {"type": "icon_font", "id": "GroupIcon", "width": 22, "height": 22, "iconFontName": "users", "iconFontFamily": "lucide", "fill": "#8B5CF6"}
            ]},
            {"type": "frame", "id": "GroupTitleBox", "width": "fill_container", "layout": "vertical", "gap": 2, "children": [
              {"type": "text", "id": "GroupTitle", "fill": "$text-primary", "content": "Nhóm Khách Hàng", "fontFamily": "Roboto", "fontSize": 18, "fontWeight": "700"},
              {"type": "text", "id": "GroupSubtitle", "fill": "$text-tertiary", "content": "Quản lý phân loại khách hàng", "fontFamily": "Roboto", "fontSize": 13}
            ]},
            {"type": "frame", "id": "AddGroupBtn", "width": 36, "height": 36, "fill": "$orange-primary", "cornerRadius": 10, "justifyContent": "center", "alignItems": "center", "children": [
              {"type": "icon_font", "id": "AddGroupIcon", "width": 18, "height": 18, "iconFontName": "plus", "iconFontFamily": "lucide", "fill": "#FFFFFF"}
            ]}
          ]
        },
        {
          "type": "frame",
          "id": "GroupSearch",
          "width": "fill_container",
          "padding": [12, 20],
          "children": [
            {"type": "frame", "id": "SearchBox", "width": "fill_container", "height": 44, "fill": "$bg-elevated", "cornerRadius": 12, "padding": [0, 14], "gap": 10, "alignItems": "center", "children": [
              {"type": "icon_font", "id": "SearchIcon", "width": 18, "height": 18, "iconFontName": "search", "iconFontFamily": "lucide", "fill": "$text-tertiary"},
              {"type": "text", "id": "SearchPlaceholder", "fill": "$text-tertiary", "content": "Tìm nhóm khách hàng...", "fontFamily": "Roboto", "fontSize": 14}
            ]}
          ]
        },
        {
          "type": "frame",
          "id": "GroupList",
          "width": "fill_container",
          "height": "fill_container",
          "layout": "vertical",
          "padding": [0, 20],
          "gap": 10,
          "children": [
            {"type": "frame", "id": "Group1", "width": "fill_container", "fill": "$bg-elevated", "cornerRadius": 14, "padding": 16, "layout": "vertical", "gap": 12, "children": [
              {"type": "frame", "id": "Group1Header", "width": "fill_container", "gap": 12, "alignItems": "center", "children": [
                {"type": "frame", "id": "Group1Badge", "width": 44, "height": 44, "fill": "#EAB30815", "cornerRadius": 12, "justifyContent": "center", "alignItems": "center", "children": [
                  {"type": "icon_font", "id": "Group1Icon", "width": 22, "height": 22, "iconFontName": "crown", "iconFontFamily": "lucide", "fill": "#EAB308"}
                ]},
                {"type": "frame", "id": "Group1Info", "width": "fill_container", "layout": "vertical", "gap": 2, "children": [
                  {"type": "text", "id": "Group1Name", "fill": "#EAB308", "content": "VIP Gold", "fontFamily": "Roboto", "fontSize": 16, "fontWeight": "700"},
                  {"type": "text", "id": "Group1Count", "fill": "$text-tertiary", "content": "48 khách hàng", "fontFamily": "Roboto", "fontSize": 13}
                ]},
                {"type": "frame", "id": "Group1More", "width": 32, "height": 32, "fill": "$bg-interactive", "cornerRadius": 8, "justifyContent": "center", "alignItems": "center", "children": [
                  {"type": "icon_font", "id": "Group1MoreIcon", "width": 16, "height": 16, "iconFontName": "more-vertical", "iconFontFamily": "lucide", "fill": "$text-secondary"}
                ]}
              ]},
              {"type": "frame", "id": "Group1Benefits", "width": "fill_container", "fill": "$bg-page", "cornerRadius": 10, "padding": 12, "gap": 8, "layout": "vertical", "children": [
                {"type": "frame", "id": "Benefit1", "gap": 8, "alignItems": "center", "children": [
                  {"type": "icon_font", "id": "Benefit1Icon", "width": 14, "height": 14, "iconFontName": "check", "iconFontFamily": "lucide", "fill": "#22C55E"},
                  {"type": "text", "id": "Benefit1Text", "fill": "$text-secondary", "content": "Giảm 15% tất cả sản phẩm", "fontFamily": "Roboto", "fontSize": 12}
                ]},
                {"type": "frame", "id": "Benefit2", "gap": 8, "alignItems": "center", "children": [
                  {"type": "icon_font", "id": "Benefit2Icon", "width": 14, "height": 14, "iconFontName": "check", "iconFontFamily": "lucide", "fill": "#22C55E"},
                  {"type": "text", "id": "Benefit2Text", "fill": "$text-secondary", "content": "Tích 2x điểm thưởng", "fontFamily": "Roboto", "fontSize": 12}
                ]}
              ]}
            ]},
            {"type": "frame", "id": "Group2", "width": "fill_container", "fill": "$bg-elevated", "cornerRadius": 14, "padding": 16, "layout": "vertical", "gap": 12, "children": [
              {"type": "frame", "id": "Group2Header", "width": "fill_container", "gap": 12, "alignItems": "center", "children": [
                {"type": "frame", "id": "Group2Badge", "width": 44, "height": 44, "fill": "#A1A1AA15", "cornerRadius": 12, "justifyContent": "center", "alignItems": "center", "children": [
                  {"type": "icon_font", "id": "Group2Icon", "width": 22, "height": 22, "iconFontName": "award", "iconFontFamily": "lucide", "fill": "#A1A1AA"}
                ]},
                {"type": "frame", "id": "Group2Info", "width": "fill_container", "layout": "vertical", "gap": 2, "children": [
                  {"type": "text", "id": "Group2Name", "fill": "#A1A1AA", "content": "VIP Silver", "fontFamily": "Roboto", "fontSize": 16, "fontWeight": "700"},
                  {"type": "text", "id": "Group2Count", "fill": "$text-tertiary", "content": "124 khách hàng", "fontFamily": "Roboto", "fontSize": 13}
                ]},
                {"type": "frame", "id": "Group2More", "width": 32, "height": 32, "fill": "$bg-interactive", "cornerRadius": 8, "justifyContent": "center", "alignItems": "center", "children": [
                  {"type": "icon_font", "id": "Group2MoreIcon", "width": 16, "height": 16, "iconFontName": "more-vertical", "iconFontFamily": "lucide", "fill": "$text-secondary"}
                ]}
              ]},
              {"type": "frame", "id": "Group2Benefits", "width": "fill_container", "fill": "$bg-page", "cornerRadius": 10, "padding": 12, "gap": 8, "layout": "vertical", "children": [
                {"type": "frame", "id": "G2Benefit1", "gap": 8, "alignItems": "center", "children": [
                  {"type": "icon_font", "id": "G2Benefit1Icon", "width": 14, "height": 14, "iconFontName": "check", "iconFontFamily": "lucide", "fill": "#22C55E"},
                  {"type": "text", "id": "G2Benefit1Text", "fill": "$text-secondary", "content": "Giảm 10% tất cả sản phẩm", "fontFamily": "Roboto", "fontSize": 12}
                ]},
                {"type": "frame", "id": "G2Benefit2", "gap": 8, "alignItems": "center", "children": [
                  {"type": "icon_font", "id": "G2Benefit2Icon", "width": 14, "height": 14, "iconFontName": "check", "iconFontFamily": "lucide", "fill": "#22C55E"},
                  {"type": "text", "id": "G2Benefit2Text", "fill": "$text-secondary", "content": "Tích 1.5x điểm thưởng", "fontFamily": "Roboto", "fontSize": 12}
                ]}
              ]}
            ]},
            {"type": "frame", "id": "Group3", "width": "fill_container", "fill": "$bg-elevated", "cornerRadius": 14, "padding": 16, "gap": 12, "alignItems": "center", "children": [
              {"type": "frame", "id": "Group3Badge", "width": 44, "height": 44, "fill": "#3B82F615", "cornerRadius": 12, "justifyContent": "center", "alignItems": "center", "children": [
                {"type": "icon_font", "id": "Group3Icon", "width": 22, "height": 22, "iconFontName": "user", "iconFontFamily": "lucide", "fill": "#3B82F6"}
              ]},
              {"type": "frame", "id": "Group3Info", "width": "fill_container", "layout": "vertical", "gap": 2, "children": [
                {"type": "text", "id": "Group3Name", "fill": "#3B82F6", "content": "Khách thường", "fontFamily": "Roboto", "fontSize": 16, "fontWeight": "700"},
                {"type": "text", "id": "Group3Count", "fill": "$text-tertiary", "content": "892 khách hàng", "fontFamily": "Roboto", "fontSize": 13}
              ]},
              {"type": "frame", "id": "Group3More", "width": 32, "height": 32, "fill": "$bg-interactive", "cornerRadius": 8, "justifyContent": "center", "alignItems": "center", "children": [
                {"type": "icon_font", "id": "Group3MoreIcon", "width": 16, "height": 16, "iconFontName": "more-vertical", "iconFontFamily": "lucide", "fill": "$text-secondary"}
              ]}
            ]}
          ]
        }
      ]
    }
  ],
  "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"}
  }
}
