{
  "version": "2.7",
  "children": [
    {
      "type": "frame",
      "id": "CustomerAddDialog",
      "x": 0,
      "y": 0,
      "name": "Dialog/CustomerAdd",
      "reusable": true,
      "clip": true,
      "width": 440,
      "height": 680,
      "fill": "$bg-elevated",
      "cornerRadius": 24,
      "layout": "vertical",
      "children": [
        {
          "type": "frame",
          "id": "AddHeader",
          "width": "fill_container",
          "stroke": {
            "thickness": 1,
            "fill": "$border-subtle"
          },
          "padding": [
            20,
            24
          ],
          "justifyContent": "space_between",
          "alignItems": "center",
          "children": [
            {
              "type": "frame",
              "id": "AddHeaderLeft",
              "gap": 12,
              "alignItems": "center",
              "children": [
                {
                  "type": "frame",
                  "id": "AddIconBg",
                  "width": 44,
                  "height": 44,
                  "fill": "#22C55E20",
                  "cornerRadius": 12,
                  "justifyContent": "center",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "icon_font",
                      "id": "AddIcon",
                      "width": 22,
                      "height": 22,
                      "iconFontName": "user-plus",
                      "iconFontFamily": "lucide",
                      "fill": "#22C55E"
                    }
                  ]
                },
                {
                  "type": "text",
                  "id": "AddTitle",
                  "fill": "$text-primary",
                  "content": "Khách hàng mới",
                  "fontFamily": "Roboto",
                  "fontSize": 18,
                  "fontWeight": "700"
                }
              ]
            },
            {
              "type": "frame",
              "id": "AddCloseBtn",
              "width": 36,
              "height": 36,
              "fill": "$bg-interactive",
              "cornerRadius": 18,
              "justifyContent": "center",
              "alignItems": "center",
              "children": [
                {
                  "type": "icon_font",
                  "id": "AddCloseIcon",
                  "width": 18,
                  "height": 18,
                  "iconFontName": "x",
                  "iconFontFamily": "lucide",
                  "fill": "$text-secondary"
                }
              ]
            }
          ]
        },
        {
          "type": "frame",
          "id": "AddContent",
          "width": "fill_container",
          "height": "fill_container",
          "layout": "vertical",
          "gap": 20,
          "padding": 24,
          "children": [
            {
              "type": "frame",
              "id": "AddField1",
              "width": "fill_container",
              "layout": "vertical",
              "gap": 8,
              "children": [
                {
                  "type": "text",
                  "id": "AddLabel1",
                  "fill": "$text-secondary",
                  "content": "Số điện thoại *",
                  "fontFamily": "Roboto",
                  "fontSize": 14,
                  "fontWeight": "500"
                },
                {
                  "type": "frame",
                  "id": "AddInput1",
                  "width": "fill_container",
                  "height": 52,
                  "fill": "$bg-page",
                  "cornerRadius": 12,
                  "stroke": {
                    "thickness": 2,
                    "fill": "$orange-primary"
                  },
                  "padding": [
                    0,
                    16
                  ],
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "text",
                      "id": "AddInput1Value",
                      "fill": "$text-primary",
                      "content": "0901234567",
                      "fontFamily": "Roboto",
                      "fontSize": 16,
                      "fontWeight": "500"
                    }
                  ]
                }
              ]
            },
            {
              "type": "frame",
              "id": "AddField2",
              "width": "fill_container",
              "layout": "vertical",
              "gap": 8,
              "children": [
                {
                  "type": "text",
                  "id": "AddLabel2",
                  "fill": "$text-secondary",
                  "content": "Họ và tên *",
                  "fontFamily": "Roboto",
                  "fontSize": 14,
                  "fontWeight": "500"
                },
                {
                  "type": "frame",
                  "id": "AddInput2",
                  "width": "fill_container",
                  "height": 52,
                  "fill": "$bg-page",
                  "cornerRadius": 12,
                  "stroke": {
                    "thickness": 1,
                    "fill": "$border-default"
                  },
                  "padding": [
                    0,
                    16
                  ],
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "text",
                      "id": "AddInput2Placeholder",
                      "fill": "$text-tertiary",
                      "content": "Nhập họ và tên",
                      "fontFamily": "Roboto",
                      "fontSize": 15,
                      "fontWeight": "normal"
                    }
                  ]
                }
              ]
            },
            {
              "type": "frame",
              "id": "AddField3",
              "width": "fill_container",
              "layout": "vertical",
              "gap": 8,
              "children": [
                {
                  "type": "text",
                  "id": "AddLabel3",
                  "fill": "$text-secondary",
                  "content": "Email",
                  "fontFamily": "Roboto",
                  "fontSize": 14,
                  "fontWeight": "500"
                },
                {
                  "type": "frame",
                  "id": "AddInput3",
                  "width": "fill_container",
                  "height": 52,
                  "fill": "$bg-page",
                  "cornerRadius": 12,
                  "stroke": {
                    "thickness": 1,
                    "fill": "$border-default"
                  },
                  "padding": [
                    0,
                    16
                  ],
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "text",
                      "id": "AddInput3Placeholder",
                      "fill": "$text-tertiary",
                      "content": "Nhập email",
                      "fontFamily": "Roboto",
                      "fontSize": 15,
                      "fontWeight": "normal"
                    }
                  ]
                }
              ]
            },
            {
              "type": "frame",
              "id": "AddField4",
              "width": "fill_container",
              "layout": "vertical",
              "gap": 8,
              "children": [
                {
                  "type": "text",
                  "id": "AddLabel4",
                  "fill": "$text-secondary",
                  "content": "Ngày sinh",
                  "fontFamily": "Roboto",
                  "fontSize": 14,
                  "fontWeight": "500"
                },
                {
                  "type": "frame",
                  "id": "AddInput4",
                  "width": "fill_container",
                  "height": 52,
                  "fill": "$bg-page",
                  "cornerRadius": 12,
                  "stroke": {
                    "thickness": 1,
                    "fill": "$border-default"
                  },
                  "padding": [
                    0,
                    16
                  ],
                  "justifyContent": "space_between",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "text",
                      "id": "AddInput4Placeholder",
                      "fill": "$text-tertiary",
                      "content": "Chọn ngày",
                      "fontFamily": "Roboto",
                      "fontSize": 15,
                      "fontWeight": "normal"
                    },
                    {
                      "type": "icon_font",
                      "id": "AddInput4Icon",
                      "width": 20,
                      "height": 20,
                      "iconFontName": "calendar",
                      "iconFontFamily": "lucide",
                      "fill": "$text-tertiary"
                    }
                  ]
                }
              ]
            },
            {
              "type": "frame",
              "id": "AddField5",
              "width": "fill_container",
              "layout": "vertical",
              "gap": 8,
              "children": [
                {
                  "type": "text",
                  "id": "AddLabel5",
                  "fill": "$text-secondary",
                  "content": "Ghi chú",
                  "fontFamily": "Roboto",
                  "fontSize": 14,
                  "fontWeight": "500"
                },
                {
                  "type": "frame",
                  "id": "AddInput5",
                  "width": "fill_container",
                  "height": 80,
                  "fill": "$bg-page",
                  "cornerRadius": 12,
                  "stroke": {
                    "thickness": 1,
                    "fill": "$border-default"
                  },
                  "padding": 16,
                  "children": [
                    {
                      "type": "text",
                      "id": "AddInput5Placeholder",
                      "fill": "$text-tertiary",
                      "content": "Thêm ghi chú về khách hàng...",
                      "fontFamily": "Roboto",
                      "fontSize": 15,
                      "fontWeight": "normal"
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "type": "frame",
          "id": "AddFooter",
          "width": "fill_container",
          "stroke": {
            "thickness": 1,
            "fill": "$border-subtle"
          },
          "gap": 12,
          "padding": [
            16,
            24
          ],
          "children": [
            {
              "type": "frame",
              "id": "AddCancelBtn",
              "width": "fill_container",
              "height": 48,
              "fill": "$bg-interactive",
              "cornerRadius": 12,
              "justifyContent": "center",
              "alignItems": "center",
              "children": [
                {
                  "type": "text",
                  "id": "AddCancelText",
                  "fill": "$text-secondary",
                  "content": "Hủy",
                  "fontFamily": "Roboto",
                  "fontSize": 15,
                  "fontWeight": "500"
                }
              ]
            },
            {
              "type": "frame",
              "id": "AddSaveBtn",
              "width": "fill_container",
              "height": 52,
              "fill": {
                "type": "gradient",
                "gradientType": "linear",
                "enabled": true,
                "rotation": 135,
                "size": {
                  "height": 1
                },
                "colors": [
                  {
                    "color": "#22C55E",
                    "position": 0
                  },
                  {
                    "color": "#16A34A",
                    "position": 1
                  }
                ]
              },
              "cornerRadius": 12,
              "gap": 8,
              "justifyContent": "center",
              "alignItems": "center",
              "children": [
                {
                  "type": "icon_font",
                  "id": "AddSaveIcon",
                  "width": 20,
                  "height": 20,
                  "iconFontName": "check",
                  "iconFontFamily": "lucide",
                  "fill": "$text-primary"
                },
                {
                  "type": "text",
                  "id": "AddSaveText",
                  "fill": "$text-primary",
                  "content": "Lưu 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"
    },
    "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"
    }
  }
}