{
  "version": "2.6",
  "children": [
    {
      "type": "frame",
      "id": "KaraokeRoomMap",
      "name": "Karaoke/Room Map",
      "reusable": true,
      "width": 1024,
      "height": 768,
      "fill": "$bg-page",
      "layout": "vertical",
      "clip": true,
      "children": [
        {
          "type": "frame",
          "id": "RoomMapHeader",
          "width": "fill_container",
          "height": 64,
          "fill": "$bg-elevated",
          "stroke": {"thickness": 1, "fill": "$border-subtle", "sides": ["bottom"]},
          "padding": [0, 24],
          "justifyContent": "space_between",
          "alignItems": "center",
          "children": [
            {"type": "frame", "id": "RoomMapLeft", "gap": 16, "alignItems": "center", "children": [
              {"type": "frame", "id": "RoomMapLogo", "width": 40, "height": 40, "fill": {"type": "gradient", "gradientType": "linear", "enabled": true, "rotation": 135, "size": {"height": 1}, "colors": [{"color": "#FF5C00", "position": 0}, {"color": "#FF8A4C", "position": 1}]}, "cornerRadius": 10, "justifyContent": "center", "alignItems": "center", "children": [{"type": "text", "id": "RoomMapLogoText", "fill": "$text-primary", "content": "G", "fontFamily": "Roboto", "fontSize": 20, "fontWeight": "700"}]},
              {"type": "text", "id": "RoomMapTitle", "fill": "$text-primary", "content": "Sơ đồ phòng", "fontFamily": "Roboto", "fontSize": 20, "fontWeight": "700"}
            ]},
            {"type": "frame", "id": "RoomMapLegend", "gap": 20, "alignItems": "center", "children": [
              {"type": "frame", "id": "LegendEmpty", "gap": 8, "alignItems": "center", "children": [{"type": "frame", "id": "LegendEmptyDot", "width": 16, "height": 16, "fill": "#22C55E", "cornerRadius": 4}, {"type": "text", "id": "LegendEmptyText", "fill": "$text-secondary", "content": "Trống", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "normal"}]},
              {"type": "frame", "id": "LegendActive", "gap": 8, "alignItems": "center", "children": [{"type": "frame", "id": "LegendActiveDot", "width": 16, "height": 16, "fill": "#8B5CF6", "cornerRadius": 4}, {"type": "text", "id": "LegendActiveText", "fill": "$text-secondary", "content": "Đang hát", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "normal"}]},
              {"type": "frame", "id": "LegendWarning", "gap": 8, "alignItems": "center", "children": [{"type": "frame", "id": "LegendWarningDot", "width": 16, "height": 16, "fill": "#F59E0B", "cornerRadius": 4}, {"type": "text", "id": "LegendWarningText", "fill": "$text-secondary", "content": "Sắp hết giờ", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "normal"}]}
            ]},
            {"type": "frame", "id": "RoomMapTime", "gap": 8, "alignItems": "center", "children": [
              {"type": "text", "id": "RoomMapTimeValue", "fill": "$text-primary", "content": "00:15", "fontFamily": "Roboto", "fontSize": 18, "fontWeight": "700"}
            ]}
          ]
        },
        {
          "type": "frame",
          "id": "RoomMapFloors",
          "width": "fill_container",
          "fill": "$bg-elevated",
          "stroke": {"thickness": 1, "fill": "$border-subtle", "sides": ["bottom"]},
          "padding": [12, 24],
          "gap": 8,
          "children": [
            {"type": "frame", "id": "Floor1Tab", "fill": "$orange-primary", "cornerRadius": 8, "padding": [10, 20], "children": [{"type": "text", "id": "Floor1Text", "fill": "$text-primary", "content": "Tầng 1", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "600"}]},
            {"type": "frame", "id": "Floor2Tab", "fill": "$bg-interactive", "cornerRadius": 8, "padding": [10, 20], "children": [{"type": "text", "id": "Floor2Text", "fill": "$text-secondary", "content": "Tầng 2", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "500"}]},
            {"type": "frame", "id": "FloorVIPTab", "fill": "$bg-interactive", "cornerRadius": 8, "padding": [10, 20], "children": [{"type": "text", "id": "FloorVIPText", "fill": "$text-secondary", "content": "VIP", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "500"}]}
          ]
        },
        {
          "type": "frame",
          "id": "RoomMapGrid",
          "width": "fill_container",
          "height": "fill_container",
          "padding": 32,
          "layout": "vertical",
          "gap": 24,
          "clip": true,
          "children": [
            {"type": "frame", "id": "RoomRow1", "width": "fill_container", "gap": 24, "children": [
              {"type": "frame", "id": "Room01", "width": 180, "height": 150, "fill": "#8B5CF615", "cornerRadius": 16, "stroke": {"thickness": 2, "fill": "#8B5CF6"}, "layout": "vertical", "gap": 8, "justifyContent": "center", "alignItems": "center", "children": [
                {"type": "text", "id": "Room01Label", "fill": "#8B5CF6", "content": "P.01", "fontFamily": "Roboto", "fontSize": 28, "fontWeight": "700"},
                {"type": "frame", "id": "Room01Timer", "fill": "#8B5CF630", "cornerRadius": 8, "padding": [6, 12], "gap": 6, "alignItems": "center", "children": [{"type": "icon_font", "id": "Room01TimerIcon", "width": 14, "height": 14, "iconFontName": "clock", "iconFontFamily": "lucide", "fill": "#8B5CF6"}, {"type": "text", "id": "Room01TimerText", "fill": "#8B5CF6", "content": "1:45 còn", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "600"}]},
                {"type": "text", "id": "Room01Price", "fill": "$text-tertiary", "content": "120K/h • Small", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"}
              ]},
              {"type": "frame", "id": "Room02", "width": 180, "height": 150, "fill": "#22C55E15", "cornerRadius": 16, "stroke": {"thickness": 1, "fill": "#22C55E"}, "layout": "vertical", "gap": 8, "justifyContent": "center", "alignItems": "center", "children": [
                {"type": "text", "id": "Room02Label", "fill": "#22C55E", "content": "P.02", "fontFamily": "Roboto", "fontSize": 28, "fontWeight": "700"},
                {"type": "text", "id": "Room02Status", "fill": "#22C55E", "content": "Trống", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "500"},
                {"type": "text", "id": "Room02Price", "fill": "$text-tertiary", "content": "120K/h • Small", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"}
              ]},
              {"type": "frame", "id": "Room03", "width": 180, "height": 150, "fill": "#F59E0B15", "cornerRadius": 16, "stroke": {"thickness": 2, "fill": "#F59E0B"}, "layout": "vertical", "gap": 8, "justifyContent": "center", "alignItems": "center", "children": [
                {"type": "text", "id": "Room03Label", "fill": "#F59E0B", "content": "P.03", "fontFamily": "Roboto", "fontSize": 28, "fontWeight": "700"},
                {"type": "frame", "id": "Room03Timer", "fill": "#F59E0B30", "cornerRadius": 8, "padding": [6, 12], "gap": 6, "alignItems": "center", "children": [{"type": "icon_font", "id": "Room03TimerIcon", "width": 14, "height": 14, "iconFontName": "alarm-clock", "iconFontFamily": "lucide", "fill": "#F59E0B"}, {"type": "text", "id": "Room03TimerText", "fill": "#F59E0B", "content": "10p còn!", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "600"}]},
                {"type": "text", "id": "Room03Price", "fill": "$text-tertiary", "content": "180K/h • Medium", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"}
              ]},
              {"type": "frame", "id": "Room04", "width": 180, "height": 150, "fill": "#8B5CF615", "cornerRadius": 16, "stroke": {"thickness": 2, "fill": "$orange-primary"}, "layout": "vertical", "gap": 8, "justifyContent": "center", "alignItems": "center", "children": [
                {"type": "text", "id": "Room04Label", "fill": "$orange-primary", "content": "P.04", "fontFamily": "Roboto", "fontSize": 28, "fontWeight": "700"},
                {"type": "frame", "id": "Room04Selected", "fill": "$orange-primary", "cornerRadius": 8, "padding": [6, 12], "children": [{"type": "text", "id": "Room04SelectedText", "fill": "$text-primary", "content": "ĐANG CHỌN", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "600"}]},
                {"type": "text", "id": "Room04Price", "fill": "$text-tertiary", "content": "180K/h • Medium", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"}
              ]}
            ]},
            {"type": "frame", "id": "RoomRow2", "width": "fill_container", "gap": 24, "children": [
              {"type": "frame", "id": "Room05", "width": 180, "height": 150, "fill": "#8B5CF615", "cornerRadius": 16, "stroke": {"thickness": 2, "fill": "#8B5CF6"}, "layout": "vertical", "gap": 8, "justifyContent": "center", "alignItems": "center", "children": [
                {"type": "text", "id": "Room05Label", "fill": "#8B5CF6", "content": "P.05", "fontFamily": "Roboto", "fontSize": 28, "fontWeight": "700"},
                {"type": "frame", "id": "Room05Timer", "fill": "#8B5CF630", "cornerRadius": 8, "padding": [6, 12], "gap": 6, "alignItems": "center", "children": [{"type": "icon_font", "id": "Room05TimerIcon", "width": 14, "height": 14, "iconFontName": "clock", "iconFontFamily": "lucide", "fill": "#8B5CF6"}, {"type": "text", "id": "Room05TimerText", "fill": "#8B5CF6", "content": "2:30 còn", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "600"}]},
                {"type": "text", "id": "Room05Price", "fill": "$text-tertiary", "content": "250K/h • Large", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"}
              ]},
              {"type": "frame", "id": "Room06", "width": 180, "height": 150, "fill": "#22C55E15", "cornerRadius": 16, "stroke": {"thickness": 1, "fill": "#22C55E"}, "layout": "vertical", "gap": 8, "justifyContent": "center", "alignItems": "center", "children": [
                {"type": "text", "id": "Room06Label", "fill": "#22C55E", "content": "P.06", "fontFamily": "Roboto", "fontSize": 28, "fontWeight": "700"},
                {"type": "text", "id": "Room06Status", "fill": "#22C55E", "content": "Trống", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "500"},
                {"type": "text", "id": "Room06Price", "fill": "$text-tertiary", "content": "250K/h • Large", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"}
              ]},
              {"type": "frame", "id": "Room07", "width": 180, "height": 150, "fill": "#22C55E15", "cornerRadius": 16, "stroke": {"thickness": 1, "fill": "#22C55E"}, "layout": "vertical", "gap": 8, "justifyContent": "center", "alignItems": "center", "children": [
                {"type": "text", "id": "Room07Label", "fill": "#22C55E", "content": "VIP 01", "fontFamily": "Roboto", "fontSize": 28, "fontWeight": "700"},
                {"type": "text", "id": "Room07Status", "fill": "#22C55E", "content": "Trống", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "500"},
                {"type": "text", "id": "Room07Price", "fill": "$text-tertiary", "content": "450K/h • VIP", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"}
              ]},
              {"type": "frame", "id": "Room08", "width": 180, "height": 150, "fill": "#8B5CF615", "cornerRadius": 16, "stroke": {"thickness": 2, "fill": "#8B5CF6"}, "layout": "vertical", "gap": 8, "justifyContent": "center", "alignItems": "center", "children": [
                {"type": "text", "id": "Room08Label", "fill": "#8B5CF6", "content": "VIP 02", "fontFamily": "Roboto", "fontSize": 28, "fontWeight": "700"},
                {"type": "frame", "id": "Room08Timer", "fill": "#8B5CF630", "cornerRadius": 8, "padding": [6, 12], "gap": 6, "alignItems": "center", "children": [{"type": "icon_font", "id": "Room08TimerIcon", "width": 14, "height": 14, "iconFontName": "clock", "iconFontFamily": "lucide", "fill": "#8B5CF6"}, {"type": "text", "id": "Room08TimerText", "fill": "#8B5CF6", "content": "3:15 còn", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "600"}]},
                {"type": "text", "id": "Room08Price", "fill": "$text-tertiary", "content": "450K/h • VIP", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"}
              ]}
            ]},
            {"type": "frame", "id": "RoomMapStats", "width": "fill_container", "fill": "$bg-elevated", "cornerRadius": 16, "padding": [16, 24], "gap": 40, "justifyContent": "center", "children": [
              {"type": "frame", "id": "StatTotal", "layout": "vertical", "gap": 4, "alignItems": "center", "children": [{"type": "text", "id": "StatTotalValue", "fill": "$text-primary", "content": "8", "fontFamily": "Roboto", "fontSize": 28, "fontWeight": "700"}, {"type": "text", "id": "StatTotalLabel", "fill": "$text-tertiary", "content": "Tổng phòng", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "normal"}]},
              {"type": "frame", "id": "StatEmpty", "layout": "vertical", "gap": 4, "alignItems": "center", "children": [{"type": "text", "id": "StatEmptyValue", "fill": "#22C55E", "content": "3", "fontFamily": "Roboto", "fontSize": 28, "fontWeight": "700"}, {"type": "text", "id": "StatEmptyLabel", "fill": "$text-tertiary", "content": "Trống", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "normal"}]},
              {"type": "frame", "id": "StatActive", "layout": "vertical", "gap": 4, "alignItems": "center", "children": [{"type": "text", "id": "StatActiveValue", "fill": "#8B5CF6", "content": "4", "fontFamily": "Roboto", "fontSize": 28, "fontWeight": "700"}, {"type": "text", "id": "StatActiveLabel", "fill": "$text-tertiary", "content": "Đang hát", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "normal"}]},
              {"type": "frame", "id": "StatWarning", "layout": "vertical", "gap": 4, "alignItems": "center", "children": [{"type": "text", "id": "StatWarningValue", "fill": "#F59E0B", "content": "1", "fontFamily": "Roboto", "fontSize": 28, "fontWeight": "700"}, {"type": "text", "id": "StatWarningLabel", "fill": "$text-tertiary", "content": "Sắp hết giờ", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "normal"}]}
            ]}
          ]
        }
      ]
    }
  ],
  "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"}
  }
}
