{
  "version": "2.6",
  "children": [
    {
      "type": "frame",
      "id": "POSSpaTablet",
      "name": "POS Spa Tablet",
      "reusable": true,
      "width": 1024,
      "height": 768,
      "fill": "$bg-page",
      "layout": "vertical",
      "clip": true,
      "children": [
        {
          "type": "frame",
          "id": "SpaTabHeader",
          "width": "fill_container",
          "height": 56,
          "fill": "$bg-elevated",
          "stroke": {"thickness": 1, "fill": "$border-subtle", "sides": ["bottom"]},
          "padding": [0, 16],
          "justifyContent": "space_between",
          "alignItems": "center",
          "children": [
            {"type": "frame", "id": "SpaTabLeft", "gap": 12, "alignItems": "center", "children": [
              {"type": "frame", "id": "SpaTabLogoIcon", "width": 36, "height": 36, "fill": {"type": "gradient", "gradientType": "linear", "enabled": true, "rotation": 135, "size": {"height": 1}, "colors": [{"color": "#FF5C00", "position": 0}, {"color": "#FF8A4C", "position": 1}]}, "cornerRadius": 10, "justifyContent": "center", "alignItems": "center", "children": [{"type": "text", "id": "SpaTabLogoText", "fill": "$text-primary", "content": "G", "fontFamily": "Roboto", "fontSize": 18, "fontWeight": "700"}]},
              {"type": "frame", "id": "SpaTabCustomer", "gap": 8, "alignItems": "center", "children": [
                {"type": "frame", "id": "SpaTabAvatar", "width": 32, "height": 32, "fill": "#EC489920", "cornerRadius": 100, "justifyContent": "center", "alignItems": "center", "children": [{"type": "text", "id": "SpaTabAvatarText", "fill": "#EC4899", "content": "L", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600"}]},
                {"type": "frame", "id": "SpaTabCustInfo", "layout": "vertical", "gap": 0, "children": [{"type": "text", "id": "SpaTabCustName", "fill": "$text-primary", "content": "Nguyễn Thị Lan", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600"}, {"type": "frame", "id": "SpaTabCustVIP", "gap": 4, "alignItems": "center", "children": [{"type": "frame", "id": "SpaTabVIPBadge", "fill": "#F59E0B20", "cornerRadius": 4, "padding": [2, 6], "children": [{"type": "text", "id": "SpaTabVIPText", "fill": "#F59E0B", "content": "VIP Gold", "fontFamily": "Roboto", "fontSize": 10, "fontWeight": "600"}]}, {"type": "text", "id": "SpaTabPoints", "fill": "$text-secondary", "content": "1,250 điểm", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"}]}]}
              ]}
            ]},
            {"type": "frame", "id": "SpaTabSearch", "width": 220, "height": 40, "fill": "$bg-surface", "cornerRadius": 10, "stroke": {"thickness": 1, "fill": "$border-default"}, "padding": [0, 12], "gap": 8, "alignItems": "center", "children": [
              {"type": "icon_font", "id": "SpaTabSearchIcon", "width": 18, "height": 18, "iconFontName": "search", "iconFontFamily": "lucide", "fill": "$text-tertiary"},
              {"type": "text", "id": "SpaTabSearchText", "fill": "$text-tertiary", "content": "Tìm dịch vụ...", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "normal"}
            ]},
            {"type": "frame", "id": "SpaTabRight", "gap": 8, "alignItems": "center", "children": [
              {"type": "frame", "id": "SpaTabStaffBtn", "height": 36, "fill": "#EC4899", "cornerRadius": 8, "padding": [0, 12], "gap": 6, "alignItems": "center", "children": [{"type": "icon_font", "id": "SpaTabStaffIcon", "width": 16, "height": 16, "iconFontName": "user", "iconFontFamily": "lucide", "fill": "$text-primary"}, {"type": "text", "id": "SpaTabStaffText", "fill": "$text-primary", "content": "Chọn NV", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "600"}]},
              {"type": "text", "id": "SpaTabTime", "fill": "$text-primary", "content": "23:48", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600"}
            ]}
          ]
        },
        {
          "type": "frame",
          "id": "SpaTabCategories",
          "width": "fill_container",
          "fill": "$bg-elevated",
          "stroke": {"thickness": 1, "fill": "$border-subtle", "sides": ["bottom"]},
          "padding": [10, 16],
          "gap": 8,
          "children": [
            {"type": "frame", "id": "SpaTabCatAll", "fill": "$orange-primary", "cornerRadius": 100, "padding": [8, 16], "children": [{"type": "text", "id": "SpaTabCatAllText", "fill": "$text-primary", "content": "Tất cả", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "600"}]},
            {"type": "frame", "id": "SpaTabCatSkin", "fill": "$bg-interactive", "cornerRadius": 100, "padding": [8, 16], "children": [{"type": "text", "id": "SpaTabCatSkinText", "fill": "$text-secondary", "content": "Chăm sóc da", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "500"}]},
            {"type": "frame", "id": "SpaTabCatMassage", "fill": "$bg-interactive", "cornerRadius": 100, "padding": [8, 16], "children": [{"type": "text", "id": "SpaTabCatMassageText", "fill": "$text-secondary", "content": "Massage", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "500"}]},
            {"type": "frame", "id": "SpaTabCatNail", "fill": "$bg-interactive", "cornerRadius": 100, "padding": [8, 16], "children": [{"type": "text", "id": "SpaTabCatNailText", "fill": "$text-secondary", "content": "Nail", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "500"}]},
            {"type": "frame", "id": "SpaTabCatHair", "fill": "$bg-interactive", "cornerRadius": 100, "padding": [8, 16], "children": [{"type": "text", "id": "SpaTabCatHairText", "fill": "$text-secondary", "content": "Tóc", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "500"}]}
          ]
        },
        {
          "type": "frame",
          "id": "SpaTabMain",
          "width": "fill_container",
          "height": "fill_container",
          "children": [
            {
              "type": "frame",
              "id": "SpaTabProducts",
              "width": "fill_container",
              "height": "fill_container",
              "padding": 16,
              "layout": "vertical",
              "gap": 12,
              "clip": true,
              "children": [
                {"type": "frame", "id": "SpaTabProdRow1", "width": "fill_container", "gap": 12, "children": [
                  {"type": "frame", "id": "SpaTabProd1", "width": 160, "fill": "$bg-elevated", "cornerRadius": 12, "stroke": {"thickness": 1, "fill": "$border-default"}, "layout": "vertical", "clip": true, "children": [{"type": "frame", "id": "SpaTabProd1Img", "width": "fill_container", "height": 85, "fill": "#EC489930"}, {"type": "frame", "id": "SpaTabProd1Info", "width": "fill_container", "layout": "vertical", "gap": 4, "padding": 10, "children": [{"type": "text", "id": "SpaTabProd1Name", "fill": "$text-primary", "content": "Facial Cơ Bản", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"}, {"type": "frame", "id": "SpaTabProd1Meta", "gap": 6, "alignItems": "center", "children": [{"type": "text", "id": "SpaTabProd1Duration", "fill": "$text-tertiary", "content": "60 phút", "fontFamily": "Roboto", "fontSize": 10, "fontWeight": "normal"}, {"type": "text", "id": "SpaTabProd1Price", "fill": "$orange-primary", "content": "350,000₫", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "600"}]}]}]},
                  {"type": "frame", "id": "SpaTabProd2", "width": 160, "fill": "$bg-elevated", "cornerRadius": 12, "stroke": {"thickness": 2, "fill": "$orange-primary"}, "layout": "vertical", "clip": true, "children": [{"type": "frame", "id": "SpaTabProd2Img", "width": "fill_container", "height": 85, "fill": "#8B5CF630"}, {"type": "frame", "id": "SpaTabProd2Info", "width": "fill_container", "layout": "vertical", "gap": 4, "padding": 10, "children": [{"type": "text", "id": "SpaTabProd2Name", "fill": "$text-primary", "content": "Massage Body", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"}, {"type": "frame", "id": "SpaTabProd2Meta", "gap": 6, "alignItems": "center", "children": [{"type": "text", "id": "SpaTabProd2Duration", "fill": "$text-tertiary", "content": "90 phút", "fontFamily": "Roboto", "fontSize": 10, "fontWeight": "normal"}, {"type": "text", "id": "SpaTabProd2Price", "fill": "$orange-primary", "content": "550,000₫", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "600"}]}]}]},
                  {"type": "frame", "id": "SpaTabProd3", "width": 160, "fill": "$bg-elevated", "cornerRadius": 12, "stroke": {"thickness": 1, "fill": "$border-default"}, "layout": "vertical", "clip": true, "children": [{"type": "frame", "id": "SpaTabProd3Img", "width": "fill_container", "height": 85, "fill": "#F59E0B30"}, {"type": "frame", "id": "SpaTabProd3Info", "width": "fill_container", "layout": "vertical", "gap": 4, "padding": 10, "children": [{"type": "text", "id": "SpaTabProd3Name", "fill": "$text-primary", "content": "Nail Gel", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"}, {"type": "frame", "id": "SpaTabProd3Meta", "gap": 6, "alignItems": "center", "children": [{"type": "text", "id": "SpaTabProd3Duration", "fill": "$text-tertiary", "content": "45 phút", "fontFamily": "Roboto", "fontSize": 10, "fontWeight": "normal"}, {"type": "text", "id": "SpaTabProd3Price", "fill": "$orange-primary", "content": "200,000₫", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "600"}]}]}]}
                ]}
              ]
            },
            {
              "type": "frame",
              "id": "SpaTabCart",
              "width": 300,
              "height": "fill_container",
              "fill": "$bg-elevated",
              "stroke": {"thickness": 1, "fill": "$border-subtle", "sides": ["left"]},
              "layout": "vertical",
              "children": [
                {"type": "frame", "id": "SpaTabCartHeader", "width": "fill_container", "padding": [12, 16], "stroke": {"thickness": 1, "fill": "$border-subtle", "sides": ["bottom"]}, "justifyContent": "space_between", "alignItems": "center", "children": [
                  {"type": "text", "id": "SpaTabCartTitle", "fill": "$text-primary", "content": "Dịch vụ", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600"},
                  {"type": "text", "id": "SpaTabCartItems", "fill": "$text-secondary", "content": "2 dịch vụ", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "normal"}
                ]},
                {"type": "frame", "id": "SpaTabCartItems2", "width": "fill_container", "height": "fill_container", "layout": "vertical", "children": [
                  {"type": "frame", "id": "SpaTabCartItem1", "width": "fill_container", "padding": [10, 16], "stroke": {"thickness": 1, "fill": "$border-subtle", "sides": ["bottom"]}, "justifyContent": "space_between", "alignItems": "center", "children": [{"type": "frame", "id": "SpaTabCartItem1Left", "layout": "vertical", "gap": 2, "children": [{"type": "text", "id": "SpaTabCartItem1Name", "fill": "$text-primary", "content": "Facial Cơ Bản", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"}, {"type": "frame", "id": "SpaTabCartItem1Staff", "gap": 4, "alignItems": "center", "children": [{"type": "icon_font", "id": "SpaTabCartItem1StaffIcon", "width": 12, "height": 12, "iconFontName": "user", "iconFontFamily": "lucide", "fill": "#EC4899"}, {"type": "text", "id": "SpaTabCartItem1StaffName", "fill": "#EC4899", "content": "Hồng Nhung", "fontFamily": "Roboto", "fontSize": 10, "fontWeight": "500"}]}]}, {"type": "text", "id": "SpaTabCartItem1Price", "fill": "$text-primary", "content": "350,000₫", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "600"}]},
                  {"type": "frame", "id": "SpaTabCartItem2", "width": "fill_container", "padding": [10, 16], "justifyContent": "space_between", "alignItems": "center", "children": [{"type": "frame", "id": "SpaTabCartItem2Left", "layout": "vertical", "gap": 2, "children": [{"type": "text", "id": "SpaTabCartItem2Name", "fill": "$text-primary", "content": "Massage Body", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"}, {"type": "frame", "id": "SpaTabCartItem2Staff", "gap": 4, "alignItems": "center", "children": [{"type": "icon_font", "id": "SpaTabCartItem2StaffIcon", "width": 12, "height": 12, "iconFontName": "user", "iconFontFamily": "lucide", "fill": "#EC4899"}, {"type": "text", "id": "SpaTabCartItem2StaffName", "fill": "#EC4899", "content": "Minh Tâm", "fontFamily": "Roboto", "fontSize": 10, "fontWeight": "500"}]}]}, {"type": "text", "id": "SpaTabCartItem2Price", "fill": "$text-primary", "content": "550,000₫", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "600"}]}
                ]},
                {"type": "frame", "id": "SpaTabCartSummary", "width": "fill_container", "fill": "$bg-surface", "layout": "vertical", "padding": 14, "gap": 6, "children": [
                  {"type": "frame", "id": "SpaTabCartSubtotal", "width": "fill_container", "justifyContent": "space_between", "children": [{"type": "text", "id": "SpaTabCartSubtotalLabel", "fill": "$text-secondary", "content": "Tạm tính", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "normal"}, {"type": "text", "id": "SpaTabCartSubtotalValue", "fill": "$text-primary", "content": "900,000₫", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"}]},
                  {"type": "frame", "id": "SpaTabCartPoints", "width": "fill_container", "justifyContent": "space_between", "children": [{"type": "text", "id": "SpaTabCartPointsLabel", "fill": "#22C55E", "content": "Dùng 500 điểm", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"}, {"type": "text", "id": "SpaTabCartPointsValue", "fill": "#22C55E", "content": "-50,000₫", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "600"}]},
                  {"type": "frame", "id": "SpaTabCartTotal", "width": "fill_container", "justifyContent": "space_between", "children": [{"type": "text", "id": "SpaTabCartTotalLabel", "fill": "$text-primary", "content": "Tổng cộng", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600"}, {"type": "text", "id": "SpaTabCartTotalValue", "fill": "$orange-primary", "content": "850,000₫", "fontFamily": "Roboto", "fontSize": 16, "fontWeight": "700"}]},
                  {"type": "frame", "id": "SpaTabCartEarn", "width": "fill_container", "justifyContent": "center", "children": [{"type": "text", "id": "SpaTabCartEarnText", "fill": "#F59E0B", "content": "+85 điểm sau thanh toán", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "500"}]}
                ]},
                {"type": "frame", "id": "SpaTabPayBtn", "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}]}, "gap": 8, "justifyContent": "center", "alignItems": "center", "children": [
                  {"type": "icon_font", "id": "SpaTabPayIcon", "width": 18, "height": 18, "iconFontName": "credit-card", "iconFontFamily": "lucide", "fill": "$text-primary"},
                  {"type": "text", "id": "SpaTabPayText", "fill": "$text-primary", "content": "Thanh toá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"},
    "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"}
  }
}
