{
  "version": "2.6",
  "children": [
    {
      "type": "frame",
      "id": "SpaCustomerLookup",
      "name": "Spa/Customer Lookup",
      "reusable": true,
      "width": 480,
      "height": 640,
      "fill": "$bg-page",
      "layout": "vertical",
      "clip": true,
      "children": [
        {
          "type": "frame",
          "id": "LookupHeader",
          "width": "fill_container",
          "padding": [20, 24],
          "fill": "$bg-elevated",
          "stroke": {"thickness": 1, "fill": "$border-subtle", "sides": ["bottom"]},
          "justifyContent": "space_between",
          "alignItems": "center",
          "children": [
            {"type": "frame", "id": "LookupLeft", "gap": 12, "alignItems": "center", "children": [
              {"type": "frame", "id": "LookupCloseBtn", "width": 40, "height": 40, "fill": "$bg-interactive", "cornerRadius": 10, "justifyContent": "center", "alignItems": "center", "children": [
                {"type": "icon_font", "id": "LookupCloseIcon", "width": 20, "height": 20, "iconFontName": "x", "iconFontFamily": "lucide", "fill": "$text-secondary"}
              ]},
              {"type": "text", "id": "LookupTitle", "fill": "$text-primary", "content": "Tìm khách hàng", "fontFamily": "Roboto", "fontSize": 18, "fontWeight": "700"}
            ]},
            {"type": "frame", "id": "LookupNewBtn", "fill": "$orange-primary", "cornerRadius": 10, "padding": [10, 16], "gap": 8, "alignItems": "center", "children": [
              {"type": "icon_font", "id": "LookupNewIcon", "width": 18, "height": 18, "iconFontName": "user-plus", "iconFontFamily": "lucide", "fill": "$text-primary"},
              {"type": "text", "id": "LookupNewText", "fill": "$text-primary", "content": "Tạo mới", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600"}
            ]}
          ]
        },
        {
          "type": "frame",
          "id": "LookupSearch",
          "width": "fill_container",
          "padding": [16, 24],
          "fill": "$bg-elevated",
          "children": [
            {"type": "frame", "id": "LookupSearchBox", "width": "fill_container", "height": 52, "fill": "$bg-surface", "cornerRadius": 14, "stroke": {"thickness": 1, "fill": "$border-default"}, "padding": [0, 16], "gap": 12, "alignItems": "center", "children": [
              {"type": "icon_font", "id": "LookupSearchIcon", "width": 22, "height": 22, "iconFontName": "search", "iconFontFamily": "lucide", "fill": "$text-tertiary"},
              {"type": "text", "id": "LookupSearchText", "fill": "$text-primary", "content": "Nguyễn", "fontFamily": "Roboto", "fontSize": 15, "fontWeight": "normal"},
              {"type": "frame", "id": "LookupSearchClear", "width": 28, "height": 28, "fill": "$bg-interactive", "cornerRadius": 100, "justifyContent": "center", "alignItems": "center", "children": [
                {"type": "icon_font", "id": "LookupSearchClearIcon", "width": 14, "height": 14, "iconFontName": "x", "iconFontFamily": "lucide", "fill": "$text-tertiary"}
              ]}
            ]}
          ]
        },
        {
          "type": "frame",
          "id": "LookupResults",
          "width": "fill_container",
          "height": "fill_container",
          "padding": 24,
          "layout": "vertical",
          "gap": 12,
          "clip": true,
          "children": [
            {"type": "text", "id": "ResultsCount", "fill": "$text-tertiary", "content": "3 kết quả", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "normal"},
            {
              "type": "frame",
              "id": "Customer1",
              "width": "fill_container",
              "fill": "$bg-elevated",
              "cornerRadius": 16,
              "stroke": {"thickness": 2, "fill": "$orange-primary"},
              "padding": 16,
              "gap": 16,
              "alignItems": "center",
              "children": [
                {"type": "frame", "id": "Customer1Avatar", "width": 56, "height": 56, "fill": "#EC489920", "cornerRadius": 100, "justifyContent": "center", "alignItems": "center", "children": [{"type": "text", "id": "Customer1AvatarText", "fill": "#EC4899", "content": "NL", "fontFamily": "Roboto", "fontSize": 18, "fontWeight": "600"}]},
                {"type": "frame", "id": "Customer1Info", "width": "fill_container", "layout": "vertical", "gap": 6, "children": [
                  {"type": "frame", "id": "Customer1NameRow", "gap": 10, "alignItems": "center", "children": [
                    {"type": "text", "id": "Customer1Name", "fill": "$text-primary", "content": "Nguyễn Thị Lan", "fontFamily": "Roboto", "fontSize": 16, "fontWeight": "600"},
                    {"type": "frame", "id": "Customer1VIP", "fill": "#F59E0B20", "cornerRadius": 4, "padding": [3, 8], "children": [{"type": "text", "id": "Customer1VIPText", "fill": "#F59E0B", "content": "VIP Gold", "fontFamily": "Roboto", "fontSize": 10, "fontWeight": "600"}]}
                  ]},
                  {"type": "text", "id": "Customer1Phone", "fill": "$text-secondary", "content": "0901 234 567", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "normal"},
                  {"type": "frame", "id": "Customer1Stats", "gap": 16, "children": [
                    {"type": "text", "id": "Customer1Points", "fill": "#22C55E", "content": "1,250 điểm", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"},
                    {"type": "text", "id": "Customer1Visits", "fill": "$text-tertiary", "content": "28 lượt", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "normal"}
                  ]}
                ]},
                {"type": "icon_font", "id": "Customer1Check", "width": 24, "height": 24, "iconFontName": "check-circle", "iconFontFamily": "lucide", "fill": "$orange-primary"}
              ]
            },
            {
              "type": "frame",
              "id": "Customer2",
              "width": "fill_container",
              "fill": "$bg-elevated",
              "cornerRadius": 16,
              "stroke": {"thickness": 1, "fill": "$border-default"},
              "padding": 16,
              "gap": 16,
              "alignItems": "center",
              "children": [
                {"type": "frame", "id": "Customer2Avatar", "width": 56, "height": 56, "fill": "#3B82F620", "cornerRadius": 100, "justifyContent": "center", "alignItems": "center", "children": [{"type": "text", "id": "Customer2AvatarText", "fill": "#3B82F6", "content": "NH", "fontFamily": "Roboto", "fontSize": 18, "fontWeight": "600"}]},
                {"type": "frame", "id": "Customer2Info", "width": "fill_container", "layout": "vertical", "gap": 6, "children": [
                  {"type": "text", "id": "Customer2Name", "fill": "$text-primary", "content": "Nguyễn Hoàng Anh", "fontFamily": "Roboto", "fontSize": 16, "fontWeight": "600"},
                  {"type": "text", "id": "Customer2Phone", "fill": "$text-secondary", "content": "0912 345 678", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "normal"},
                  {"type": "frame", "id": "Customer2Stats", "gap": 16, "children": [
                    {"type": "text", "id": "Customer2Points", "fill": "#22C55E", "content": "320 điểm", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"},
                    {"type": "text", "id": "Customer2Visits", "fill": "$text-tertiary", "content": "5 lượt", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "normal"}
                  ]}
                ]},
                {"type": "icon_font", "id": "Customer2Arrow", "width": 20, "height": 20, "iconFontName": "chevron-right", "iconFontFamily": "lucide", "fill": "$text-tertiary"}
              ]
            },
            {
              "type": "frame",
              "id": "Customer3",
              "width": "fill_container",
              "fill": "$bg-elevated",
              "cornerRadius": 16,
              "stroke": {"thickness": 1, "fill": "$border-default"},
              "padding": 16,
              "gap": 16,
              "alignItems": "center",
              "children": [
                {"type": "frame", "id": "Customer3Avatar", "width": 56, "height": 56, "fill": "#22C55E20", "cornerRadius": 100, "justifyContent": "center", "alignItems": "center", "children": [{"type": "text", "id": "Customer3AvatarText", "fill": "#22C55E", "content": "NM", "fontFamily": "Roboto", "fontSize": 18, "fontWeight": "600"}]},
                {"type": "frame", "id": "Customer3Info", "width": "fill_container", "layout": "vertical", "gap": 6, "children": [
                  {"type": "text", "id": "Customer3Name", "fill": "$text-primary", "content": "Nguyễn Minh Châu", "fontFamily": "Roboto", "fontSize": 16, "fontWeight": "600"},
                  {"type": "text", "id": "Customer3Phone", "fill": "$text-secondary", "content": "0987 654 321", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "normal"},
                  {"type": "frame", "id": "Customer3Stats", "gap": 16, "children": [
                    {"type": "text", "id": "Customer3Points", "fill": "#22C55E", "content": "85 điểm", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"},
                    {"type": "text", "id": "Customer3Visits", "fill": "$text-tertiary", "content": "2 lượt", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "normal"}
                  ]}
                ]},
                {"type": "icon_font", "id": "Customer3Arrow", "width": 20, "height": 20, "iconFontName": "chevron-right", "iconFontFamily": "lucide", "fill": "$text-tertiary"}
              ]
            }
          ]
        },
        {
          "type": "frame",
          "id": "LookupFooter",
          "width": "fill_container",
          "fill": "$bg-elevated",
          "padding": [16, 24],
          "stroke": {"thickness": 1, "fill": "$border-subtle", "sides": ["top"]},
          "gap": 12,
          "children": [
            {"type": "frame", "id": "LookupSkipBtn", "width": "fill_container", "height": 48, "fill": "$bg-interactive", "cornerRadius": 12, "justifyContent": "center", "alignItems": "center", "children": [
              {"type": "text", "id": "LookupSkipText", "fill": "$text-secondary", "content": "Bỏ qua", "fontFamily": "Roboto", "fontSize": 15, "fontWeight": "600"}
            ]},
            {"type": "frame", "id": "LookupSelectBtn", "width": "fill_container", "height": 48, "fill": {"type": "gradient", "gradientType": "linear", "enabled": true, "rotation": 135, "size": {"height": 1}, "colors": [{"color": "#FF5C00", "position": 0}, {"color": "#FF8A4C", "position": 1}]}, "cornerRadius": 12, "justifyContent": "center", "alignItems": "center", "children": [
              {"type": "text", "id": "LookupSelectText", "fill": "$text-primary", "content": "Chọn khách hàng", "fontFamily": "Roboto", "fontSize": 15, "fontWeight": "600"}
            ]}
          ]
        }
      ]
    }
  ],
  "variables": {
    "bg-elevated": {"type": "color", "value": "#1A1A1D"},
    "bg-interactive": {"type": "color", "value": "#2A2A2E"},
    "bg-page": {"type": "color", "value": "#0A0A0B"},
    "bg-surface": {"type": "color", "value": "#111113"},
    "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"}
  }
}
