{
  "version": "2.7",
  "children": [
    {
      "type": "frame",
      "id": "ManagerOverrideDialog",
      "x": 0,
      "y": 0,
      "name": "Dialog/ManagerOverride",
      "reusable": true,
      "clip": true,
      "width": 420,
      "height": 660,
      "fill": "$bg-elevated",
      "cornerRadius": 24,
      "layout": "vertical",
      "children": [
        {
          "type": "frame",
          "id": "OverrideHeader",
          "width": "fill_container",
          "stroke": {
            "thickness": 1,
            "fill": "$border-subtle"
          },
          "layout": "vertical",
          "gap": 12,
          "padding": 24,
          "alignItems": "center",
          "children": [
            {
              "type": "frame",
              "id": "OverrideIconBg",
              "width": 64,
              "height": 64,
              "fill": "#F59E0B20",
              "cornerRadius": 32,
              "justifyContent": "center",
              "alignItems": "center",
              "children": [
                {
                  "type": "icon_font",
                  "id": "OverrideIcon",
                  "width": 30,
                  "height": 30,
                  "iconFontName": "shield-alert",
                  "iconFontFamily": "lucide",
                  "fill": "#F59E0B"
                }
              ]
            },
            {
              "type": "text",
              "id": "OverrideTitle",
              "fill": "$text-primary",
              "content": "Yêu cầu phê duyệt",
              "textAlign": "center",
              "fontFamily": "Roboto",
              "fontSize": 20,
              "fontWeight": "700"
            },
            {
              "type": "text",
              "id": "OverrideSubtitle",
              "fill": "$text-tertiary",
              "content": "Thao tác này cần quản lý xác nhận",
              "textAlign": "center",
              "fontFamily": "Roboto",
              "fontSize": 14,
              "fontWeight": "normal"
            }
          ]
        },
        {
          "type": "frame",
          "id": "OverrideContent",
          "width": "fill_container",
          "height": "fill_container",
          "layout": "vertical",
          "gap": 20,
          "padding": 24,
          "children": [
            {
              "type": "frame",
              "id": "OverrideActionCard",
              "width": "fill_container",
              "fill": "#EF444420",
              "cornerRadius": 12,
              "gap": 12,
              "padding": 16,
              "alignItems": "center",
              "children": [
                {
                  "type": "frame",
                  "id": "OverrideActionIcon",
                  "width": 44,
                  "height": 44,
                  "fill": "#EF444430",
                  "cornerRadius": 10,
                  "justifyContent": "center",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "icon_font",
                      "id": "OverrideActionIconInner",
                      "width": 22,
                      "height": 22,
                      "iconFontName": "rotate-ccw",
                      "iconFontFamily": "lucide",
                      "fill": "#EF4444"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "OverrideActionInfo",
                  "width": "fill_container",
                  "layout": "vertical",
                  "gap": 4,
                  "children": [
                    {
                      "type": "text",
                      "id": "OverrideActionLabel",
                      "fill": "$text-tertiary",
                      "content": "Thao tác yêu cầu",
                      "fontFamily": "Roboto",
                      "fontSize": 12,
                      "fontWeight": "normal"
                    },
                    {
                      "type": "text",
                      "id": "OverrideActionName",
                      "fill": "#EF4444",
                      "content": "Hoàn tiền đơn hàng #HD240206",
                      "fontFamily": "Roboto",
                      "fontSize": 15,
                      "fontWeight": "600"
                    },
                    {
                      "type": "text",
                      "id": "OverrideActionAmount",
                      "fill": "$text-primary",
                      "content": "Số tiền: 530,250₫",
                      "fontFamily": "Roboto",
                      "fontSize": 14,
                      "fontWeight": "500"
                    }
                  ]
                }
              ]
            },
            {
              "type": "frame",
              "id": "OverrideReasonSection",
              "width": "fill_container",
              "layout": "vertical",
              "gap": 10,
              "children": [
                {
                  "type": "text",
                  "id": "OverrideReasonLabel",
                  "fill": "$text-secondary",
                  "content": "Lý do yêu cầu",
                  "fontFamily": "Roboto",
                  "fontSize": 14,
                  "fontWeight": "500"
                },
                {
                  "type": "frame",
                  "id": "OverrideReasonInput",
                  "width": "fill_container",
                  "height": 80,
                  "fill": "$bg-page",
                  "cornerRadius": 12,
                  "stroke": {
                    "thickness": 1,
                    "fill": "$border-default"
                  },
                  "padding": 14,
                  "children": [
                    {
                      "type": "text",
                      "id": "OverrideReasonText",
                      "fill": "$text-tertiary",
                      "content": "Khách hàng yêu cầu hoàn tiền do không hài lòng với \ndịch vụ",
                      "fontFamily": "Roboto",
                      "fontSize": 14,
                      "fontWeight": "normal"
                    }
                  ]
                }
              ]
            },
            {
              "type": "frame",
              "id": "OverrideStaffSection",
              "width": "fill_container",
              "layout": "vertical",
              "gap": 10,
              "children": [
                {
                  "type": "text",
                  "id": "OverrideStaffLabel",
                  "fill": "$text-secondary",
                  "content": "Nhân viên yêu cầu",
                  "fontFamily": "Roboto",
                  "fontSize": 14,
                  "fontWeight": "500"
                },
                {
                  "type": "frame",
                  "id": "OverrideStaffCard",
                  "width": "fill_container",
                  "fill": "$bg-page",
                  "cornerRadius": 12,
                  "gap": 12,
                  "padding": 14,
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "frame",
                      "id": "OverrideStaffAvatar",
                      "width": 44,
                      "height": 44,
                      "fill": "$orange-primary",
                      "cornerRadius": 22,
                      "justifyContent": "center",
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "text",
                          "id": "OverrideStaffInitial",
                          "fill": "$text-primary",
                          "content": "NT",
                          "fontFamily": "Roboto",
                          "fontSize": 16,
                          "fontWeight": "700"
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "OverrideStaffInfo",
                      "layout": "vertical",
                      "gap": 2,
                      "children": [
                        {
                          "type": "text",
                          "id": "OverrideStaffName",
                          "fill": "$text-primary",
                          "content": "Nguyễn Thảo",
                          "fontFamily": "Roboto",
                          "fontSize": 15,
                          "fontWeight": "600"
                        },
                        {
                          "type": "text",
                          "id": "OverrideStaffRole",
                          "fill": "$text-tertiary",
                          "content": "Thu ngân • 19:27",
                          "fontFamily": "Roboto",
                          "fontSize": 13,
                          "fontWeight": "normal"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "type": "frame",
          "id": "OverrideFooter",
          "width": "fill_container",
          "stroke": {
            "thickness": 1,
            "fill": "$border-subtle"
          },
          "gap": 12,
          "padding": [
            16,
            24
          ],
          "children": [
            {
              "type": "frame",
              "id": "OverrideRejectBtn",
              "width": "fill_container",
              "height": 52,
              "fill": "#EF444420",
              "cornerRadius": 12,
              "gap": 8,
              "justifyContent": "center",
              "alignItems": "center",
              "children": [
                {
                  "type": "icon_font",
                  "id": "OverrideRejectIcon",
                  "width": 20,
                  "height": 20,
                  "iconFontName": "x",
                  "iconFontFamily": "lucide",
                  "fill": "#EF4444"
                },
                {
                  "type": "text",
                  "id": "OverrideRejectText",
                  "fill": "#EF4444",
                  "content": "Từ chối",
                  "fontFamily": "Roboto",
                  "fontSize": 15,
                  "fontWeight": "600"
                }
              ]
            },
            {
              "type": "frame",
              "id": "OverrideApproveBtn",
              "width": "fill_container",
              "height": 52,
              "fill": {
                "type": "gradient",
                "gradientType": "linear",
                "enabled": true,
                "rotation": 135,
                "size": {
                  "height": 1
                },
                "colors": [
                  {
                    "color": "#22C55E",
                    "position": 0
                  },
                  {
                    "color": "#16A34A",
                    "position": 1
                  }
                ]
              },
              "cornerRadius": 12,
              "gap": 8,
              "justifyContent": "center",
              "alignItems": "center",
              "children": [
                {
                  "type": "icon_font",
                  "id": "OverrideApproveIcon",
                  "width": 20,
                  "height": 20,
                  "iconFontName": "check",
                  "iconFontFamily": "lucide",
                  "fill": "$text-primary"
                },
                {
                  "type": "text",
                  "id": "OverrideApproveText",
                  "fill": "$text-primary",
                  "content": "Phê duyệt",
                  "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"
    }
  }
}