{
  "version": "2.7",
  "children": [
    {
      "type": "frame",
      "id": "ShiftReportScreen",
      "x": 0,
      "y": 0,
      "name": "Report/Shift",
      "reusable": true,
      "clip": true,
      "width": 480,
      "height": 762,
      "fill": "$bg-page",
      "layout": "vertical",
      "children": [
        {
          "type": "frame",
          "id": "ShiftHeader",
          "width": "fill_container",
          "fill": "$bg-elevated",
          "stroke": {
            "thickness": 1,
            "fill": "$border-subtle"
          },
          "padding": [
            20,
            24
          ],
          "justifyContent": "space_between",
          "alignItems": "center",
          "children": [
            {
              "type": "frame",
              "id": "ShiftHeaderLeft",
              "gap": 12,
              "alignItems": "center",
              "children": [
                {
                  "type": "frame",
                  "id": "ShiftBackBtn",
                  "width": 40,
                  "height": 40,
                  "fill": "$bg-interactive",
                  "cornerRadius": 10,
                  "justifyContent": "center",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "icon_font",
                      "id": "ShiftBackIcon",
                      "width": 20,
                      "height": 20,
                      "iconFontName": "arrow-left",
                      "iconFontFamily": "lucide",
                      "fill": "$text-secondary"
                    }
                  ]
                },
                {
                  "type": "text",
                  "id": "ShiftTitle",
                  "fill": "$text-primary",
                  "content": "Báo cáo ca làm",
                  "fontFamily": "Roboto",
                  "fontSize": 18,
                  "fontWeight": "700"
                }
              ]
            },
            {
              "type": "frame",
              "id": "ShiftPrintBtn",
              "fill": "$bg-interactive",
              "cornerRadius": 10,
              "gap": 8,
              "padding": [
                10,
                14
              ],
              "alignItems": "center",
              "children": [
                {
                  "type": "icon_font",
                  "id": "ShiftPrintIcon",
                  "width": 18,
                  "height": 18,
                  "iconFontName": "printer",
                  "iconFontFamily": "lucide",
                  "fill": "$text-primary"
                },
                {
                  "type": "text",
                  "id": "ShiftPrintText",
                  "fill": "$text-primary",
                  "content": "In",
                  "fontFamily": "Roboto",
                  "fontSize": 14,
                  "fontWeight": "500"
                }
              ]
            }
          ]
        },
        {
          "type": "frame",
          "id": "ShiftContent",
          "width": "fill_container",
          "height": "fill_container",
          "layout": "vertical",
          "gap": 16,
          "padding": 20,
          "children": [
            {
              "type": "frame",
              "id": "ShiftInfoCard",
              "width": "fill_container",
              "fill": "$bg-elevated",
              "cornerRadius": 14,
              "gap": 12,
              "padding": 16,
              "alignItems": "center",
              "children": [
                {
                  "type": "frame",
                  "id": "ShiftStaffAvatar",
                  "width": 48,
                  "height": 48,
                  "fill": "$orange-primary",
                  "cornerRadius": 24,
                  "justifyContent": "center",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "text",
                      "id": "ShiftStaffInitial",
                      "fill": "$text-primary",
                      "content": "NT",
                      "fontFamily": "Roboto",
                      "fontSize": 18,
                      "fontWeight": "700"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "ShiftStaffInfo",
                  "width": "fill_container",
                  "layout": "vertical",
                  "gap": 4,
                  "children": [
                    {
                      "type": "text",
                      "id": "ShiftStaffName",
                      "fill": "$text-primary",
                      "content": "Nguyễn Thảo",
                      "fontFamily": "Roboto",
                      "fontSize": 16,
                      "fontWeight": "600"
                    },
                    {
                      "type": "text",
                      "id": "ShiftTime",
                      "fill": "$text-tertiary",
                      "content": "Ca Chiều: 14:02 - 22:00",
                      "fontFamily": "Roboto",
                      "fontSize": 13,
                      "fontWeight": "normal"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "ShiftDuration",
                  "fill": "#22C55E20",
                  "cornerRadius": 8,
                  "padding": [
                    8,
                    12
                  ],
                  "children": [
                    {
                      "type": "text",
                      "id": "ShiftDurationText",
                      "fill": "#22C55E",
                      "content": "7h 58p",
                      "fontFamily": "Roboto",
                      "fontSize": 14,
                      "fontWeight": "600"
                    }
                  ]
                }
              ]
            },
            {
              "type": "frame",
              "id": "ShiftSalesCard",
              "width": "fill_container",
              "fill": {
                "type": "gradient",
                "gradientType": "linear",
                "enabled": true,
                "rotation": 135,
                "size": {
                  "height": 1
                },
                "colors": [
                  {
                    "color": "#22C55E20",
                    "position": 0
                  },
                  {
                    "color": "#16A34A10",
                    "position": 1
                  }
                ]
              },
              "cornerRadius": 16,
              "stroke": {
                "thickness": 1,
                "fill": "#22C55E40"
              },
              "layout": "vertical",
              "gap": 16,
              "padding": 20,
              "children": [
                {
                  "type": "frame",
                  "id": "ShiftSalesHeader",
                  "width": "fill_container",
                  "justifyContent": "space_between",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "text",
                      "id": "ShiftSalesLabel",
                      "fill": "$text-primary",
                      "content": "Tổng doanh thu",
                      "fontFamily": "Roboto",
                      "fontSize": 15,
                      "fontWeight": "600"
                    },
                    {
                      "type": "text",
                      "id": "ShiftSalesValue",
                      "fill": "#22C55E",
                      "content": "12,580,000₫",
                      "fontFamily": "Roboto",
                      "fontSize": 24,
                      "fontWeight": "700"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "ShiftSalesStats",
                  "width": "fill_container",
                  "gap": 12,
                  "children": [
                    {
                      "type": "frame",
                      "id": "ShiftSalesStat1",
                      "width": "fill_container",
                      "fill": "$bg-elevated",
                      "cornerRadius": 10,
                      "layout": "vertical",
                      "gap": 4,
                      "padding": 12,
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "text",
                          "id": "ShiftSalesStat1Value",
                          "fill": "$text-primary",
                          "content": "87",
                          "fontFamily": "Roboto",
                          "fontSize": 22,
                          "fontWeight": "700"
                        },
                        {
                          "type": "text",
                          "id": "ShiftSalesStat1Label",
                          "fill": "$text-tertiary",
                          "content": "Đơn hàng",
                          "fontFamily": "Roboto",
                          "fontSize": 12,
                          "fontWeight": "normal"
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "ShiftSalesStat2",
                      "width": "fill_container",
                      "fill": "$bg-elevated",
                      "cornerRadius": 10,
                      "layout": "vertical",
                      "gap": 4,
                      "padding": 12,
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "text",
                          "id": "ShiftSalesStat2Value",
                          "fill": "$text-primary",
                          "content": "144,598",
                          "fontFamily": "Roboto",
                          "fontSize": 22,
                          "fontWeight": "700"
                        },
                        {
                          "type": "text",
                          "id": "ShiftSalesStat2Label",
                          "fill": "$text-tertiary",
                          "content": "TB/đơn",
                          "fontFamily": "Roboto",
                          "fontSize": 12,
                          "fontWeight": "normal"
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "type": "frame",
              "id": "ShiftPaymentSection",
              "width": "fill_container",
              "fill": "$bg-elevated",
              "cornerRadius": 14,
              "layout": "vertical",
              "gap": 14,
              "padding": 16,
              "children": [
                {
                  "type": "text",
                  "id": "ShiftPaymentLabel",
                  "fill": "$text-primary",
                  "content": "Phương thức thanh toán",
                  "fontFamily": "Roboto",
                  "fontSize": 15,
                  "fontWeight": "600"
                },
                {
                  "type": "frame",
                  "id": "ShiftPaymentRow1",
                  "width": "fill_container",
                  "justifyContent": "space_between",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "frame",
                      "id": "ShiftPaymentRow1Left",
                      "gap": 10,
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "frame",
                          "id": "ShiftPaymentRow1Icon",
                          "width": 32,
                          "height": 32,
                          "fill": "#22C55E20",
                          "cornerRadius": 8,
                          "justifyContent": "center",
                          "alignItems": "center",
                          "children": [
                            {
                              "type": "icon_font",
                              "id": "ShiftPaymentRow1IconInner",
                              "width": 16,
                              "height": 16,
                              "iconFontName": "banknote",
                              "iconFontFamily": "lucide",
                              "fill": "#22C55E"
                            }
                          ]
                        },
                        {
                          "type": "text",
                          "id": "ShiftPaymentRow1Name",
                          "fill": "$text-secondary",
                          "content": "Tiền mặt",
                          "fontFamily": "Roboto",
                          "fontSize": 14,
                          "fontWeight": "normal"
                        }
                      ]
                    },
                    {
                      "type": "text",
                      "id": "ShiftPaymentRow1Value",
                      "fill": "$text-primary",
                      "content": "7,230,000₫",
                      "fontFamily": "Roboto",
                      "fontSize": 14,
                      "fontWeight": "600"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "ShiftPaymentRow2",
                  "width": "fill_container",
                  "justifyContent": "space_between",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "frame",
                      "id": "ShiftPaymentRow2Left",
                      "gap": 10,
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "frame",
                          "id": "ShiftPaymentRow2Icon",
                          "width": 32,
                          "height": 32,
                          "fill": "#3B82F620",
                          "cornerRadius": 8,
                          "justifyContent": "center",
                          "alignItems": "center",
                          "children": [
                            {
                              "type": "icon_font",
                              "id": "ShiftPaymentRow2IconInner",
                              "width": 16,
                              "height": 16,
                              "iconFontName": "credit-card",
                              "iconFontFamily": "lucide",
                              "fill": "#3B82F6"
                            }
                          ]
                        },
                        {
                          "type": "text",
                          "id": "ShiftPaymentRow2Name",
                          "fill": "$text-secondary",
                          "content": "Thẻ",
                          "fontFamily": "Roboto",
                          "fontSize": 14,
                          "fontWeight": "normal"
                        }
                      ]
                    },
                    {
                      "type": "text",
                      "id": "ShiftPaymentRow2Value",
                      "fill": "$text-primary",
                      "content": "3,150,000₫",
                      "fontFamily": "Roboto",
                      "fontSize": 14,
                      "fontWeight": "600"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "ShiftPaymentRow3",
                  "width": "fill_container",
                  "justifyContent": "space_between",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "frame",
                      "id": "ShiftPaymentRow3Left",
                      "gap": 10,
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "frame",
                          "id": "ShiftPaymentRow3Icon",
                          "width": 32,
                          "height": 32,
                          "fill": "#8B5CF620",
                          "cornerRadius": 8,
                          "justifyContent": "center",
                          "alignItems": "center",
                          "children": [
                            {
                              "type": "icon_font",
                              "id": "ShiftPaymentRow3IconInner",
                              "width": 16,
                              "height": 16,
                              "iconFontName": "qr-code",
                              "iconFontFamily": "lucide",
                              "fill": "#8B5CF6"
                            }
                          ]
                        },
                        {
                          "type": "text",
                          "id": "ShiftPaymentRow3Name",
                          "fill": "$text-secondary",
                          "content": "VietQR",
                          "fontFamily": "Roboto",
                          "fontSize": 14,
                          "fontWeight": "normal"
                        }
                      ]
                    },
                    {
                      "type": "text",
                      "id": "ShiftPaymentRow3Value",
                      "fill": "$text-primary",
                      "content": "2,200,000₫",
                      "fontFamily": "Roboto",
                      "fontSize": 14,
                      "fontWeight": "600"
                    }
                  ]
                }
              ]
            },
            {
              "type": "frame",
              "id": "ShiftCashSection",
              "width": "fill_container",
              "fill": "$bg-elevated",
              "cornerRadius": 14,
              "layout": "vertical",
              "gap": 12,
              "padding": 16,
              "children": [
                {
                  "type": "text",
                  "id": "ShiftCashLabel",
                  "fill": "$text-primary",
                  "content": "Két tiền",
                  "fontFamily": "Roboto",
                  "fontSize": 15,
                  "fontWeight": "600"
                },
                {
                  "type": "frame",
                  "id": "ShiftCashRow1",
                  "width": "fill_container",
                  "justifyContent": "space_between",
                  "children": [
                    {
                      "type": "text",
                      "id": "ShiftCashRow1Label",
                      "fill": "$text-tertiary",
                      "content": "Tiền đầu ca",
                      "fontFamily": "Roboto",
                      "fontSize": 13,
                      "fontWeight": "normal"
                    },
                    {
                      "type": "text",
                      "id": "ShiftCashRow1Value",
                      "fill": "$text-primary",
                      "content": "2,000,000₫",
                      "fontFamily": "Roboto",
                      "fontSize": 13,
                      "fontWeight": "500"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "ShiftCashRow2",
                  "width": "fill_container",
                  "justifyContent": "space_between",
                  "children": [
                    {
                      "type": "text",
                      "id": "ShiftCashRow2Label",
                      "fill": "$text-tertiary",
                      "content": "Thu tiền mặt",
                      "fontFamily": "Roboto",
                      "fontSize": 13,
                      "fontWeight": "normal"
                    },
                    {
                      "type": "text",
                      "id": "ShiftCashRow2Value",
                      "fill": "#22C55E",
                      "content": "+7,230,000₫",
                      "fontFamily": "Roboto",
                      "fontSize": 13,
                      "fontWeight": "500"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "ShiftCashRow3",
                  "width": "fill_container",
                  "justifyContent": "space_between",
                  "children": [
                    {
                      "type": "text",
                      "id": "ShiftCashRow3Label",
                      "fill": "$text-tertiary",
                      "content": "Chi ra",
                      "fontFamily": "Roboto",
                      "fontSize": 13,
                      "fontWeight": "normal"
                    },
                    {
                      "type": "text",
                      "id": "ShiftCashRow3Value",
                      "fill": "#EF4444",
                      "content": "-320,000₫",
                      "fontFamily": "Roboto",
                      "fontSize": 13,
                      "fontWeight": "500"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "ShiftCashDivider",
                  "width": "fill_container",
                  "height": 1,
                  "fill": "$border-subtle"
                },
                {
                  "type": "frame",
                  "id": "ShiftCashTotal",
                  "width": "fill_container",
                  "justifyContent": "space_between",
                  "children": [
                    {
                      "type": "text",
                      "id": "ShiftCashTotalLabel",
                      "fill": "$text-primary",
                      "content": "Tiền cuối ca",
                      "fontFamily": "Roboto",
                      "fontSize": 14,
                      "fontWeight": "600"
                    },
                    {
                      "type": "text",
                      "id": "ShiftCashTotalValue",
                      "fill": "$orange-primary",
                      "content": "8,910,000₫",
                      "fontFamily": "Roboto",
                      "fontSize": 16,
                      "fontWeight": "700"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ],
  "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"
    }
  }
}