{
  "version": "2.7",
  "children": [
    {
      "type": "frame",
      "id": "BiometricSetupScreen",
      "x": 0,
      "y": 0,
      "name": "Screen/BiometricSetup",
      "reusable": true,
      "width": 480,
      "height": 700,
      "fill": "$bg-page",
      "cornerRadius": 20,
      "layout": "vertical",
      "children": [
        {
          "type": "frame",
          "id": "BioHeader",
          "width": "fill_container",
          "fill": "$bg-elevated",
          "gap": 12,
          "padding": [
            16,
            20
          ],
          "alignItems": "center",
          "children": [
            {
              "type": "frame",
              "id": "BioIconBg",
              "width": 44,
              "height": 44,
              "fill": "#8B5CF615",
              "cornerRadius": 12,
              "justifyContent": "center",
              "alignItems": "center",
              "children": [
                {
                  "type": "icon_font",
                  "id": "BioIcon",
                  "width": 22,
                  "height": 22,
                  "iconFontName": "fingerprint",
                  "iconFontFamily": "lucide",
                  "fill": "#8B5CF6"
                }
              ]
            },
            {
              "type": "frame",
              "id": "BioTitleBox",
              "width": "fill_container",
              "layout": "vertical",
              "gap": 2,
              "children": [
                {
                  "type": "text",
                  "id": "BioTitle",
                  "fill": "$text-primary",
                  "content": "Sinh Trắc Học",
                  "fontFamily": "Roboto",
                  "fontSize": 18,
                  "fontWeight": "700"
                },
                {
                  "type": "text",
                  "id": "BioSubtitle",
                  "fill": "$text-tertiary",
                  "content": "Đăng nhập nhanh & bảo mật",
                  "fontFamily": "Roboto",
                  "fontSize": 13,
                  "fontWeight": "normal"
                }
              ]
            },
            {
              "type": "frame",
              "id": "BioClose",
              "width": 36,
              "height": 36,
              "fill": "$bg-interactive",
              "cornerRadius": 10,
              "justifyContent": "center",
              "alignItems": "center",
              "children": [
                {
                  "type": "icon_font",
                  "id": "BioCloseIcon",
                  "width": 18,
                  "height": 18,
                  "iconFontName": "x",
                  "iconFontFamily": "lucide",
                  "fill": "$text-secondary"
                }
              ]
            }
          ]
        },
        {
          "type": "frame",
          "id": "BioContent",
          "width": "fill_container",
          "height": "fill_container",
          "layout": "vertical",
          "gap": 20,
          "padding": [
            20,
            24
          ],
          "children": [
            {
              "type": "frame",
              "id": "FingerprintSection",
              "width": "fill_container",
              "fill": "$bg-elevated",
              "cornerRadius": 16,
              "layout": "vertical",
              "gap": 16,
              "padding": 20,
              "alignItems": "center",
              "children": [
                {
                  "type": "frame",
                  "id": "FingerprintVisual",
                  "width": 100,
                  "height": 100,
                  "fill": {
                    "type": "gradient",
                    "gradientType": "radial",
                    "enabled": true,
                    "rotation": 0,
                    "size": {
                      "width": 1,
                      "height": 1
                    },
                    "colors": [
                      {
                        "color": "#8B5CF630",
                        "position": 0
                      },
                      {
                        "color": "#8B5CF610",
                        "position": 1
                      }
                    ]
                  },
                  "cornerRadius": 50,
                  "justifyContent": "center",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "frame",
                      "id": "FingerprintInner",
                      "width": 70,
                      "height": 70,
                      "fill": "#8B5CF620",
                      "cornerRadius": 35,
                      "justifyContent": "center",
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "icon_font",
                          "id": "FingerprintIcon",
                          "width": 40,
                          "height": 40,
                          "iconFontName": "fingerprint",
                          "iconFontFamily": "lucide",
                          "fill": "#8B5CF6"
                        }
                      ]
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "FingerprintInfo",
                  "layout": "vertical",
                  "gap": 6,
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "text",
                      "id": "FingerprintTitle",
                      "fill": "$text-primary",
                      "content": "Vân tay",
                      "fontFamily": "Roboto",
                      "fontSize": 16,
                      "fontWeight": "600"
                    },
                    {
                      "type": "text",
                      "id": "FingerprintStatus",
                      "fill": "#22C55E",
                      "content": "Đã thiết lập (2 vân tay)",
                      "fontFamily": "Roboto",
                      "fontSize": 13,
                      "fontWeight": "normal"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "FingerprintToggle",
                  "width": 56,
                  "height": 30,
                  "fill": "#22C55E",
                  "cornerRadius": 15,
                  "padding": 3,
                  "children": [
                    {
                      "type": "frame",
                      "id": "FingerprintKnob",
                      "width": 24,
                      "height": 24,
                      "fill": "#FFFFFF",
                      "cornerRadius": 12
                    }
                  ]
                }
              ]
            },
            {
              "type": "frame",
              "id": "FaceIDSection",
              "width": "fill_container",
              "fill": "$bg-elevated",
              "cornerRadius": 16,
              "gap": 14,
              "padding": 16,
              "alignItems": "center",
              "children": [
                {
                  "type": "frame",
                  "id": "FaceIDVisual",
                  "width": 52,
                  "height": 52,
                  "fill": "#3B82F620",
                  "cornerRadius": 26,
                  "justifyContent": "center",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "icon_font",
                      "id": "FaceIDIcon",
                      "width": 28,
                      "height": 28,
                      "iconFontName": "scan-face",
                      "iconFontFamily": "lucide",
                      "fill": "#3B82F6"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "FaceIDInfo",
                  "width": "fill_container",
                  "layout": "vertical",
                  "gap": 4,
                  "children": [
                    {
                      "type": "text",
                      "id": "FaceIDTitle",
                      "fill": "$text-primary",
                      "content": "Face ID",
                      "fontFamily": "Roboto",
                      "fontSize": 15,
                      "fontWeight": "600"
                    },
                    {
                      "type": "text",
                      "id": "FaceIDStatus",
                      "fill": "$text-tertiary",
                      "content": "Chưa thiết lập",
                      "fontFamily": "Roboto",
                      "fontSize": 13,
                      "fontWeight": "normal"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "FaceIDToggle",
                  "width": 56,
                  "height": 30,
                  "fill": "$bg-interactive",
                  "cornerRadius": 15,
                  "padding": 3,
                  "children": [
                    {
                      "type": "frame",
                      "id": "FaceIDKnob",
                      "width": 24,
                      "height": 24,
                      "fill": "$text-tertiary",
                      "cornerRadius": 12
                    }
                  ]
                }
              ]
            },
            {
              "type": "frame",
              "id": "SecurityNote",
              "width": "fill_container",
              "fill": "#3B82F615",
              "cornerRadius": 12,
              "gap": 12,
              "padding": 14,
              "children": [
                {
                  "type": "icon_font",
                  "id": "SecurityNoteIcon",
                  "width": 20,
                  "height": 20,
                  "iconFontName": "shield-check",
                  "iconFontFamily": "lucide",
                  "fill": "#3B82F6"
                },
                {
                  "type": "frame",
                  "id": "SecurityNoteInfo",
                  "width": "fill_container",
                  "layout": "vertical",
                  "gap": 4,
                  "children": [
                    {
                      "type": "text",
                      "id": "SecurityNoteTitle",
                      "fill": "#3B82F6",
                      "content": "Bảo mật nâng cao",
                      "fontFamily": "Roboto",
                      "fontSize": 13,
                      "fontWeight": "600"
                    },
                    {
                      "type": "text",
                      "id": "SecurityNoteDesc",
                      "fill": "$text-tertiary",
                      "content": "Dữ liệu sinh trắc học được lưu trữ an toàn trên thiết bị và không bao giờ được gửi lên server.",
                      "lineHeight": 1.4,
                      "fontFamily": "Roboto",
                      "fontSize": 12,
                      "fontWeight": "normal"
                    }
                  ]
                }
              ]
            },
            {
              "type": "frame",
              "id": "OptionsSection",
              "width": "fill_container",
              "layout": "vertical",
              "gap": 10,
              "children": [
                {
                  "type": "frame",
                  "id": "QuickAuthOption",
                  "width": "fill_container",
                  "fill": "$bg-elevated",
                  "cornerRadius": 12,
                  "gap": 12,
                  "padding": 14,
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "icon_font",
                      "id": "QuickAuthIcon",
                      "width": 20,
                      "height": 20,
                      "iconFontName": "zap",
                      "iconFontFamily": "lucide",
                      "fill": "$orange-primary"
                    },
                    {
                      "type": "frame",
                      "id": "QuickAuthInfo",
                      "width": "fill_container",
                      "layout": "vertical",
                      "gap": 2,
                      "children": [
                        {
                          "type": "text",
                          "id": "QuickAuthTitle",
                          "fill": "$text-primary",
                          "content": "Mở khóa nhanh",
                          "fontFamily": "Roboto",
                          "fontSize": 14,
                          "fontWeight": "500"
                        },
                        {
                          "type": "text",
                          "id": "QuickAuthDesc",
                          "fill": "$text-tertiary",
                          "content": "Bỏ qua màn hình khóa",
                          "fontFamily": "Roboto",
                          "fontSize": 12,
                          "fontWeight": "normal"
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "QuickAuthToggle",
                      "width": 44,
                      "height": 24,
                      "fill": "#22C55E",
                      "cornerRadius": 12,
                      "padding": 2,
                      "children": [
                        {
                          "type": "frame",
                          "id": "QuickAuthKnob",
                          "width": 20,
                          "height": 20,
                          "fill": "#FFFFFF",
                          "cornerRadius": 10
                        }
                      ]
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "RequireAuthOption",
                  "width": "fill_container",
                  "fill": "$bg-elevated",
                  "cornerRadius": 12,
                  "gap": 12,
                  "padding": 14,
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "icon_font",
                      "id": "RequireAuthIcon",
                      "width": 20,
                      "height": 20,
                      "iconFontName": "lock",
                      "iconFontFamily": "lucide",
                      "fill": "$text-secondary"
                    },
                    {
                      "type": "frame",
                      "id": "RequireAuthInfo",
                      "width": "fill_container",
                      "layout": "vertical",
                      "gap": 2,
                      "children": [
                        {
                          "type": "text",
                          "id": "RequireAuthTitle",
                          "fill": "$text-primary",
                          "content": "Xác thực thanh toán",
                          "fontFamily": "Roboto",
                          "fontSize": 14,
                          "fontWeight": "500"
                        },
                        {
                          "type": "text",
                          "id": "RequireAuthDesc",
                          "fill": "$text-tertiary",
                          "content": "Yêu cầu khi thanh toán",
                          "fontFamily": "Roboto",
                          "fontSize": 12,
                          "fontWeight": "normal"
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "RequireAuthToggle",
                      "width": 44,
                      "height": 24,
                      "fill": "$bg-interactive",
                      "cornerRadius": 12,
                      "padding": 2,
                      "children": [
                        {
                          "type": "frame",
                          "id": "RequireAuthKnob",
                          "width": 20,
                          "height": 20,
                          "fill": "$text-tertiary",
                          "cornerRadius": 10
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ],
  "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"
    }
  }
}