{
  "version": "2.7",
  "children": [
    {
      "type": "frame",
      "id": "ConfirmationDialog",
      "x": 0,
      "y": 0,
      "name": "Dialog/Confirmation",
      "reusable": true,
      "clip": true,
      "width": 360,
      "height": 340,
      "fill": "$bg-elevated",
      "cornerRadius": 24,
      "layout": "vertical",
      "children": [
        {
          "type": "frame",
          "id": "ConfirmContent",
          "width": "fill_container",
          "height": "fill_container",
          "layout": "vertical",
          "gap": 16,
          "padding": [
            32,
            28
          ],
          "justifyContent": "center",
          "alignItems": "center",
          "children": [
            {
              "type": "frame",
              "id": "ConfirmIconBg",
              "width": 72,
              "height": 72,
              "fill": "#EF444415",
              "cornerRadius": 36,
              "justifyContent": "center",
              "alignItems": "center",
              "children": [
                {
                  "type": "frame",
                  "id": "ConfirmIconInner",
                  "width": 52,
                  "height": 52,
                  "fill": "#EF444420",
                  "cornerRadius": 26,
                  "justifyContent": "center",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "icon_font",
                      "id": "ConfirmIcon",
                      "width": 28,
                      "height": 28,
                      "iconFontName": "alert-triangle",
                      "iconFontFamily": "lucide",
                      "fill": "#EF4444"
                    }
                  ]
                }
              ]
            },
            {
              "type": "frame",
              "id": "ConfirmText",
              "width": "fill_container",
              "layout": "vertical",
              "gap": 6,
              "alignItems": "center",
              "children": [
                {
                  "type": "text",
                  "id": "ConfirmTitle",
                  "fill": "$text-primary",
                  "content": "Xác nhận hủy đơn?",
                  "textAlign": "center",
                  "fontFamily": "Roboto",
                  "fontSize": 18,
                  "fontWeight": "700"
                },
                {
                  "type": "text",
                  "id": "ConfirmDesc",
                  "fill": "$text-secondary",
                  "content": "Thao tác này không thể hoàn tác.\nBạn có chắc chắn muốn hủy đơn hàng này?",
                  "textAlign": "center",
                  "fontFamily": "Roboto",
                  "fontSize": 14,
                  "fontWeight": "normal"
                }
              ]
            }
          ]
        },
        {
          "type": "frame",
          "id": "ConfirmFooter",
          "width": "fill_container",
          "stroke": {
            "thickness": 1,
            "fill": "$border-subtle"
          },
          "gap": 12,
          "padding": [
            16,
            24
          ],
          "children": [
            {
              "type": "frame",
              "id": "ConfirmCancelBtn",
              "width": "fill_container",
              "height": 48,
              "fill": "$bg-interactive",
              "cornerRadius": 12,
              "justifyContent": "center",
              "alignItems": "center",
              "children": [
                {
                  "type": "text",
                  "id": "ConfirmCancelText",
                  "fill": "$text-secondary",
                  "content": "Quay lại",
                  "fontFamily": "Roboto",
                  "fontSize": 14,
                  "fontWeight": "500"
                }
              ]
            },
            {
              "type": "frame",
              "id": "ConfirmYesBtn",
              "width": "fill_container",
              "height": 48,
              "fill": {
                "type": "gradient",
                "gradientType": "linear",
                "enabled": true,
                "rotation": 135,
                "size": {
                  "height": 1
                },
                "colors": [
                  {
                    "color": "#EF4444",
                    "position": 0
                  },
                  {
                    "color": "#DC2626",
                    "position": 1
                  }
                ]
              },
              "cornerRadius": 12,
              "gap": 6,
              "justifyContent": "center",
              "alignItems": "center",
              "children": [
                {
                  "type": "icon_font",
                  "id": "ConfirmYesIcon",
                  "width": 18,
                  "height": 18,
                  "iconFontName": "trash-2",
                  "iconFontFamily": "lucide",
                  "fill": "$text-primary"
                },
                {
                  "type": "text",
                  "id": "ConfirmYesText",
                  "fill": "$text-primary",
                  "content": "Hủy đơn",
                  "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"
    }
  }
}