{
  "version": "2.6",
  "children": [
    {
      "type": "frame",
      "id": "VIPBenefitsDialog",
      "name": "Dialog/VIPBenefits",
      "reusable": true,
      "width": 400,
      "height": 520,
      "fill": "$bg-elevated",
      "cornerRadius": 20,
      "layout": "vertical",
      "children": [
        {
          "type": "frame",
          "id": "VIPHeader",
          "width": "fill_container",
          "fill": {"type": "gradient", "gradientType": "linear", "rotation": 135, "colors": [{"color": "#EAB30820", "position": 0}, {"color": "#F5940810", "position": 1}]},
          "padding": [20, 24],
          "gap": 12,
          "alignItems": "center",
          "children": [
            {"type": "frame", "id": "VIPIconBg", "width": 56, "height": 56, "fill": {"type": "gradient", "gradientType": "linear", "rotation": 135, "colors": [{"color": "#EAB308", "position": 0}, {"color": "#F59408", "position": 1}]}, "cornerRadius": 28, "justifyContent": "center", "alignItems": "center", "children": [
              {"type": "icon_font", "id": "VIPIcon", "width": 28, "height": 28, "iconFontName": "crown", "iconFontFamily": "lucide", "fill": "#FFFFFF"}
            ]},
            {"type": "frame", "id": "VIPTitleBox", "width": "fill_container", "layout": "vertical", "gap": 4, "children": [
              {"type": "text", "id": "VIPTitle", "fill": "#EAB308", "content": "Thành Viên VIP Gold", "fontFamily": "Roboto", "fontSize": 18, "fontWeight": "700"},
              {"type": "text", "id": "VIPSubtitle", "fill": "$text-tertiary", "content": "Quyền lợi dành riêng cho bạn", "fontFamily": "Roboto", "fontSize": 13}
            ]}
          ]
        },
        {
          "type": "frame",
          "id": "VIPContent",
          "width": "fill_container",
          "height": "fill_container",
          "layout": "vertical",
          "padding": [16, 20],
          "gap": 12,
          "children": [
            {"type": "frame", "id": "Benefit1", "width": "fill_container", "fill": "$bg-page", "cornerRadius": 14, "padding": 14, "gap": 12, "alignItems": "center", "children": [
              {"type": "frame", "id": "Benefit1Icon", "width": 44, "height": 44, "fill": "#22C55E20", "cornerRadius": 12, "justifyContent": "center", "alignItems": "center", "children": [
                {"type": "icon_font", "id": "Benefit1IconI", "width": 22, "height": 22, "iconFontName": "percent", "iconFontFamily": "lucide", "fill": "#22C55E"}
              ]},
              {"type": "frame", "id": "Benefit1Info", "width": "fill_container", "layout": "vertical", "gap": 2, "children": [
                {"type": "text", "id": "Benefit1Title", "fill": "$text-primary", "content": "Giảm 15% mọi đơn", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600"},
                {"type": "text", "id": "Benefit1Desc", "fill": "$text-tertiary", "content": "Tự động áp dụng khi thanh toán", "fontFamily": "Roboto", "fontSize": 12}
              ]},
              {"type": "frame", "id": "Benefit1Badge", "fill": "#22C55E", "cornerRadius": 6, "padding": [4, 8], "children": [
                {"type": "text", "id": "Benefit1BadgeText", "fill": "#FFFFFF", "content": "Đang dùng", "fontFamily": "Roboto", "fontSize": 10, "fontWeight": "600"}
              ]}
            ]},
            {"type": "frame", "id": "Benefit2", "width": "fill_container", "fill": "$bg-page", "cornerRadius": 14, "padding": 14, "gap": 12, "alignItems": "center", "children": [
              {"type": "frame", "id": "Benefit2Icon", "width": 44, "height": 44, "fill": "#3B82F620", "cornerRadius": 12, "justifyContent": "center", "alignItems": "center", "children": [
                {"type": "icon_font", "id": "Benefit2IconI", "width": 22, "height": 22, "iconFontName": "gift", "iconFontFamily": "lucide", "fill": "#3B82F6"}
              ]},
              {"type": "frame", "id": "Benefit2Info", "width": "fill_container", "layout": "vertical", "gap": 2, "children": [
                {"type": "text", "id": "Benefit2Title", "fill": "$text-primary", "content": "Quà sinh nhật", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600"},
                {"type": "text", "id": "Benefit2Desc", "fill": "$text-tertiary", "content": "Voucher 500K vào tháng sinh nhật", "fontFamily": "Roboto", "fontSize": 12}
              ]},
              {"type": "frame", "id": "Benefit2Status", "layout": "vertical", "alignItems": "flex_end", "gap": 2, "children": [
                {"type": "text", "id": "Benefit2Days", "fill": "#3B82F6", "content": "28 ngày", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "600"},
                {"type": "text", "id": "Benefit2Label", "fill": "$text-tertiary", "content": "nữa", "fontFamily": "Roboto", "fontSize": 11}
              ]}
            ]},
            {"type": "frame", "id": "Benefit3", "width": "fill_container", "fill": "$bg-page", "cornerRadius": 14, "padding": 14, "gap": 12, "alignItems": "center", "children": [
              {"type": "frame", "id": "Benefit3Icon", "width": 44, "height": 44, "fill": "#EC489920", "cornerRadius": 12, "justifyContent": "center", "alignItems": "center", "children": [
                {"type": "icon_font", "id": "Benefit3IconI", "width": 22, "height": 22, "iconFontName": "star", "iconFontFamily": "lucide", "fill": "#EC4899"}
              ]},
              {"type": "frame", "id": "Benefit3Info", "width": "fill_container", "layout": "vertical", "gap": 2, "children": [
                {"type": "text", "id": "Benefit3Title", "fill": "$text-primary", "content": "Điểm thưởng x2", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600"},
                {"type": "text", "id": "Benefit3Desc", "fill": "$text-tertiary", "content": "Tích điểm gấp đôi mỗi giao dịch", "fontFamily": "Roboto", "fontSize": 12}
              ]},
              {"type": "frame", "id": "Benefit3Points", "layout": "vertical", "alignItems": "flex_end", "gap": 2, "children": [
                {"type": "text", "id": "Benefit3PointsVal", "fill": "#EC4899", "content": "2,450", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "600"},
                {"type": "text", "id": "Benefit3PointsLabel", "fill": "$text-tertiary", "content": "điểm", "fontFamily": "Roboto", "fontSize": 11}
              ]}
            ]},
            {"type": "frame", "id": "Benefit4", "width": "fill_container", "fill": "$bg-page", "cornerRadius": 14, "padding": 14, "gap": 12, "alignItems": "center", "children": [
              {"type": "frame", "id": "Benefit4Icon", "width": 44, "height": 44, "fill": "#8B5CF620", "cornerRadius": 12, "justifyContent": "center", "alignItems": "center", "children": [
                {"type": "icon_font", "id": "Benefit4IconI", "width": 22, "height": 22, "iconFontName": "ticket", "iconFontFamily": "lucide", "fill": "#8B5CF6"}
              ]},
              {"type": "frame", "id": "Benefit4Info", "width": "fill_container", "layout": "vertical", "gap": 2, "children": [
                {"type": "text", "id": "Benefit4Title", "fill": "$text-primary", "content": "Ưu đãi độc quyền", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600"},
                {"type": "text", "id": "Benefit4Desc", "fill": "$text-tertiary", "content": "Chương trình dành riêng VIP", "fontFamily": "Roboto", "fontSize": 12}
              ]},
              {"type": "frame", "id": "Benefit4New", "fill": "#8B5CF6", "cornerRadius": 6, "padding": [4, 8], "children": [
                {"type": "text", "id": "Benefit4NewText", "fill": "#FFFFFF", "content": "3 mới", "fontFamily": "Roboto", "fontSize": 10, "fontWeight": "600"}
              ]}
            ]}
          ]
        },
        {
          "type": "frame",
          "id": "VIPFooter",
          "width": "fill_container",
          "stroke": {"thickness": 1, "fill": "$border-subtle"},
          "gap": 12,
          "padding": [16, 20],
          "children": [
            {"type": "frame", "id": "ViewHistoryBtn", "width": "fill_container", "height": 46, "fill": "$bg-interactive", "cornerRadius": 12, "gap": 6, "justifyContent": "center", "alignItems": "center", "children": [
              {"type": "icon_font", "id": "ViewHistoryIcon", "width": 16, "height": 16, "iconFontName": "history", "iconFontFamily": "lucide", "fill": "$text-secondary"},
              {"type": "text", "id": "ViewHistoryText", "fill": "$text-secondary", "content": "Lịch sử", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "500"}
            ]},
            {"type": "frame", "id": "ApplyVIPBtn", "width": "fill_container", "height": 46, "fill": {"type": "gradient", "gradientType": "linear", "rotation": 135, "colors": [{"color": "#EAB308", "position": 0}, {"color": "#F59408", "position": 1}]}, "cornerRadius": 12, "gap": 8, "justifyContent": "center", "alignItems": "center", "children": [
              {"type": "icon_font", "id": "ApplyVIPIcon", "width": 18, "height": 18, "iconFontName": "crown", "iconFontFamily": "lucide", "fill": "#FFFFFF"},
              {"type": "text", "id": "ApplyVIPText", "fill": "#FFFFFF", "content": "Áp dụng -15%", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600"}
            ]}
          ]
        }
      ]
    }
  ],
  "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"}
  }
}
