{
  "version": "2.6",
  "children": [
    {
      "type": "frame",
      "name": "Auth Buttons Showcase",
      "width": 1440,
      "fill": "$bg-page",
      "layout": "vertical",
      "gap": 80,
      "padding": [80, 120],
      "children": [
        {
          "type": "frame",
          "id": "AuthButtonSection",
          "name": "Auth Buttons Section",
          "width": "fill_container",
          "layout": "vertical",
          "gap": 48,
          "children": [
            {
              "type": "frame",
              "name": "sectionHeader",
              "layout": "vertical",
              "gap": 16,
              "alignItems": "center",
              "children": [
                {
                  "type": "frame",
                  "name": "shBadge",
                  "fill": "#FF5C0018",
                  "cornerRadius": 100,
                  "padding": [6, 14],
                  "children": [
                    {
                      "type": "text",
                      "name": "badgeText",
                      "fill": "$orange-primary",
                      "content": "AUTH BUTTONS",
                      "fontFamily": "Roboto",
                      "fontSize": 11,
                      "fontWeight": "500",
                      "letterSpacing": 2
                    }
                  ]
                },
                {
                  "type": "text",
                  "name": "shTitle",
                  "fill": "$text-primary",
                  "content": "Social Login Buttons",
                  "textAlign": "center",
                  "fontFamily": "Roboto",
                  "fontSize": 42,
                  "fontWeight": "normal",
                  "letterSpacing": -1
                },
                {
                  "type": "text",
                  "name": "shDesc",
                  "fill": "$text-tertiary",
                  "textGrowth": "fixed-width",
                  "width": 600,
                  "content": "Social authentication buttons for customer login and registration.",
                  "lineHeight": 1.6,
                  "textAlign": "center",
                  "fontFamily": "Roboto",
                  "fontSize": 16
                }
              ]
            },
            {
              "type": "frame",
              "name": "buttonsGrid",
              "width": "fill_container",
              "layout": "vertical",
              "gap": 32,
              "children": [
                {
                  "type": "frame",
                  "id": "SocialButtonsRow",
                  "name": "Social Buttons Row",
                  "width": "fill_container",
                  "fill": "$bg-surface",
                  "cornerRadius": 16,
                  "stroke": { "thickness": 1, "fill": "$border-subtle" },
                  "layout": "vertical",
                  "gap": 24,
                  "padding": 40,
                  "children": [
                    {
                      "type": "text",
                      "name": "rowLabel",
                      "fill": "$text-secondary",
                      "content": "Social Login Buttons",
                      "fontFamily": "Roboto",
                      "fontSize": 14,
                      "fontWeight": "500"
                    },
                    {
                      "type": "frame",
                      "name": "buttonsContainer",
                      "layout": "vertical",
                      "gap": 16,
                      "children": [
                        {
                          "type": "frame",
                          "id": "SocialBtn_Google",
                          "name": "Atom/SocialButton/Google",
                          "reusable": true,
                          "width": 320,
                          "height": 48,
                          "fill": "#FFFFFF",
                          "cornerRadius": 10,
                          "gap": 12,
                          "justifyContent": "center",
                          "alignItems": "center",
                          "children": [
                            {
                              "type": "frame",
                              "name": "googleIcon",
                              "width": 20,
                              "height": 20,
                              "children": [
                                {
                                  "type": "text",
                                  "fill": "#4285F4",
                                  "content": "G",
                                  "fontFamily": "Roboto",
                                  "fontSize": 16,
                                  "fontWeight": "700"
                                }
                              ]
                            },
                            {
                              "type": "text",
                              "name": "btnLabel",
                              "fill": "#1F1F1F",
                              "content": "Đăng nhập với Google",
                              "fontFamily": "Roboto",
                              "fontSize": 14,
                              "fontWeight": "500"
                            }
                          ]
                        },
                        {
                          "type": "frame",
                          "id": "SocialBtn_Apple",
                          "name": "Atom/SocialButton/Apple",
                          "reusable": true,
                          "width": 320,
                          "height": 48,
                          "fill": "#000000",
                          "cornerRadius": 10,
                          "gap": 12,
                          "justifyContent": "center",
                          "alignItems": "center",
                          "children": [
                            {
                              "type": "icon_font",
                              "name": "appleIcon",
                              "width": 20,
                              "height": 20,
                              "iconFontName": "apple",
                              "iconFontFamily": "lucide",
                              "fill": "#FFFFFF"
                            },
                            {
                              "type": "text",
                              "name": "btnLabel",
                              "fill": "#FFFFFF",
                              "content": "Đăng nhập với Apple",
                              "fontFamily": "Roboto",
                              "fontSize": 14,
                              "fontWeight": "500"
                            }
                          ]
                        },
                        {
                          "type": "frame",
                          "id": "SocialBtn_Zalo",
                          "name": "Atom/SocialButton/Zalo",
                          "reusable": true,
                          "width": 320,
                          "height": 48,
                          "fill": "#0068FF",
                          "cornerRadius": 10,
                          "gap": 12,
                          "justifyContent": "center",
                          "alignItems": "center",
                          "children": [
                            {
                              "type": "text",
                              "name": "zaloIcon",
                              "fill": "#FFFFFF",
                              "content": "Z",
                              "fontFamily": "Roboto",
                              "fontSize": 18,
                              "fontWeight": "700"
                            },
                            {
                              "type": "text",
                              "name": "btnLabel",
                              "fill": "#FFFFFF",
                              "content": "Đăng nhập với Zalo",
                              "fontFamily": "Roboto",
                              "fontSize": 14,
                              "fontWeight": "500"
                            }
                          ]
                        },
                        {
                          "type": "frame",
                          "id": "SocialBtn_Facebook",
                          "name": "Atom/SocialButton/Facebook",
                          "reusable": true,
                          "width": 320,
                          "height": 48,
                          "fill": "#1877F2",
                          "cornerRadius": 10,
                          "gap": 12,
                          "justifyContent": "center",
                          "alignItems": "center",
                          "children": [
                            {
                              "type": "icon_font",
                              "name": "fbIcon",
                              "width": 20,
                              "height": 20,
                              "iconFontName": "facebook",
                              "iconFontFamily": "lucide",
                              "fill": "#FFFFFF"
                            },
                            {
                              "type": "text",
                              "name": "btnLabel",
                              "fill": "#FFFFFF",
                              "content": "Đăng nhập với Facebook",
                              "fontFamily": "Roboto",
                              "fontSize": 14,
                              "fontWeight": "500"
                            }
                          ]
                        }
                      ]
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "AuthActionButtonsRow",
                  "name": "Auth Action Buttons Row",
                  "width": "fill_container",
                  "fill": "$bg-surface",
                  "cornerRadius": 16,
                  "stroke": { "thickness": 1, "fill": "$border-subtle" },
                  "layout": "vertical",
                  "gap": 24,
                  "padding": 40,
                  "children": [
                    {
                      "type": "text",
                      "name": "rowLabel",
                      "fill": "$text-secondary",
                      "content": "Auth Action Buttons",
                      "fontFamily": "Roboto",
                      "fontSize": 14,
                      "fontWeight": "500"
                    },
                    {
                      "type": "frame",
                      "name": "buttonsContainer",
                      "gap": 16,
                      "children": [
                        {
                          "type": "frame",
                          "id": "AuthBtn_Login",
                          "name": "Atom/AuthButton/Login",
                          "reusable": true,
                          "width": 320,
                          "height": 48,
                          "fill": {
                            "type": "gradient",
                            "gradientType": "linear",
                            "enabled": true,
                            "rotation": 135,
                            "colors": [
                              { "color": "#FF5C00", "position": 0 },
                              { "color": "#FF8A4C", "position": 1 }
                            ]
                          },
                          "cornerRadius": 10,
                          "justifyContent": "center",
                          "alignItems": "center",
                          "children": [
                            {
                              "type": "text",
                              "name": "btnLabel",
                              "fill": "$text-primary",
                              "content": "Đăng nhập",
                              "fontFamily": "Roboto",
                              "fontSize": 14,
                              "fontWeight": "600"
                            }
                          ]
                        },
                        {
                          "type": "frame",
                          "id": "AuthBtn_Register",
                          "name": "Atom/AuthButton/Register",
                          "reusable": true,
                          "width": 320,
                          "height": 48,
                          "cornerRadius": 10,
                          "stroke": { "thickness": 1, "fill": "$border-default" },
                          "justifyContent": "center",
                          "alignItems": "center",
                          "children": [
                            {
                              "type": "text",
                              "name": "btnLabel",
                              "fill": "$text-primary",
                              "content": "Đăng ký",
                              "fontFamily": "Roboto",
                              "fontSize": 14,
                              "fontWeight": "500"
                            }
                          ]
                        },
                        {
                          "type": "frame",
                          "id": "AuthBtn_ForgotPassword",
                          "name": "Atom/AuthButton/ForgotPassword",
                          "reusable": true,
                          "height": 48,
                          "justifyContent": "center",
                          "alignItems": "center",
                          "children": [
                            {
                              "type": "text",
                              "name": "btnLabel",
                              "fill": "$orange-primary",
                              "content": "Quên mật khẩu?",
                              "fontFamily": "Roboto",
                              "fontSize": 14,
                              "fontWeight": "500"
                            }
                          ]
                        }
                      ]
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "LoadingStatesRow",
                  "name": "Loading States Row",
                  "width": "fill_container",
                  "fill": "$bg-surface",
                  "cornerRadius": 16,
                  "stroke": { "thickness": 1, "fill": "$border-subtle" },
                  "layout": "vertical",
                  "gap": 24,
                  "padding": 40,
                  "children": [
                    {
                      "type": "text",
                      "name": "rowLabel",
                      "fill": "$text-secondary",
                      "content": "Button States",
                      "fontFamily": "Roboto",
                      "fontSize": 14,
                      "fontWeight": "500"
                    },
                    {
                      "type": "frame",
                      "name": "statesContainer",
                      "gap": 16,
                      "children": [
                        {
                          "type": "frame",
                          "id": "AuthBtn_Loading",
                          "name": "Atom/AuthButton/Loading",
                          "reusable": true,
                          "width": 320,
                          "height": 48,
                          "fill": "$bg-interactive",
                          "cornerRadius": 10,
                          "gap": 8,
                          "justifyContent": "center",
                          "alignItems": "center",
                          "children": [
                            {
                              "type": "icon_font",
                              "name": "loadingIcon",
                              "width": 18,
                              "height": 18,
                              "iconFontName": "loader-2",
                              "iconFontFamily": "lucide",
                              "fill": "$text-muted"
                            },
                            {
                              "type": "text",
                              "name": "btnLabel",
                              "fill": "$text-muted",
                              "content": "Đang xử lý...",
                              "fontFamily": "Roboto",
                              "fontSize": 14,
                              "fontWeight": "500"
                            }
                          ]
                        },
                        {
                          "type": "frame",
                          "id": "AuthBtn_Disabled",
                          "name": "Atom/AuthButton/Disabled",
                          "reusable": true,
                          "width": 320,
                          "height": 48,
                          "fill": "$bg-interactive",
                          "cornerRadius": 10,
                          "justifyContent": "center",
                          "alignItems": "center",
                          "children": [
                            {
                              "type": "text",
                              "name": "btnLabel",
                              "fill": "$text-disabled",
                              "content": "Đăng nhập",
                              "fontFamily": "Roboto",
                              "fontSize": 14,
                              "fontWeight": "600"
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ],
  "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" },
    "text-disabled": { "type": "color", "value": "#4B4B50" }
  }
}
