{
  "version": "2.6",
  "children": [
    {
      "type": "frame",
      "name": "POS Layout Showcase",
      "width": 1440,
      "fill": "$bg-page",
      "layout": "vertical",
      "gap": 80,
      "padding": [80, 120],
      "children": [
        {
          "type": "frame",
          "id": "NumpadFullSection",
          "name": "Numpad Full Section",
          "width": "fill_container",
          "layout": "vertical",
          "gap": 32,
          "children": [
            {
              "type": "frame",
              "id": "NumpadFullHeader",
              "name": "numpadFullSectionHeader",
              "layout": "vertical",
              "gap": 16,
              "alignItems": "center",
              "children": [
                {
                  "type": "frame",
                  "id": "NumpadFullBadge",
                  "name": "shBadge",
                  "fill": "#FF5C0018",
                  "cornerRadius": 100,
                  "padding": [6, 14],
                  "children": [
                    {
                      "type": "text",
                      "id": "NumpadFullBadgeText",
                      "name": "badgeText",
                      "fill": "$orange-primary",
                      "content": "POS NUMPAD",
                      "fontFamily": "Roboto",
                      "fontSize": 11,
                      "fontWeight": "500",
                      "letterSpacing": 2
                    }
                  ]
                },
                {
                  "type": "text",
                  "id": "NumpadFullTitle",
                  "name": "shTitle",
                  "fill": "$text-primary",
                  "content": "Full Numpad Component",
                  "textAlign": "center",
                  "fontFamily": "Roboto",
                  "fontSize": 42,
                  "fontWeight": "normal",
                  "letterSpacing": -1
                }
              ]
            },
            {
              "type": "frame",
              "id": "NumpadFullExamples",
              "name": "numpadFullExamples",
              "width": "fill_container",
              "fill": "$bg-surface",
              "cornerRadius": 16,
              "stroke": {"thickness": 1, "fill": "$border-subtle"},
              "padding": 40,
              "justifyContent": "center",
              "children": [
                {
                  "type": "frame",
                  "id": "NumpadFull",
                  "name": "Organism/Numpad/Full",
                  "reusable": true,
                  "fill": "$bg-elevated",
                  "cornerRadius": 16,
                  "stroke": {"thickness": 1, "fill": "$border-default"},
                  "layout": "vertical",
                  "gap": 8,
                  "padding": 16,
                  "children": [
                    {
                      "type": "frame",
                      "id": "NumpadRow1",
                      "name": "row1",
                      "gap": 8,
                      "children": [
                        {"type": "frame", "id": "NK7", "name": "key7", "width": 64, "height": 64, "fill": "$bg-interactive", "cornerRadius": 12, "justifyContent": "center", "alignItems": "center", "children": [{"type": "text", "id": "NK7T", "fill": "$text-primary", "content": "7", "fontFamily": "Roboto", "fontSize": 24, "fontWeight": "600"}]},
                        {"type": "frame", "id": "NK8", "name": "key8", "width": 64, "height": 64, "fill": "$bg-interactive", "cornerRadius": 12, "justifyContent": "center", "alignItems": "center", "children": [{"type": "text", "id": "NK8T", "fill": "$text-primary", "content": "8", "fontFamily": "Roboto", "fontSize": 24, "fontWeight": "600"}]},
                        {"type": "frame", "id": "NK9", "name": "key9", "width": 64, "height": 64, "fill": "$bg-interactive", "cornerRadius": 12, "justifyContent": "center", "alignItems": "center", "children": [{"type": "text", "id": "NK9T", "fill": "$text-primary", "content": "9", "fontFamily": "Roboto", "fontSize": 24, "fontWeight": "600"}]},
                        {"type": "frame", "id": "NKC", "name": "keyClear", "width": 64, "height": 64, "fill": "#EF444418", "cornerRadius": 12, "justifyContent": "center", "alignItems": "center", "children": [{"type": "text", "id": "NKCT", "fill": "#EF4444", "content": "C", "fontFamily": "Roboto", "fontSize": 20, "fontWeight": "700"}]}
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "NumpadRow2",
                      "name": "row2",
                      "gap": 8,
                      "children": [
                        {"type": "frame", "id": "NK4", "name": "key4", "width": 64, "height": 64, "fill": "$bg-interactive", "cornerRadius": 12, "justifyContent": "center", "alignItems": "center", "children": [{"type": "text", "id": "NK4T", "fill": "$text-primary", "content": "4", "fontFamily": "Roboto", "fontSize": 24, "fontWeight": "600"}]},
                        {"type": "frame", "id": "NK5", "name": "key5", "width": 64, "height": 64, "fill": "$bg-interactive", "cornerRadius": 12, "justifyContent": "center", "alignItems": "center", "children": [{"type": "text", "id": "NK5T", "fill": "$text-primary", "content": "5", "fontFamily": "Roboto", "fontSize": 24, "fontWeight": "600"}]},
                        {"type": "frame", "id": "NK6", "name": "key6", "width": 64, "height": 64, "fill": "$bg-interactive", "cornerRadius": 12, "justifyContent": "center", "alignItems": "center", "children": [{"type": "text", "id": "NK6T", "fill": "$text-primary", "content": "6", "fontFamily": "Roboto", "fontSize": 24, "fontWeight": "600"}]},
                        {"type": "frame", "id": "NKBack", "name": "keyBackspace", "width": 64, "height": 64, "fill": "$bg-interactive", "cornerRadius": 12, "justifyContent": "center", "alignItems": "center", "children": [{"type": "icon_font", "id": "NKBackI", "width": 24, "height": 24, "iconFontName": "delete", "iconFontFamily": "lucide", "fill": "$text-secondary"}]}
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "NumpadRow3",
                      "name": "row3",
                      "gap": 8,
                      "children": [
                        {"type": "frame", "id": "NK1", "name": "key1", "width": 64, "height": 64, "fill": "$bg-interactive", "cornerRadius": 12, "justifyContent": "center", "alignItems": "center", "children": [{"type": "text", "id": "NK1T", "fill": "$text-primary", "content": "1", "fontFamily": "Roboto", "fontSize": 24, "fontWeight": "600"}]},
                        {"type": "frame", "id": "NK2", "name": "key2", "width": 64, "height": 64, "fill": "$bg-interactive", "cornerRadius": 12, "justifyContent": "center", "alignItems": "center", "children": [{"type": "text", "id": "NK2T", "fill": "$text-primary", "content": "2", "fontFamily": "Roboto", "fontSize": 24, "fontWeight": "600"}]},
                        {"type": "frame", "id": "NK3", "name": "key3", "width": 64, "height": 64, "fill": "$bg-interactive", "cornerRadius": 12, "justifyContent": "center", "alignItems": "center", "children": [{"type": "text", "id": "NK3T", "fill": "$text-primary", "content": "3", "fontFamily": "Roboto", "fontSize": 24, "fontWeight": "600"}]},
                        {"type": "frame", "id": "NKEnter", "name": "keyEnter", "width": 64, "height": 136, "fill": {"type": "gradient", "gradientType": "linear", "enabled": true, "rotation": 135, "size": {"height": 1}, "colors": [{"color": "#FF5C00", "position": 0}, {"color": "#FF8A4C", "position": 1}]}, "cornerRadius": 12, "justifyContent": "center", "alignItems": "center", "children": [{"type": "icon_font", "id": "NKEnterI", "width": 28, "height": 28, "iconFontName": "corner-down-left", "iconFontFamily": "lucide", "fill": "$text-primary"}]}
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "NumpadRow4",
                      "name": "row4",
                      "gap": 8,
                      "children": [
                        {"type": "frame", "id": "NK0", "name": "key0", "width": 136, "height": 64, "fill": "$bg-interactive", "cornerRadius": 12, "justifyContent": "center", "alignItems": "center", "children": [{"type": "text", "id": "NK0T", "fill": "$text-primary", "content": "0", "fontFamily": "Roboto", "fontSize": 24, "fontWeight": "600"}]},
                        {"type": "frame", "id": "NKDot", "name": "keyDot", "width": 64, "height": 64, "fill": "$bg-interactive", "cornerRadius": 12, "justifyContent": "center", "alignItems": "center", "children": [{"type": "text", "id": "NKDotT", "fill": "$text-primary", "content": ".", "fontFamily": "Roboto", "fontSize": 24, "fontWeight": "600"}]}
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "type": "frame",
          "id": "PaymentMethodsSection",
          "name": "Payment Methods Section",
          "width": "fill_container",
          "layout": "vertical",
          "gap": 32,
          "children": [
            {
              "type": "frame",
              "id": "PaymentMethodsHeader",
              "name": "paymentMethodsSectionHeader",
              "layout": "vertical",
              "gap": 16,
              "alignItems": "center",
              "children": [
                {
                  "type": "frame",
                  "id": "PaymentMethodsBadge",
                  "name": "shBadge",
                  "fill": "#FF5C0018",
                  "cornerRadius": 100,
                  "padding": [6, 14],
                  "children": [
                    {
                      "type": "text",
                      "id": "PaymentMethodsBadgeText",
                      "name": "badgeText",
                      "fill": "$orange-primary",
                      "content": "PAYMENT METHODS",
                      "fontFamily": "Roboto",
                      "fontSize": 11,
                      "fontWeight": "500",
                      "letterSpacing": 2
                    }
                  ]
                },
                {
                  "type": "text",
                  "id": "PaymentMethodsTitle",
                  "name": "shTitle",
                  "fill": "$text-primary",
                  "content": "Payment Selection Grid",
                  "textAlign": "center",
                  "fontFamily": "Roboto",
                  "fontSize": 42,
                  "fontWeight": "normal",
                  "letterSpacing": -1
                }
              ]
            },
            {
              "type": "frame",
              "id": "PaymentMethodsExamples",
              "name": "paymentMethodsExamples",
              "width": "fill_container",
              "fill": "$bg-surface",
              "cornerRadius": 16,
              "stroke": {"thickness": 1, "fill": "$border-subtle"},
              "padding": 40,
              "justifyContent": "center",
              "children": [
                {
                  "type": "frame",
                  "id": "PaymentGrid",
                  "name": "Organism/PaymentMethods",
                  "reusable": true,
                  "gap": 16,
                  "children": [
                    {
                      "type": "frame",
                      "id": "PayCash",
                      "name": "cashMethod",
                      "width": 120,
                      "height": 100,
                      "fill": "$bg-elevated",
                      "cornerRadius": 16,
                      "stroke": {"thickness": 2, "fill": "$orange-primary"},
                      "layout": "vertical",
                      "gap": 8,
                      "justifyContent": "center",
                      "alignItems": "center",
                      "children": [
                        {"type": "icon_font", "id": "PayCashIcon", "width": 32, "height": 32, "iconFontName": "banknote", "iconFontFamily": "lucide", "fill": "$orange-primary"},
                        {"type": "text", "id": "PayCashText", "fill": "$text-primary", "content": "Tiền mặt", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "500"}
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "PayCard",
                      "name": "cardMethod",
                      "width": 120,
                      "height": 100,
                      "fill": "$bg-elevated",
                      "cornerRadius": 16,
                      "stroke": {"thickness": 1, "fill": "$border-default"},
                      "layout": "vertical",
                      "gap": 8,
                      "justifyContent": "center",
                      "alignItems": "center",
                      "children": [
                        {"type": "icon_font", "id": "PayCardIcon", "width": 32, "height": 32, "iconFontName": "credit-card", "iconFontFamily": "lucide", "fill": "$text-secondary"},
                        {"type": "text", "id": "PayCardText", "fill": "$text-primary", "content": "Thẻ", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "500"}
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "PayQR",
                      "name": "qrMethod",
                      "width": 120,
                      "height": 100,
                      "fill": "$bg-elevated",
                      "cornerRadius": 16,
                      "stroke": {"thickness": 1, "fill": "$border-default"},
                      "layout": "vertical",
                      "gap": 8,
                      "justifyContent": "center",
                      "alignItems": "center",
                      "children": [
                        {"type": "icon_font", "id": "PayQRIcon", "width": 32, "height": 32, "iconFontName": "qr-code", "iconFontFamily": "lucide", "fill": "$text-secondary"},
                        {"type": "text", "id": "PayQRText", "fill": "$text-primary", "content": "QR Code", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "500"}
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "PayWallet",
                      "name": "walletMethod",
                      "width": 120,
                      "height": 100,
                      "fill": "$bg-elevated",
                      "cornerRadius": 16,
                      "stroke": {"thickness": 1, "fill": "$border-default"},
                      "layout": "vertical",
                      "gap": 8,
                      "justifyContent": "center",
                      "alignItems": "center",
                      "children": [
                        {"type": "icon_font", "id": "PayWalletIcon", "width": 32, "height": 32, "iconFontName": "wallet", "iconFontFamily": "lucide", "fill": "$text-secondary"},
                        {"type": "text", "id": "PayWalletText", "fill": "$text-primary", "content": "Ví điện tử", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "500"}
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "type": "frame",
          "id": "DialogSection",
          "name": "Dialogs Section",
          "width": "fill_container",
          "layout": "vertical",
          "gap": 32,
          "children": [
            {
              "type": "frame",
              "id": "DialogHeader",
              "name": "dialogSectionHeader",
              "layout": "vertical",
              "gap": 16,
              "alignItems": "center",
              "children": [
                {
                  "type": "frame",
                  "id": "DialogBadge",
                  "name": "shBadge",
                  "fill": "#FF5C0018",
                  "cornerRadius": 100,
                  "padding": [6, 14],
                  "children": [
                    {
                      "type": "text",
                      "id": "DialogBadgeText",
                      "name": "badgeText",
                      "fill": "$orange-primary",
                      "content": "DIALOGS & TOASTS",
                      "fontFamily": "Roboto",
                      "fontSize": 11,
                      "fontWeight": "500",
                      "letterSpacing": 2
                    }
                  ]
                },
                {
                  "type": "text",
                  "id": "DialogTitle",
                  "name": "shTitle",
                  "fill": "$text-primary",
                  "content": "Feedback Components",
                  "textAlign": "center",
                  "fontFamily": "Roboto",
                  "fontSize": 42,
                  "fontWeight": "normal",
                  "letterSpacing": -1
                }
              ]
            },
            {
              "type": "frame",
              "id": "DialogExamples",
              "name": "dialogExamples",
              "width": "fill_container",
              "fill": "$bg-surface",
              "cornerRadius": 16,
              "stroke": {"thickness": 1, "fill": "$border-subtle"},
              "layout": "vertical",
              "gap": 32,
              "padding": 40,
              "alignItems": "center",
              "children": [
                {
                  "type": "frame",
                  "id": "ConfirmDialog",
                  "name": "Organism/Dialog/Confirm",
                  "reusable": true,
                  "width": 400,
                  "fill": "$bg-elevated",
                  "cornerRadius": 20,
                  "stroke": {"thickness": 1, "fill": "$border-default"},
                  "layout": "vertical",
                  "gap": 24,
                  "padding": 28,
                  "children": [
                    {
                      "type": "frame",
                      "id": "ConfirmDialogHeader",
                      "name": "header",
                      "width": "fill_container",
                      "layout": "vertical",
                      "gap": 8,
                      "alignItems": "center",
                      "children": [
                        {"type": "icon_font", "id": "ConfirmDialogIcon", "width": 48, "height": 48, "iconFontName": "circle-alert", "iconFontFamily": "lucide", "fill": "$orange-primary"},
                        {"type": "text", "id": "ConfirmDialogTitle", "name": "title", "fill": "$text-primary", "content": "Xác nhận thanh toán", "fontFamily": "Roboto", "fontSize": 20, "fontWeight": "600", "textAlign": "center"},
                        {"type": "text", "id": "ConfirmDialogMessage", "name": "message", "fill": "$text-secondary", "content": "Thanh toán đơn hàng 100,116₫ bằng Tiền mặt?", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "normal", "textAlign": "center", "lineHeight": 1.5}
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "ConfirmDialogActions",
                      "name": "actions",
                      "width": "fill_container",
                      "gap": 12,
                      "children": [
                        {
                          "type": "frame",
                          "id": "ConfirmDialogCancel",
                          "name": "cancelBtn",
                          "width": "fill_container",
                          "height": 48,
                          "cornerRadius": 10,
                          "stroke": {"thickness": 1, "fill": "$border-default"},
                          "justifyContent": "center",
                          "alignItems": "center",
                          "children": [{"type": "text", "id": "ConfirmDialogCancelText", "fill": "$text-secondary", "content": "Hủy", "fontFamily": "Roboto", "fontSize": 15, "fontWeight": "500"}]
                        },
                        {
                          "type": "frame",
                          "id": "ConfirmDialogConfirm",
                          "name": "confirmBtn",
                          "width": "fill_container",
                          "height": 48,
                          "fill": {"type": "gradient", "gradientType": "linear", "enabled": true, "rotation": 135, "size": {"height": 1}, "colors": [{"color": "#FF5C00", "position": 0}, {"color": "#FF8A4C", "position": 1}]},
                          "cornerRadius": 10,
                          "justifyContent": "center",
                          "alignItems": "center",
                          "children": [{"type": "text", "id": "ConfirmDialogConfirmText", "fill": "$text-primary", "content": "Xác nhận", "fontFamily": "Roboto", "fontSize": 15, "fontWeight": "600"}]
                        }
                      ]
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "ToastSuccess",
                  "name": "Organism/Toast/Success",
                  "reusable": true,
                  "width": 400,
                  "fill": "#22C55E18",
                  "cornerRadius": 12,
                  "stroke": {"thickness": 1, "fill": "$green-success"},
                  "gap": 12,
                  "padding": [16, 20],
                  "alignItems": "center",
                  "children": [
                    {"type": "icon_font", "id": "ToastSuccessIcon", "width": 24, "height": 24, "iconFontName": "check-circle", "iconFontFamily": "lucide", "fill": "$green-success"},
                    {"type": "text", "id": "ToastSuccessText", "name": "message", "fill": "$green-success", "content": "Thanh toán thành công!", "fontFamily": "Roboto", "fontSize": 15, "fontWeight": "500"}
                  ]
                },
                {
                  "type": "frame",
                  "id": "ToastError",
                  "name": "Organism/Toast/Error",
                  "reusable": true,
                  "width": 400,
                  "fill": "#EF444418",
                  "cornerRadius": 12,
                  "stroke": {"thickness": 1, "fill": "#EF4444"},
                  "gap": 12,
                  "padding": [16, 20],
                  "alignItems": "center",
                  "children": [
                    {"type": "icon_font", "id": "ToastErrorIcon", "width": 24, "height": 24, "iconFontName": "x-circle", "iconFontFamily": "lucide", "fill": "#EF4444"},
                    {"type": "text", "id": "ToastErrorText", "name": "message", "fill": "#EF4444", "content": "Giao dịch thất bại. Vui lòng thử lại.", "fontFamily": "Roboto", "fontSize": 15, "fontWeight": "500"}
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ],
  "variables": {
    "bg-elevated": {"type": "color", "value": "#1A1A1D"},
    "bg-interactive": {"type": "color", "value": "#2A2A2E"},
    "bg-page": {"type": "color", "value": "#0A0A0B"},
    "bg-surface": {"type": "color", "value": "#111113"},
    "border-default": {"type": "color", "value": "#2A2A2E"},
    "border-subtle": {"type": "color", "value": "#1F1F23"},
    "green-success": {"type": "color", "value": "#22C55E"},
    "orange-light": {"type": "color", "value": "#FF8A4C"},
    "orange-primary": {"type": "color", "value": "#FF5C00"},
    "text-disabled": {"type": "color", "value": "#6B6B70"},
    "text-muted": {"type": "color", "value": "#FFFFFFCC"},
    "text-primary": {"type": "color", "value": "#FFFFFF"},
    "text-secondary": {"type": "color", "value": "#ADADB0"},
    "text-tertiary": {"type": "color", "value": "#8B8B90"}
  }
}
