{
  "version": "2.6",
  "children": [
    {
      "type": "frame",
      "id": "ClockInOutScreen",
      "name": "Screen/ClockInOut",
      "reusable": true,
      "width": 400,
      "height": 640,
      "fill": "$bg-elevated",
      "cornerRadius": 24,
      "layout": "vertical",
      "clip": true,
      "children": [
        {
          "type": "frame",
          "id": "ClockHeader",
          "width": "fill_container",
          "padding": [24, 24],
          "stroke": {"thickness": 1, "fill": "$border-subtle", "sides": ["bottom"]},
          "justifyContent": "space_between",
          "alignItems": "center",
          "children": [
            {"type": "text", "id": "ClockTitle", "fill": "$text-primary", "content": "Chấm công", "fontFamily": "Roboto", "fontSize": 20, "fontWeight": "700"},
            {"type": "frame", "id": "ClockCloseBtn", "width": 36, "height": 36, "fill": "$bg-interactive", "cornerRadius": 18, "justifyContent": "center", "alignItems": "center", "children": [
              {"type": "icon_font", "id": "ClockCloseIcon", "width": 18, "height": 18, "iconFontName": "x", "iconFontFamily": "lucide", "fill": "$text-secondary"}
            ]}
          ]
        },
        {
          "type": "frame",
          "id": "ClockContent",
          "width": "fill_container",
          "height": "fill_container",
          "padding": 24,
          "layout": "vertical",
          "gap": 24,
          "children": [
            {"type": "frame", "id": "ClockTimeSection", "width": "fill_container", "layout": "vertical", "gap": 8, "alignItems": "center", "children": [
              {"type": "text", "id": "ClockTime", "fill": "$text-primary", "content": "19:28", "fontFamily": "Roboto", "fontSize": 56, "fontWeight": "700"},
              {"type": "text", "id": "ClockDate", "fill": "$text-tertiary", "content": "Thứ Năm, 06/02/2026", "fontFamily": "Roboto", "fontSize": 15, "fontWeight": "normal"}
            ]},
            {"type": "frame", "id": "ClockStaffCard", "width": "fill_container", "fill": "$bg-page", "cornerRadius": 16, "padding": 20, "gap": 16, "alignItems": "center", "children": [
              {"type": "frame", "id": "ClockStaffAvatar", "width": 64, "height": 64, "fill": "$orange-primary", "cornerRadius": 32, "justifyContent": "center", "alignItems": "center", "children": [
                {"type": "text", "id": "ClockStaffInitial", "fill": "$text-primary", "content": "NT", "fontFamily": "Roboto", "fontSize": 22, "fontWeight": "700"}
              ]},
              {"type": "frame", "id": "ClockStaffInfo", "width": "fill_container", "layout": "vertical", "gap": 4, "children": [
                {"type": "text", "id": "ClockStaffName", "fill": "$text-primary", "content": "Nguyễn Thảo", "fontFamily": "Roboto", "fontSize": 18, "fontWeight": "700"},
                {"type": "text", "id": "ClockStaffRole", "fill": "$text-tertiary", "content": "Thu ngân", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "normal"},
                {"type": "frame", "id": "ClockStaffStatus", "gap": 6, "alignItems": "center", "children": [
                  {"type": "frame", "id": "ClockStatusDot", "width": 8, "height": 8, "fill": "#22C55E", "cornerRadius": 4},
                  {"type": "text", "id": "ClockStatusText", "fill": "#22C55E", "content": "Đang làm việc", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "500"}
                ]}
              ]}
            ]},
            {"type": "frame", "id": "ClockShiftInfo", "width": "fill_container", "fill": "$bg-page", "cornerRadius": 14, "padding": 16, "layout": "vertical", "gap": 12, "children": [
              {"type": "frame", "id": "ClockShiftRow1", "width": "fill_container", "justifyContent": "space_between", "alignItems": "center", "children": [
                {"type": "text", "id": "ClockShiftLabel1", "fill": "$text-tertiary", "content": "Ca làm việc", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "normal"},
                {"type": "text", "id": "ClockShiftValue1", "fill": "$text-primary", "content": "Ca Chiều (14:00 - 22:00)", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "500"}
              ]},
              {"type": "frame", "id": "ClockShiftRow2", "width": "fill_container", "justifyContent": "space_between", "alignItems": "center", "children": [
                {"type": "text", "id": "ClockShiftLabel2", "fill": "$text-tertiary", "content": "Vào ca", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "normal"},
                {"type": "text", "id": "ClockShiftValue2", "fill": "#22C55E", "content": "14:02 (+2 phút)", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "600"}
              ]},
              {"type": "frame", "id": "ClockShiftRow3", "width": "fill_container", "justifyContent": "space_between", "alignItems": "center", "children": [
                {"type": "text", "id": "ClockShiftLabel3", "fill": "$text-tertiary", "content": "Đã làm", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "normal"},
                {"type": "text", "id": "ClockShiftValue3", "fill": "$orange-primary", "content": "5h 26p", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "600"}
              ]}
            ]},
            {"type": "frame", "id": "ClockBreakBtn", "width": "fill_container", "height": 52, "fill": "#F59E0B20", "cornerRadius": 14, "stroke": {"thickness": 1, "fill": "#F59E0B40"}, "gap": 10, "justifyContent": "center", "alignItems": "center", "children": [
              {"type": "icon_font", "id": "ClockBreakIcon", "width": 20, "height": 20, "iconFontName": "coffee", "iconFontFamily": "lucide", "fill": "#F59E0B"},
              {"type": "text", "id": "ClockBreakText", "fill": "#F59E0B", "content": "Nghỉ giải lao", "fontFamily": "Roboto", "fontSize": 15, "fontWeight": "600"}
            ]}
          ]
        },
        {
          "type": "frame",
          "id": "ClockFooter",
          "width": "fill_container",
          "padding": [16, 24],
          "stroke": {"thickness": 1, "fill": "$border-subtle", "sides": ["top"]},
          "children": [
            {"type": "frame", "id": "ClockOutBtn", "width": "fill_container", "height": 56, "fill": {"type": "gradient", "gradientType": "linear", "enabled": true, "rotation": 135, "size": {"height": 1}, "colors": [{"color": "#EF4444", "position": 0}, {"color": "#DC2626", "position": 1}]}, "cornerRadius": 14, "gap": 10, "justifyContent": "center", "alignItems": "center", "children": [
              {"type": "icon_font", "id": "ClockOutIcon", "width": 22, "height": 22, "iconFontName": "log-out", "iconFontFamily": "lucide", "fill": "$text-primary"},
              {"type": "text", "id": "ClockOutText", "fill": "$text-primary", "content": "Kết thúc ca làm", "fontFamily": "Roboto", "fontSize": 16, "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"}
  }
}
