{
  "version": "2.7",
  "children": [
    {
      "type": "frame",
      "id": "OtpScreen",
      "x": 0,
      "y": 0,
      "name": "Auth/OtpVerify",
      "reusable": true,
      "width": 390,
      "height": 844,
      "fill": "$bg-page",
      "layout": "vertical",
      "gap": 24,
      "padding": [
        56,
        24,
        32,
        24
      ],
      "children": [
        {
          "type": "frame",
          "id": "OtpTopBar",
          "width": "fill_container",
          "padding": [
            0,
            0,
            16,
            0
          ],
          "children": [
            {
              "type": "frame",
              "id": "OtpBackBtn",
              "width": 40,
              "height": 40,
              "fill": "$bg-elevated",
              "cornerRadius": 12,
              "stroke": {
                "thickness": 1,
                "fill": "#000000"
              },
              "layout": "vertical",
              "justifyContent": "center",
              "alignItems": "center",
              "children": [
                {
                  "type": "icon_font",
                  "id": "OtpBackIcon",
                  "width": 20,
                  "height": 20,
                  "iconFontName": "chevron-left",
                  "iconFontFamily": "lucide",
                  "fill": "$text-primary"
                }
              ]
            }
          ]
        },
        {
          "type": "frame",
          "id": "OtpContent",
          "width": "fill_container",
          "layout": "vertical",
          "gap": 20,
          "alignItems": "center",
          "children": [
            {
              "type": "frame",
              "id": "OtpIconWrap",
              "width": 80,
              "height": 80,
              "fill": "$bg-elevated",
              "cornerRadius": 20,
              "layout": "vertical",
              "justifyContent": "center",
              "alignItems": "center",
              "children": [
                {
                  "type": "icon_font",
                  "id": "OtpShieldIcon",
                  "width": 40,
                  "height": 40,
                  "iconFontName": "shield-check",
                  "iconFontFamily": "lucide",
                  "fill": "$orange-primary"
                }
              ]
            },
            {
              "type": "text",
              "id": "OtpTitle",
              "fill": "$text-primary",
              "content": "Nhập mã xác nhận",
              "textAlign": "center",
              "fontFamily": "Poppins",
              "fontSize": 26,
              "fontWeight": "700"
            },
            {
              "type": "text",
              "id": "OtpSubtitle",
              "fill": "$text-secondary",
              "content": "Mã OTP đã được gửi đến 0912***456",
              "textAlign": "center",
              "fontFamily": "Poppins",
              "fontSize": 14
            }
          ]
        },
        {
          "type": "frame",
          "id": "OtpInputRow",
          "width": "fill_container",
          "gap": 12,
          "justifyContent": "center",
          "children": [
            {
              "type": "frame",
              "id": "OtpBox1",
              "width": 52,
              "height": 52,
              "fill": "$bg-elevated",
              "cornerRadius": 12,
              "stroke": {
                "thickness": 2,
                "fill": "$orange-primary"
              },
              "layout": "vertical",
              "justifyContent": "center",
              "alignItems": "center",
              "children": [
                {
                  "type": "text",
                  "id": "OtpDigit1",
                  "fill": "$text-primary",
                  "content": "4",
                  "fontFamily": "Poppins",
                  "fontSize": 22,
                  "fontWeight": "600"
                }
              ]
            },
            {
              "type": "frame",
              "id": "OtpBox2",
              "width": 52,
              "height": 52,
              "fill": "$bg-elevated",
              "cornerRadius": 12,
              "stroke": {
                "thickness": 2,
                "fill": "$orange-primary"
              },
              "layout": "vertical",
              "justifyContent": "center",
              "alignItems": "center",
              "children": [
                {
                  "type": "text",
                  "id": "OtpDigit2",
                  "fill": "$text-primary",
                  "content": "7",
                  "fontFamily": "Poppins",
                  "fontSize": 22,
                  "fontWeight": "600"
                }
              ]
            },
            {
              "type": "frame",
              "id": "OtpBox3",
              "width": 52,
              "height": 52,
              "fill": "$bg-elevated",
              "cornerRadius": 12,
              "stroke": {
                "thickness": 2,
                "fill": "$orange-primary"
              },
              "layout": "vertical",
              "justifyContent": "center",
              "alignItems": "center",
              "children": [
                {
                  "type": "text",
                  "id": "OtpDigit3",
                  "fill": "$text-primary",
                  "content": "2",
                  "fontFamily": "Poppins",
                  "fontSize": 22,
                  "fontWeight": "600"
                }
              ]
            },
            {
              "type": "frame",
              "id": "OtpBox4",
              "width": 52,
              "height": 52,
              "fill": "$bg-elevated",
              "cornerRadius": 12,
              "stroke": {
                "thickness": 1.5,
                "fill": "#000000"
              },
              "layout": "vertical",
              "justifyContent": "center",
              "alignItems": "center"
            },
            {
              "type": "frame",
              "id": "OtpBox5",
              "width": 52,
              "height": 52,
              "fill": "$bg-elevated",
              "cornerRadius": 12,
              "stroke": {
                "thickness": 1.5,
                "fill": "#000000"
              },
              "layout": "vertical",
              "justifyContent": "center",
              "alignItems": "center"
            },
            {
              "type": "frame",
              "id": "OtpBox6",
              "width": 52,
              "height": 52,
              "fill": "$bg-elevated",
              "cornerRadius": 12,
              "stroke": {
                "thickness": 1.5,
                "fill": "#000000"
              },
              "layout": "vertical",
              "justifyContent": "center",
              "alignItems": "center"
            }
          ]
        },
        {
          "type": "text",
          "id": "OtpTimer",
          "fill": "$text-secondary",
          "content": "Gửi lại mã sau 00:45",
          "textAlign": "center",
          "fontFamily": "Poppins",
          "fontSize": 13
        },
        {
          "type": "frame",
          "id": "OtpButton",
          "width": "fill_container",
          "height": 52,
          "fill": "$orange-primary",
          "cornerRadius": 30,
          "layout": "vertical",
          "justifyContent": "center",
          "alignItems": "center",
          "children": [
            {
              "type": "text",
              "id": "OtpButtonText",
              "fill": "#FFFFFF",
              "content": "Xác nhận",
              "fontFamily": "Poppins",
              "fontSize": 16,
              "fontWeight": "600"
            }
          ]
        },
        {
          "type": "text",
          "id": "OtpResendLink",
          "fill": "$orange-primary",
          "content": "Gửi lại mã OTP",
          "textAlign": "center",
          "fontFamily": "Poppins",
          "fontSize": 14,
          "fontWeight": "500"
        },
        {
          "type": "frame",
          "id": "OtpSpacer",
          "width": 1,
          "height": "fill_container"
        }
      ]
    }
  ],
  "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"
    }
  }
}