{
  "version": "2.6",
  "children": [
    {
      "type": "frame",
      "id": "CustomerLoginTablet",
      "name": "Customer Login - Tablet",
      "width": 1024,
      "height": 768,
      "fill": "$bg-page",
      "justifyContent": "center",
      "alignItems": "center",
      "children": [
        {
          "type": "frame",
          "name": "loginCard",
          "width": 480,
          "fill": "$bg-surface",
          "cornerRadius": 24,
          "stroke": { "thickness": 1, "fill": "$border-subtle" },
          "layout": "vertical",
          "gap": 28,
          "padding": 40,
          "children": [
            {
              "type": "frame",
              "name": "cardHeader",
              "width": "fill_container",
              "layout": "vertical",
              "gap": 16,
              "alignItems": "center",
              "children": [
                {
                  "type": "frame",
                  "name": "logoContainer",
                  "width": 56,
                  "height": 56,
                  "fill": {
                    "type": "gradient",
                    "gradientType": "linear",
                    "rotation": 135,
                    "colors": [
                      { "color": "#FF5C00", "position": 0 },
                      { "color": "#FF8A4C", "position": 1 }
                    ]
                  },
                  "cornerRadius": 14,
                  "justifyContent": "center",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "text",
                      "fill": "$text-primary",
                      "content": "G",
                      "fontFamily": "Roboto",
                      "fontSize": 28,
                      "fontWeight": "700"
                    }
                  ]
                },
                {
                  "type": "text",
                  "fill": "$text-primary",
                  "content": "Đăng nhập GoodGo",
                  "fontFamily": "Roboto",
                  "fontSize": 26,
                  "fontWeight": "600"
                },
                {
                  "type": "text",
                  "fill": "$text-tertiary",
                  "content": "Đặt hàng dễ dàng, tích điểm nhanh chóng",
                  "fontFamily": "Roboto",
                  "fontSize": 14
                }
              ]
            },
            {
              "type": "frame",
              "name": "formSection",
              "width": "fill_container",
              "layout": "vertical",
              "gap": 20,
              "children": [
                {
                  "type": "frame",
                  "name": "phoneField",
                  "width": "fill_container",
                  "layout": "vertical",
                  "gap": 8,
                  "children": [
                    {
                      "type": "text",
                      "fill": "$text-secondary",
                      "content": "Số điện thoại",
                      "fontFamily": "Roboto",
                      "fontSize": 14,
                      "fontWeight": "500"
                    },
                    {
                      "type": "frame",
                      "width": "fill_container",
                      "height": 50,
                      "fill": "$bg-elevated",
                      "cornerRadius": 10,
                      "stroke": { "thickness": 1, "fill": "$border-default" },
                      "gap": 0,
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "frame",
                          "height": "fill_container",
                          "fill": "$bg-interactive",
                          "cornerRadius": [10, 0, 0, 10],
                          "padding": [0, 14],
                          "gap": 6,
                          "alignItems": "center",
                          "children": [
                            {
                              "type": "text",
                              "content": "🇻🇳",
                              "fontSize": 16
                            },
                            {
                              "type": "text",
                              "fill": "$text-secondary",
                              "content": "+84",
                              "fontFamily": "Roboto",
                              "fontSize": 14,
                              "fontWeight": "500"
                            }
                          ]
                        },
                        {
                          "type": "frame",
                          "width": "fill_container",
                          "height": "fill_container",
                          "padding": [0, 14],
                          "alignItems": "center",
                          "children": [
                            {
                              "type": "text",
                              "fill": "$text-muted",
                              "content": "Nhập số điện thoại",
                              "fontFamily": "Roboto",
                              "fontSize": 14
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "type": "frame",
              "name": "submitButton",
              "width": "fill_container",
              "height": 50,
              "fill": {
                "type": "gradient",
                "gradientType": "linear",
                "rotation": 135,
                "colors": [
                  { "color": "#FF5C00", "position": 0 },
                  { "color": "#FF8A4C", "position": 1 }
                ]
              },
              "cornerRadius": 10,
              "justifyContent": "center",
              "alignItems": "center",
              "children": [
                {
                  "type": "text",
                  "fill": "$text-primary",
                  "content": "Gửi mã OTP",
                  "fontFamily": "Roboto",
                  "fontSize": 15,
                  "fontWeight": "600"
                }
              ]
            },
            {
              "type": "frame",
              "name": "socialDivider",
              "width": "fill_container",
              "gap": 16,
              "alignItems": "center",
              "children": [
                {
                  "type": "frame",
                  "width": "fill_container",
                  "height": 1,
                  "fill": "$border-default"
                },
                {
                  "type": "text",
                  "fill": "$text-muted",
                  "content": "hoặc tiếp tục với",
                  "fontFamily": "Roboto",
                  "fontSize": 12
                },
                {
                  "type": "frame",
                  "width": "fill_container",
                  "height": 1,
                  "fill": "$border-default"
                }
              ]
            },
            {
              "type": "frame",
              "name": "socialRow",
              "width": "fill_container",
              "justifyContent": "center",
              "gap": 16,
              "children": [
                {
                  "type": "frame",
                  "width": 54,
                  "height": 54,
                  "fill": "#FFFFFF",
                  "cornerRadius": 14,
                  "justifyContent": "center",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "text",
                      "fill": "#4285F4",
                      "content": "G",
                      "fontFamily": "Roboto",
                      "fontSize": 24,
                      "fontWeight": "700"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "width": 54,
                  "height": 54,
                  "fill": "#000000",
                  "cornerRadius": 14,
                  "stroke": { "thickness": 1, "fill": "$border-default" },
                  "justifyContent": "center",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "icon_font",
                      "width": 26,
                      "height": 26,
                      "iconFontName": "apple",
                      "iconFontFamily": "lucide",
                      "fill": "#FFFFFF"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "width": 54,
                  "height": 54,
                  "fill": "#0068FF",
                  "cornerRadius": 14,
                  "justifyContent": "center",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "text",
                      "fill": "#FFFFFF",
                      "content": "Z",
                      "fontFamily": "Roboto",
                      "fontSize": 24,
                      "fontWeight": "700"
                    }
                  ]
                }
              ]
            },
            {
              "type": "frame",
              "name": "footer",
              "width": "fill_container",
              "layout": "vertical",
              "gap": 12,
              "alignItems": "center",
              "children": [
                {
                  "type": "frame",
                  "gap": 4,
                  "children": [
                    {
                      "type": "text",
                      "fill": "$text-tertiary",
                      "content": "Lần đầu sử dụng?",
                      "fontFamily": "Roboto",
                      "fontSize": 14
                    },
                    {
                      "type": "text",
                      "fill": "$orange-primary",
                      "content": "Tạo tài khoản",
                      "fontFamily": "Roboto",
                      "fontSize": 14,
                      "fontWeight": "500"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ],
  "variables": {
    "bg-page": { "type": "color", "value": "#0A0A0B" },
    "bg-surface": { "type": "color", "value": "#111113" },
    "bg-elevated": { "type": "color", "value": "#1A1A1D" },
    "bg-interactive": { "type": "color", "value": "#2A2A2E" },
    "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" },
    "text-muted": { "type": "color", "value": "#6B6B70" }
  }
}
