{
  "version": "2.7",
  "children": [
    {
      "type": "frame",
      "id": "ServicePackageDialog",
      "x": 0,
      "y": 0,
      "name": "Dialog/ServicePackage",
      "reusable": true,
      "clip": true,
      "width": 420,
      "height": 568,
      "fill": "$bg-elevated",
      "cornerRadius": 24,
      "layout": "vertical",
      "children": [
        {
          "type": "frame",
          "id": "ServicePackageHeader",
          "width": "fill_container",
          "stroke": {
            "thickness": 1,
            "fill": "$border-subtle"
          },
          "padding": [
            16,
            20
          ],
          "justifyContent": "space_between",
          "alignItems": "center",
          "children": [
            {
              "type": "frame",
              "id": "ServicePackageHeaderLeft",
              "gap": 12,
              "alignItems": "center",
              "children": [
                {
                  "type": "frame",
                  "id": "ServicePackageIconBg",
                  "width": 40,
                  "height": 40,
                  "fill": "#EC489920",
                  "cornerRadius": 12,
                  "justifyContent": "center",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "icon_font",
                      "id": "ServicePackageIcon",
                      "width": 20,
                      "height": 20,
                      "iconFontName": "package",
                      "iconFontFamily": "lucide",
                      "fill": "#EC4899"
                    }
                  ]
                },
                {
                  "type": "text",
                  "id": "ServicePackageTitle",
                  "fill": "$text-primary",
                  "content": "Gói dịch vụ",
                  "fontFamily": "Roboto",
                  "fontSize": 18,
                  "fontWeight": "700"
                }
              ]
            },
            {
              "type": "frame",
              "id": "ServicePackageCloseBtn",
              "width": 36,
              "height": 36,
              "fill": "$bg-interactive",
              "cornerRadius": 18,
              "justifyContent": "center",
              "alignItems": "center",
              "children": [
                {
                  "type": "icon_font",
                  "id": "ServicePackageCloseIcon",
                  "width": 18,
                  "height": 18,
                  "iconFontName": "x",
                  "iconFontFamily": "lucide",
                  "fill": "$text-secondary"
                }
              ]
            }
          ]
        },
        {
          "type": "frame",
          "id": "ServicePackageContent",
          "width": "fill_container",
          "height": "fill_container",
          "layout": "vertical",
          "gap": 16,
          "padding": 20,
          "children": [
            {
              "type": "frame",
              "id": "ServicePackageCustomer",
              "width": "fill_container",
              "fill": "$bg-page",
              "cornerRadius": 14,
              "gap": 12,
              "padding": 14,
              "alignItems": "center",
              "children": [
                {
                  "type": "frame",
                  "id": "ServicePackageAvatar",
                  "width": 44,
                  "height": 44,
                  "fill": "#14B8A630",
                  "cornerRadius": 22,
                  "justifyContent": "center",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "text",
                      "id": "ServicePackageInitial",
                      "fill": "#14B8A6",
                      "content": "LT",
                      "fontFamily": "Roboto",
                      "fontSize": 16,
                      "fontWeight": "700"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "ServicePackageCustomerInfo",
                  "width": "fill_container",
                  "layout": "vertical",
                  "gap": 2,
                  "children": [
                    {
                      "type": "text",
                      "id": "ServicePackageCustomerName",
                      "fill": "$text-primary",
                      "content": "Lê Thu",
                      "fontFamily": "Roboto",
                      "fontSize": 15,
                      "fontWeight": "600"
                    },
                    {
                      "type": "text",
                      "id": "ServicePackageCustomerPhone",
                      "fill": "$text-tertiary",
                      "content": "0901 234 567",
                      "fontFamily": "Roboto",
                      "fontSize": 13,
                      "fontWeight": "normal"
                    }
                  ]
                }
              ]
            },
            {
              "type": "frame",
              "id": "ServicePackageList",
              "width": "fill_container",
              "layout": "vertical",
              "gap": 10,
              "children": [
                {
                  "type": "text",
                  "id": "ServicePackageListLabel",
                  "fill": "$text-secondary",
                  "content": "Gói đã mua",
                  "fontFamily": "Roboto",
                  "fontSize": 13,
                  "fontWeight": "600"
                },
                {
                  "type": "frame",
                  "id": "Package1",
                  "width": "fill_container",
                  "fill": "$bg-page",
                  "cornerRadius": 14,
                  "stroke": {
                    "thickness": 2,
                    "fill": "#14B8A6"
                  },
                  "layout": "vertical",
                  "gap": 10,
                  "padding": 14,
                  "children": [
                    {
                      "type": "frame",
                      "id": "Package1Header",
                      "width": "fill_container",
                      "justifyContent": "space_between",
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "text",
                          "id": "Package1Name",
                          "fill": "$text-primary",
                          "content": "Gói Massage VIP",
                          "fontFamily": "Roboto",
                          "fontSize": 15,
                          "fontWeight": "600"
                        },
                        {
                          "type": "frame",
                          "id": "Package1Badge",
                          "fill": "#22C55E20",
                          "cornerRadius": 8,
                          "padding": [
                            4,
                            10
                          ],
                          "children": [
                            {
                              "type": "text",
                              "id": "Package1BadgeText",
                              "fill": "#22C55E",
                              "content": "Còn hạn",
                              "fontFamily": "Roboto",
                              "fontSize": 11,
                              "fontWeight": "600"
                            }
                          ]
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "Package1Progress",
                      "width": "fill_container",
                      "height": 8,
                      "fill": "$bg-interactive",
                      "cornerRadius": 4,
                      "children": [
                        {
                          "type": "frame",
                          "id": "Package1ProgressFill",
                          "width": "fit_content(0)",
                          "height": 8,
                          "fill": "#14B8A6",
                          "cornerRadius": 4
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "Package1Stats",
                      "width": "fill_container",
                      "justifyContent": "space_between",
                      "children": [
                        {
                          "type": "text",
                          "id": "Package1StatsUsed",
                          "fill": "$text-tertiary",
                          "content": "Đã dùng: 6/10 buổi",
                          "fontFamily": "Roboto",
                          "fontSize": 12,
                          "fontWeight": "normal"
                        },
                        {
                          "type": "text",
                          "id": "Package1StatsExpiry",
                          "fill": "$text-tertiary",
                          "content": "HSD: 30/06/2025",
                          "fontFamily": "Roboto",
                          "fontSize": 12,
                          "fontWeight": "normal"
                        }
                      ]
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "Package2",
                  "width": "fill_container",
                  "fill": "$bg-page",
                  "cornerRadius": 14,
                  "layout": "vertical",
                  "gap": 10,
                  "padding": 14,
                  "children": [
                    {
                      "type": "frame",
                      "id": "Package2Header",
                      "width": "fill_container",
                      "justifyContent": "space_between",
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "text",
                          "id": "Package2Name",
                          "fill": "$text-primary",
                          "content": "Gói Chăm sóc da",
                          "fontFamily": "Roboto",
                          "fontSize": 15,
                          "fontWeight": "600"
                        },
                        {
                          "type": "frame",
                          "id": "Package2Badge",
                          "fill": "#F59E0B20",
                          "cornerRadius": 8,
                          "padding": [
                            4,
                            10
                          ],
                          "children": [
                            {
                              "type": "text",
                              "id": "Package2BadgeText",
                              "fill": "#F59E0B",
                              "content": "Sắp hết",
                              "fontFamily": "Roboto",
                              "fontSize": 11,
                              "fontWeight": "600"
                            }
                          ]
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "Package2Progress",
                      "width": "fill_container",
                      "height": 8,
                      "fill": "$bg-interactive",
                      "cornerRadius": 4,
                      "children": [
                        {
                          "type": "frame",
                          "id": "Package2ProgressFill",
                          "width": "fit_content(0)",
                          "height": 8,
                          "fill": "#F59E0B",
                          "cornerRadius": 4
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "Package2Stats",
                      "width": "fill_container",
                      "justifyContent": "space_between",
                      "children": [
                        {
                          "type": "text",
                          "id": "Package2StatsUsed",
                          "fill": "$text-tertiary",
                          "content": "Đã dùng: 9/10 buổi",
                          "fontFamily": "Roboto",
                          "fontSize": 12,
                          "fontWeight": "normal"
                        },
                        {
                          "type": "text",
                          "id": "Package2StatsExpiry",
                          "fill": "$text-tertiary",
                          "content": "HSD: 15/03/2025",
                          "fontFamily": "Roboto",
                          "fontSize": 12,
                          "fontWeight": "normal"
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "type": "frame",
              "id": "ServicePackageSelected",
              "width": "fill_container",
              "fill": "#14B8A615",
              "cornerRadius": 12,
              "gap": 10,
              "padding": [
                12,
                16
              ],
              "alignItems": "center",
              "children": [
                {
                  "type": "icon_font",
                  "id": "ServicePackageSelectedIcon",
                  "width": 18,
                  "height": 18,
                  "iconFontName": "check-circle",
                  "iconFontFamily": "lucide",
                  "fill": "#14B8A6"
                },
                {
                  "type": "frame",
                  "id": "ServicePackageSelectedInfo",
                  "width": "fill_container",
                  "layout": "vertical",
                  "gap": 2,
                  "children": [
                    {
                      "type": "text",
                      "id": "ServicePackageSelectedTitle",
                      "fill": "#14B8A6",
                      "content": "Sử dụng 1 buổi từ gói VIP",
                      "fontFamily": "Roboto",
                      "fontSize": 14,
                      "fontWeight": "600"
                    },
                    {
                      "type": "text",
                      "id": "ServicePackageSelectedDesc",
                      "fill": "$text-tertiary",
                      "content": "Tiết kiệm 200,000₫",
                      "fontFamily": "Roboto",
                      "fontSize": 12,
                      "fontWeight": "normal"
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "type": "frame",
          "id": "ServicePackageFooter",
          "width": "fill_container",
          "stroke": {
            "thickness": 1,
            "fill": "$border-subtle"
          },
          "padding": [
            16,
            20
          ],
          "children": [
            {
              "type": "frame",
              "id": "ServicePackageApplyBtn",
              "width": "fill_container",
              "height": 52,
              "fill": {
                "type": "gradient",
                "gradientType": "linear",
                "enabled": true,
                "rotation": 135,
                "size": {
                  "height": 1
                },
                "colors": [
                  {
                    "color": "#FF5C00",
                    "position": 0
                  },
                  {
                    "color": "#FF8533",
                    "position": 1
                  }
                ]
              },
              "cornerRadius": 12,
              "gap": 10,
              "justifyContent": "center",
              "alignItems": "center",
              "children": [
                {
                  "type": "icon_font",
                  "id": "ServicePackageApplyIcon",
                  "width": 20,
                  "height": 20,
                  "iconFontName": "check",
                  "iconFontFamily": "lucide",
                  "fill": "$text-primary"
                },
                {
                  "type": "text",
                  "id": "ServicePackageApplyText",
                  "fill": "$text-primary",
                  "content": "Sử dụng gói",
                  "fontFamily": "Roboto",
                  "fontSize": 15,
                  "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"
    }
  }
}