{
  "version": "2.6",
  "children": [
    {
      "type": "frame",
      "id": "PaymentPendingScreen",
      "name": "Payment/Pending",
      "reusable": true,
      "width": 400,
      "height": 580,
      "fill": "$bg-elevated",
      "cornerRadius": 24,
      "layout": "vertical",
      "justifyContent": "center",
      "alignItems": "center",
      "clip": true,
      "children": [
        {
          "type": "frame",
          "id": "PendingContent",
          "width": "fill_container",
          "padding": 40,
          "layout": "vertical",
          "gap": 32,
          "alignItems": "center",
          "children": [
            {"type": "frame", "id": "PendingSpinner", "width": 120, "height": 120, "layout": "vertical", "justifyContent": "center", "alignItems": "center", "children": [
              {"type": "frame", "id": "PendingSpinnerOuter", "width": 120, "height": 120, "stroke": {"thickness": 4, "fill": "$bg-interactive"}, "cornerRadius": 60},
              {"type": "frame", "id": "PendingSpinnerArc", "width": 120, "height": 120, "x": 0, "y": 0, "stroke": {"thickness": 4, "fill": "$orange-primary"}, "cornerRadius": 60},
              {"type": "frame", "id": "PendingIconBg", "width": 80, "height": 80, "fill": "#FF5C0020", "cornerRadius": 40, "justifyContent": "center", "alignItems": "center", "children": [
                {"type": "icon_font", "id": "PendingIcon", "width": 36, "height": 36, "iconFontName": "loader", "iconFontFamily": "lucide", "fill": "$orange-primary"}
              ]}
            ]},
            {"type": "frame", "id": "PendingTextGroup", "width": "fill_container", "layout": "vertical", "gap": 12, "alignItems": "center", "children": [
              {"type": "text", "id": "PendingTitle", "fill": "$text-primary", "content": "Đang xử lý thanh toán", "fontFamily": "Roboto", "fontSize": 20, "fontWeight": "700", "textAlign": "center"},
              {"type": "text", "id": "PendingDesc", "fill": "$text-tertiary", "content": "Vui lòng chờ trong giây lát...", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "normal", "textAlign": "center"}
            ]},
            {"type": "frame", "id": "PendingAmountCard", "width": "fill_container", "fill": "$bg-page", "cornerRadius": 16, "padding": 20, "layout": "vertical", "gap": 12, "alignItems": "center", "children": [
              {"type": "text", "id": "PendingAmountLabel", "fill": "$text-tertiary", "content": "Số tiền thanh toán", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "normal"},
              {"type": "text", "id": "PendingAmountValue", "fill": "$orange-primary", "content": "530,250₫", "fontFamily": "Roboto", "fontSize": 32, "fontWeight": "700"},
              {"type": "frame", "id": "PendingMethodBadge", "fill": "#3B82F620", "cornerRadius": 8, "padding": [6, 12], "gap": 6, "alignItems": "center", "children": [
                {"type": "icon_font", "id": "PendingMethodIcon", "width": 16, "height": 16, "iconFontName": "credit-card", "iconFontFamily": "lucide", "fill": "#3B82F6"},
                {"type": "text", "id": "PendingMethodText", "fill": "#3B82F6", "content": "Visa •••• 4242", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "500"}
              ]}
            ]},
            {"type": "frame", "id": "PendingDots", "gap": 10, "alignItems": "center", "children": [
              {"type": "frame", "id": "PendingDot1", "width": 10, "height": 10, "fill": "$orange-primary", "cornerRadius": 5},
              {"type": "frame", "id": "PendingDot2", "width": 10, "height": 10, "fill": "#FF5C0080", "cornerRadius": 5},
              {"type": "frame", "id": "PendingDot3", "width": 10, "height": 10, "fill": "#FF5C0040", "cornerRadius": 5}
            ]}
          ]
        },
        {
          "type": "frame",
          "id": "PendingFooter",
          "width": "fill_container",
          "padding": [16, 24],
          "stroke": {"thickness": 1, "fill": "$border-subtle", "sides": ["top"]},
          "justifyContent": "center",
          "alignItems": "center",
          "children": [
            {"type": "frame", "id": "PendingWarning", "gap": 8, "alignItems": "center", "children": [
              {"type": "icon_font", "id": "PendingWarningIcon", "width": 16, "height": 16, "iconFontName": "alert-circle", "iconFontFamily": "lucide", "fill": "#F59E0B"},
              {"type": "text", "id": "PendingWarningText", "fill": "$text-tertiary", "content": "Không đóng cửa sổ này", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "normal"}
            ]}
          ]
        }
      ]
    }
  ],
  "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"}
  }
}
