{
  "version": "2.6",
  "children": [
    {
      "type": "frame",
      "id": "BackupRestoreScreen",
      "name": "Screen/BackupRestore",
      "reusable": true,
      "width": 480,
      "height": 680,
      "fill": "$bg-page",
      "cornerRadius": 20,
      "layout": "vertical",
      "children": [
        {
          "type": "frame",
          "id": "BackupHeader",
          "width": "fill_container",
          "fill": "$bg-elevated",
          "padding": [16, 20],
          "gap": 12,
          "alignItems": "center",
          "children": [
            {"type": "frame", "id": "BackupIconBg", "width": 44, "height": 44, "fill": "#22C55E15", "cornerRadius": 12, "justifyContent": "center", "alignItems": "center", "children": [
              {"type": "icon_font", "id": "BackupIcon", "width": 22, "height": 22, "iconFontName": "cloud", "iconFontFamily": "lucide", "fill": "#22C55E"}
            ]},
            {"type": "frame", "id": "BackupTitleBox", "width": "fill_container", "layout": "vertical", "gap": 2, "children": [
              {"type": "text", "id": "BackupTitle", "fill": "$text-primary", "content": "Sao Lưu & Khôi Phục", "fontFamily": "Roboto", "fontSize": 18, "fontWeight": "700"},
              {"type": "text", "id": "BackupSubtitle", "fill": "$text-tertiary", "content": "Quản lý dữ liệu an toàn", "fontFamily": "Roboto", "fontSize": 13}
            ]},
            {"type": "frame", "id": "BackupClose", "width": 36, "height": 36, "fill": "$bg-interactive", "cornerRadius": 10, "justifyContent": "center", "alignItems": "center", "children": [
              {"type": "icon_font", "id": "BackupCloseIcon", "width": 18, "height": 18, "iconFontName": "x", "iconFontFamily": "lucide", "fill": "$text-secondary"}
            ]}
          ]
        },
        {
          "type": "frame",
          "id": "BackupStatus",
          "width": "fill_container",
          "fill": "#22C55E15",
          "padding": [16, 20],
          "gap": 12,
          "alignItems": "center",
          "children": [
            {"type": "frame", "id": "StatusIcon", "width": 48, "height": 48, "fill": "#22C55E", "cornerRadius": 24, "justifyContent": "center", "alignItems": "center", "children": [
              {"type": "icon_font", "id": "StatusCheckIcon", "width": 24, "height": 24, "iconFontName": "cloud-check", "iconFontFamily": "lucide", "fill": "#FFFFFF"}
            ]},
            {"type": "frame", "id": "StatusInfo", "width": "fill_container", "layout": "vertical", "gap": 4, "children": [
              {"type": "text", "id": "StatusTitle", "fill": "#22C55E", "content": "Đã đồng bộ", "fontFamily": "Roboto", "fontSize": 15, "fontWeight": "600"},
              {"type": "text", "id": "StatusTime", "fill": "$text-tertiary", "content": "Lần cuối: 06/02/2026 - 20:45", "fontFamily": "Roboto", "fontSize": 12}
            ]},
            {"type": "frame", "id": "SyncBtn", "fill": "$bg-page", "cornerRadius": 10, "padding": [10, 14], "gap": 6, "alignItems": "center", "children": [
              {"type": "icon_font", "id": "SyncIcon", "width": 16, "height": 16, "iconFontName": "refresh-cw", "iconFontFamily": "lucide", "fill": "$text-secondary"},
              {"type": "text", "id": "SyncText", "fill": "$text-secondary", "content": "Đồng bộ", "fontFamily": "Roboto", "fontSize": 13}
            ]}
          ]
        },
        {
          "type": "frame",
          "id": "BackupContent",
          "width": "fill_container",
          "height": "fill_container",
          "layout": "vertical",
          "padding": [16, 20],
          "gap": 16,
          "children": [
            {"type": "frame", "id": "BackupSection", "width": "fill_container", "layout": "vertical", "gap": 10, "children": [
              {"type": "text", "id": "BackupSectionTitle", "fill": "$text-secondary", "content": "Sao lưu dữ liệu", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "600"},
              {"type": "frame", "id": "BackupCard", "width": "fill_container", "fill": "$bg-elevated", "cornerRadius": 14, "padding": 14, "gap": 12, "alignItems": "center", "children": [
                {"type": "frame", "id": "BackupIconCloud", "width": 40, "height": 40, "fill": "#3B82F620", "cornerRadius": 10, "justifyContent": "center", "alignItems": "center", "children": [
                  {"type": "icon_font", "id": "BackupCloudIcon", "width": 20, "height": 20, "iconFontName": "cloud-upload", "iconFontFamily": "lucide", "fill": "#3B82F6"}
                ]},
                {"type": "frame", "id": "BackupCardInfo", "width": "fill_container", "layout": "vertical", "gap": 2, "children": [
                  {"type": "text", "id": "BackupCardTitle", "fill": "$text-primary", "content": "Sao lưu lên Cloud", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600"},
                  {"type": "text", "id": "BackupCardDesc", "fill": "$text-tertiary", "content": "Tự động mỗi 6 giờ", "fontFamily": "Roboto", "fontSize": 12}
                ]},
                {"type": "frame", "id": "BackupNowBtn", "fill": "$orange-primary", "cornerRadius": 8, "padding": [8, 12], "children": [
                  {"type": "text", "id": "BackupNowText", "fill": "#FFFFFF", "content": "Backup", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "600"}
                ]}
              ]},
              {"type": "frame", "id": "LocalBackupCard", "width": "fill_container", "fill": "$bg-elevated", "cornerRadius": 14, "padding": 14, "gap": 12, "alignItems": "center", "children": [
                {"type": "frame", "id": "LocalIconBox", "width": 40, "height": 40, "fill": "#8B5CF620", "cornerRadius": 10, "justifyContent": "center", "alignItems": "center", "children": [
                  {"type": "icon_font", "id": "LocalIcon", "width": 20, "height": 20, "iconFontName": "hard-drive", "iconFontFamily": "lucide", "fill": "#8B5CF6"}
                ]},
                {"type": "frame", "id": "LocalCardInfo", "width": "fill_container", "layout": "vertical", "gap": 2, "children": [
                  {"type": "text", "id": "LocalCardTitle", "fill": "$text-primary", "content": "Lưu trữ ngoại tuyến", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600"},
                  {"type": "text", "id": "LocalCardDesc", "fill": "$text-tertiary", "content": "Tải về thiết bị", "fontFamily": "Roboto", "fontSize": 12}
                ]},
                {"type": "frame", "id": "LocalExportBtn", "fill": "$bg-interactive", "cornerRadius": 8, "padding": [8, 12], "children": [
                  {"type": "text", "id": "LocalExportText", "fill": "$text-secondary", "content": "Tải về", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"}
                ]}
              ]}
            ]},
            {"type": "frame", "id": "RestoreSection", "width": "fill_container", "layout": "vertical", "gap": 10, "children": [
              {"type": "text", "id": "RestoreSectionTitle", "fill": "$text-secondary", "content": "Phiên bản sao lưu", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "600"},
              {"type": "frame", "id": "BackupList", "width": "fill_container", "layout": "vertical", "gap": 8, "children": [
                {"type": "frame", "id": "Backup1", "width": "fill_container", "fill": "$bg-elevated", "cornerRadius": 12, "padding": 12, "gap": 10, "alignItems": "center", "children": [
                  {"type": "frame", "id": "Backup1Icon", "width": 36, "height": 36, "fill": "#22C55E20", "cornerRadius": 8, "justifyContent": "center", "alignItems": "center", "children": [
                    {"type": "icon_font", "id": "Backup1IconI", "width": 18, "height": 18, "iconFontName": "check", "iconFontFamily": "lucide", "fill": "#22C55E"}
                  ]},
                  {"type": "frame", "id": "Backup1Info", "width": "fill_container", "layout": "vertical", "gap": 2, "children": [
                    {"type": "text", "id": "Backup1Time", "fill": "$text-primary", "content": "06/02/2026 - 20:45", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "500"},
                    {"type": "text", "id": "Backup1Size", "fill": "$text-tertiary", "content": "45.2 MB • Cloud", "fontFamily": "Roboto", "fontSize": 11}
                  ]},
                  {"type": "text", "id": "Backup1Label", "fill": "#22C55E", "content": "Mới nhất", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "600"}
                ]},
                {"type": "frame", "id": "Backup2", "width": "fill_container", "fill": "$bg-elevated", "cornerRadius": 12, "padding": 12, "gap": 10, "alignItems": "center", "children": [
                  {"type": "frame", "id": "Backup2Icon", "width": 36, "height": 36, "fill": "$bg-interactive", "cornerRadius": 8, "justifyContent": "center", "alignItems": "center", "children": [
                    {"type": "icon_font", "id": "Backup2IconI", "width": 18, "height": 18, "iconFontName": "cloud", "iconFontFamily": "lucide", "fill": "$text-tertiary"}
                  ]},
                  {"type": "frame", "id": "Backup2Info", "width": "fill_container", "layout": "vertical", "gap": 2, "children": [
                    {"type": "text", "id": "Backup2Time", "fill": "$text-primary", "content": "06/02/2026 - 14:30", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "500"},
                    {"type": "text", "id": "Backup2Size", "fill": "$text-tertiary", "content": "44.8 MB • Cloud", "fontFamily": "Roboto", "fontSize": 11}
                  ]},
                  {"type": "frame", "id": "Backup2Action", "fill": "$bg-interactive", "cornerRadius": 6, "padding": [6, 10], "children": [
                    {"type": "text", "id": "Backup2ActionText", "fill": "$text-secondary", "content": "Khôi phục", "fontFamily": "Roboto", "fontSize": 11}
                  ]}
                ]},
                {"type": "frame", "id": "Backup3", "width": "fill_container", "fill": "$bg-elevated", "cornerRadius": 12, "padding": 12, "gap": 10, "alignItems": "center", "children": [
                  {"type": "frame", "id": "Backup3Icon", "width": 36, "height": 36, "fill": "$bg-interactive", "cornerRadius": 8, "justifyContent": "center", "alignItems": "center", "children": [
                    {"type": "icon_font", "id": "Backup3IconI", "width": 18, "height": 18, "iconFontName": "cloud", "iconFontFamily": "lucide", "fill": "$text-tertiary"}
                  ]},
                  {"type": "frame", "id": "Backup3Info", "width": "fill_container", "layout": "vertical", "gap": 2, "children": [
                    {"type": "text", "id": "Backup3Time", "fill": "$text-primary", "content": "05/02/2026 - 20:45", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "500"},
                    {"type": "text", "id": "Backup3Size", "fill": "$text-tertiary", "content": "43.5 MB • Cloud", "fontFamily": "Roboto", "fontSize": 11}
                  ]},
                  {"type": "frame", "id": "Backup3Action", "fill": "$bg-interactive", "cornerRadius": 6, "padding": [6, 10], "children": [
                    {"type": "text", "id": "Backup3ActionText", "fill": "$text-secondary", "content": "Khôi phục", "fontFamily": "Roboto", "fontSize": 11}
                  ]}
                ]}
              ]}
            ]}
          ]
        },
        {
          "type": "frame",
          "id": "BackupFooter",
          "width": "fill_container",
          "fill": "$bg-elevated",
          "stroke": {"thickness": 1, "fill": "$border-subtle"},
          "padding": [12, 20],
          "gap": 8,
          "alignItems": "center",
          "children": [
            {"type": "icon_font", "id": "FooterWarnIcon", "width": 16, "height": 16, "iconFontName": "shield-check", "iconFontFamily": "lucide", "fill": "#22C55E"},
            {"type": "text", "id": "FooterText", "fill": "$text-tertiary", "content": "Dữ liệu được mã hóa AES-256", "fontFamily": "Roboto", "fontSize": 12, "width": "fill_container"}
          ]
        }
      ]
    }
  ],
  "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"}
  }
}
