{
  "version": "2.7",
  "children": [
    {
      "type": "frame",
      "id": "RegisterScreen",
      "x": 0,
      "y": 0,
      "name": "Auth/Register",
      "reusable": true,
      "width": 390,
      "height": 844,
      "fill": "$bg-page",
      "layout": "vertical",
      "gap": 20,
      "padding": [
        48,
        24,
        32,
        24
      ],
      "children": [
        {
          "type": "frame",
          "id": "RegisterHeader",
          "width": "fill_container",
          "layout": "vertical",
          "gap": 8,
          "alignItems": "center",
          "children": [
            {
              "type": "frame",
              "id": "RegisterLogo",
              "width": 64,
              "height": 64,
              "fill": "$brown-primary",
              "cornerRadius": 16,
              "layout": "vertical",
              "justifyContent": "center",
              "alignItems": "center",
              "children": [
                {
                  "type": "text",
                  "id": "RegisterLogoText",
                  "fill": "#FFFFFF",
                  "content": "EK",
                  "fontFamily": "Poppins",
                  "fontSize": 24,
                  "fontWeight": "700"
                }
              ]
            },
            {
              "type": "text",
              "id": "RegisterTitle",
              "fill": "$text-primary",
              "content": "Tạo tài khoản",
              "textAlign": "center",
              "fontFamily": "Poppins",
              "fontSize": 26,
              "fontWeight": "700"
            },
            {
              "type": "text",
              "id": "RegisterSubtitle",
              "fill": "$text-secondary",
              "content": "Đăng ký để nhận ưu đãi đặc biệt",
              "textAlign": "center",
              "fontFamily": "Poppins",
              "fontSize": 14
            }
          ]
        },
        {
          "type": "frame",
          "id": "RegisterForm",
          "width": "fill_container",
          "layout": "vertical",
          "gap": 12,
          "children": [
            {
              "type": "frame",
              "id": "RegisterNameField",
              "width": "fill_container",
              "height": 52,
              "fill": "$bg-elevated",
              "cornerRadius": 12,
              "gap": 12,
              "padding": [
                0,
                16
              ],
              "alignItems": "center",
              "children": [
                {
                  "type": "icon_font",
                  "id": "RegisterNameIcon",
                  "width": 20,
                  "height": 20,
                  "iconFontName": "user",
                  "iconFontFamily": "lucide",
                  "fill": "$text-tertiary"
                },
                {
                  "type": "text",
                  "id": "RegisterNamePlaceholder",
                  "fill": "$text-tertiary",
                  "content": "Họ và tên",
                  "fontFamily": "Poppins",
                  "fontSize": 15
                }
              ]
            },
            {
              "type": "frame",
              "id": "RegisterEmailField",
              "width": "fill_container",
              "height": 52,
              "fill": "$bg-elevated",
              "cornerRadius": 12,
              "gap": 12,
              "padding": [
                0,
                16
              ],
              "alignItems": "center",
              "children": [
                {
                  "type": "icon_font",
                  "id": "RegisterEmailIcon",
                  "width": 20,
                  "height": 20,
                  "iconFontName": "mail",
                  "iconFontFamily": "lucide",
                  "fill": "$text-tertiary"
                },
                {
                  "type": "text",
                  "id": "RegisterEmailPlaceholder",
                  "fill": "$text-tertiary",
                  "content": "Email",
                  "fontFamily": "Poppins",
                  "fontSize": 15
                }
              ]
            },
            {
              "type": "frame",
              "id": "RegisterPhoneField",
              "width": "fill_container",
              "height": 52,
              "fill": "$bg-elevated",
              "cornerRadius": 12,
              "gap": 12,
              "padding": [
                0,
                16
              ],
              "alignItems": "center",
              "children": [
                {
                  "type": "icon_font",
                  "id": "RegisterPhoneIcon",
                  "width": 20,
                  "height": 20,
                  "iconFontName": "phone",
                  "iconFontFamily": "lucide",
                  "fill": "$text-tertiary"
                },
                {
                  "type": "text",
                  "id": "RegisterPhonePlaceholder",
                  "fill": "$text-tertiary",
                  "content": "Số điện thoại",
                  "fontFamily": "Poppins",
                  "fontSize": 15
                }
              ]
            },
            {
              "type": "frame",
              "id": "RegisterPasswordField",
              "width": "fill_container",
              "height": 52,
              "fill": "$bg-elevated",
              "cornerRadius": 12,
              "gap": 8,
              "padding": [
                0,
                16
              ],
              "justifyContent": "space_between",
              "alignItems": "center",
              "children": [
                {
                  "type": "icon_font",
                  "id": "RegisterPasswordIcon",
                  "width": 20,
                  "height": 20,
                  "iconFontName": "lock",
                  "iconFontFamily": "lucide",
                  "fill": "$text-tertiary"
                },
                {
                  "type": "text",
                  "id": "RegisterPasswordPlaceholder",
                  "fill": "$text-tertiary",
                  "content": "Mật khẩu",
                  "fontFamily": "Poppins",
                  "fontSize": 15
                },
                {
                  "type": "icon_font",
                  "id": "RegisterPasswordEye",
                  "width": 20,
                  "height": 20,
                  "iconFontName": "eye-off",
                  "iconFontFamily": "lucide",
                  "fill": "$text-tertiary"
                }
              ]
            },
            {
              "type": "frame",
              "id": "RegisterConfirmField",
              "width": "fill_container",
              "height": 52,
              "fill": "$bg-elevated",
              "cornerRadius": 12,
              "gap": 8,
              "padding": [
                0,
                16
              ],
              "justifyContent": "space_between",
              "alignItems": "center",
              "children": [
                {
                  "type": "icon_font",
                  "id": "RegisterConfirmIcon",
                  "width": 20,
                  "height": 20,
                  "iconFontName": "lock",
                  "iconFontFamily": "lucide",
                  "fill": "$text-tertiary"
                },
                {
                  "type": "text",
                  "id": "RegisterConfirmPlaceholder",
                  "fill": "$text-tertiary",
                  "content": "Xác nhận mật khẩu",
                  "fontFamily": "Poppins",
                  "fontSize": 15
                },
                {
                  "type": "icon_font",
                  "id": "RegisterConfirmEye",
                  "width": 20,
                  "height": 20,
                  "iconFontName": "eye-off",
                  "iconFontFamily": "lucide",
                  "fill": "$text-tertiary"
                }
              ]
            }
          ]
        },
        {
          "type": "frame",
          "id": "RegisterTermsRow",
          "width": "fill_container",
          "gap": 10,
          "alignItems": "center",
          "children": [
            {
              "type": "frame",
              "id": "RegisterCheckbox",
              "width": 22,
              "height": 22,
              "fill": "$bg-elevated",
              "cornerRadius": 4,
              "stroke": {
                "thickness": 1.5,
                "fill": "$text-tertiary"
              }
            },
            {
              "type": "text",
              "id": "RegisterTermsText",
              "fill": "$text-secondary",
              "content": "Tôi đồng ý với Điều khoản sử dụng",
              "fontFamily": "Poppins",
              "fontSize": 13
            }
          ]
        },
        {
          "type": "frame",
          "id": "RegisterButton",
          "width": "fill_container",
          "height": 52,
          "fill": "$orange-primary",
          "cornerRadius": 30,
          "layout": "vertical",
          "justifyContent": "center",
          "alignItems": "center",
          "children": [
            {
              "type": "text",
              "id": "RegisterButtonText",
              "fill": "#FFFFFF",
              "content": "Đăng ký",
              "fontFamily": "Poppins",
              "fontSize": 16,
              "fontWeight": "600"
            }
          ]
        },
        {
          "type": "frame",
          "id": "RegisterSpacer",
          "width": 1,
          "height": "fill_container"
        },
        {
          "type": "frame",
          "id": "RegisterFooter",
          "gap": 4,
          "justifyContent": "center",
          "children": [
            {
              "type": "text",
              "id": "RegisterFooterText",
              "fill": "$text-secondary",
              "content": "Đã có tài khoản?",
              "fontFamily": "Poppins",
              "fontSize": 14
            },
            {
              "type": "text",
              "id": "RegisterFooterLink",
              "fill": "$orange-primary",
              "content": "Đăng nhập",
              "fontFamily": "Poppins",
              "fontSize": 14,
              "fontWeight": "600"
            }
          ]
        }
      ]
    }
  ],
  "variables": {
    "bg-page": {
      "type": "color",
      "value": "#FAF8F4"
    },
    "bg-surface": {
      "type": "color",
      "value": "#FFFFFF"
    },
    "bg-elevated": {
      "type": "color",
      "value": "#FFF8F0"
    },
    "bg-interactive": {
      "type": "color",
      "value": "#F5EDE4"
    },
    "brown-primary": {
      "type": "color",
      "value": "#6B4423"
    },
    "brown-dark": {
      "type": "color",
      "value": "#4A2E15"
    },
    "orange-primary": {
      "type": "color",
      "value": "#FF6B35"
    },
    "orange-light": {
      "type": "color",
      "value": "#FF8A5C"
    },
    "text-primary": {
      "type": "color",
      "value": "#2C2C2C"
    },
    "text-secondary": {
      "type": "color",
      "value": "#6B6B6B"
    },
    "text-tertiary": {
      "type": "color",
      "value": "#9B9B9B"
    },
    "border-default": {
      "type": "color",
      "value": "#E5DDD4"
    },
    "border-subtle": {
      "type": "color",
      "value": "#F0EAE2"
    },
    "success": {
      "type": "color",
      "value": "#22C55E"
    },
    "error": {
      "type": "color",
      "value": "#EF4444"
    }
  }
}