{
  "version": "2.7",
  "children": [
    {
      "type": "frame",
      "id": "TreatmentTimerDialog",
      "x": 0,
      "y": 0,
      "name": "Dialog/TreatmentTimer",
      "reusable": true,
      "clip": true,
      "width": 380,
      "height": 529,
      "fill": "$bg-elevated",
      "cornerRadius": 24,
      "layout": "vertical",
      "children": [
        {
          "type": "frame",
          "id": "TreatmentTimerHeader",
          "width": "fill_container",
          "stroke": {
            "thickness": 1,
            "fill": "$border-subtle"
          },
          "padding": [
            16,
            20
          ],
          "justifyContent": "space_between",
          "alignItems": "center",
          "children": [
            {
              "type": "frame",
              "id": "TreatmentTimerHeaderLeft",
              "gap": 12,
              "alignItems": "center",
              "children": [
                {
                  "type": "frame",
                  "id": "TreatmentTimerIconBg",
                  "width": 40,
                  "height": 40,
                  "fill": "#14B8A620",
                  "cornerRadius": 12,
                  "justifyContent": "center",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "icon_font",
                      "id": "TreatmentTimerIcon",
                      "width": 20,
                      "height": 20,
                      "iconFontName": "timer",
                      "iconFontFamily": "lucide",
                      "fill": "#14B8A6"
                    }
                  ]
                },
                {
                  "type": "text",
                  "id": "TreatmentTimerTitle",
                  "fill": "$text-primary",
                  "content": "Thời gian liệu trình",
                  "fontFamily": "Roboto",
                  "fontSize": 18,
                  "fontWeight": "700"
                }
              ]
            },
            {
              "type": "frame",
              "id": "TreatmentTimerCloseBtn",
              "width": 36,
              "height": 36,
              "fill": "$bg-interactive",
              "cornerRadius": 18,
              "justifyContent": "center",
              "alignItems": "center",
              "children": [
                {
                  "type": "icon_font",
                  "id": "TreatmentTimerCloseIcon",
                  "width": 18,
                  "height": 18,
                  "iconFontName": "x",
                  "iconFontFamily": "lucide",
                  "fill": "$text-secondary"
                }
              ]
            }
          ]
        },
        {
          "type": "frame",
          "id": "TreatmentTimerContent",
          "width": "fill_container",
          "height": "fill_container",
          "layout": "vertical",
          "gap": 20,
          "padding": 20,
          "alignItems": "center",
          "children": [
            {
              "type": "frame",
              "id": "TreatmentTimerDisplay",
              "width": 200,
              "height": 200,
              "fill": "$bg-page",
              "cornerRadius": 100,
              "stroke": {
                "thickness": 8,
                "fill": "#14B8A6"
              },
              "layout": "vertical",
              "gap": 4,
              "justifyContent": "center",
              "alignItems": "center",
              "children": [
                {
                  "type": "text",
                  "id": "TreatmentTimerTime",
                  "fill": "$text-primary",
                  "content": "45:23",
                  "fontFamily": "Roboto",
                  "fontSize": 48,
                  "fontWeight": "700"
                },
                {
                  "type": "text",
                  "id": "TreatmentTimerRemaining",
                  "fill": "$text-tertiary",
                  "content": "còn lại",
                  "fontFamily": "Roboto",
                  "fontSize": 14,
                  "fontWeight": "normal"
                }
              ]
            },
            {
              "type": "frame",
              "id": "TreatmentTimerInfo",
              "width": "fill_container",
              "fill": "$bg-page",
              "cornerRadius": 14,
              "layout": "vertical",
              "gap": 10,
              "padding": 14,
              "children": [
                {
                  "type": "frame",
                  "id": "TreatmentTimerService",
                  "width": "fill_container",
                  "justifyContent": "space_between",
                  "children": [
                    {
                      "type": "text",
                      "id": "TreatmentTimerServiceLabel",
                      "fill": "$text-secondary",
                      "content": "Dịch vụ:",
                      "fontFamily": "Roboto",
                      "fontSize": 13,
                      "fontWeight": "normal"
                    },
                    {
                      "type": "text",
                      "id": "TreatmentTimerServiceValue",
                      "fill": "$text-primary",
                      "content": "Massage body 90 phút",
                      "fontFamily": "Roboto",
                      "fontSize": 13,
                      "fontWeight": "600"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "TreatmentTimerRoom",
                  "width": "fill_container",
                  "justifyContent": "space_between",
                  "children": [
                    {
                      "type": "text",
                      "id": "TreatmentTimerRoomLabel",
                      "fill": "$text-secondary",
                      "content": "Phòng:",
                      "fontFamily": "Roboto",
                      "fontSize": 13,
                      "fontWeight": "normal"
                    },
                    {
                      "type": "text",
                      "id": "TreatmentTimerRoomValue",
                      "fill": "$text-primary",
                      "content": "VIP 03",
                      "fontFamily": "Roboto",
                      "fontSize": 13,
                      "fontWeight": "600"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "TreatmentTimerTherapist",
                  "width": "fill_container",
                  "justifyContent": "space_between",
                  "children": [
                    {
                      "type": "text",
                      "id": "TreatmentTimerTherapistLabel",
                      "fill": "$text-secondary",
                      "content": "KTV:",
                      "fontFamily": "Roboto",
                      "fontSize": 13,
                      "fontWeight": "normal"
                    },
                    {
                      "type": "text",
                      "id": "TreatmentTimerTherapistValue",
                      "fill": "$text-primary",
                      "content": "Nguyễn Thị Hoa",
                      "fontFamily": "Roboto",
                      "fontSize": 13,
                      "fontWeight": "600"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "TreatmentTimerStart",
                  "width": "fill_container",
                  "justifyContent": "space_between",
                  "children": [
                    {
                      "type": "text",
                      "id": "TreatmentTimerStartLabel",
                      "fill": "$text-secondary",
                      "content": "Bắt đầu:",
                      "fontFamily": "Roboto",
                      "fontSize": 13,
                      "fontWeight": "normal"
                    },
                    {
                      "type": "text",
                      "id": "TreatmentTimerStartValue",
                      "fill": "$text-primary",
                      "content": "14:30 - Kết thúc: 16:00",
                      "fontFamily": "Roboto",
                      "fontSize": 13,
                      "fontWeight": "600"
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "type": "frame",
          "id": "TreatmentTimerFooter",
          "width": "fill_container",
          "stroke": {
            "thickness": 1,
            "fill": "$border-subtle"
          },
          "gap": 12,
          "padding": [
            16,
            20
          ],
          "children": [
            {
              "type": "frame",
              "id": "TreatmentTimerExtendBtn",
              "width": "fill_container",
              "height": 48,
              "fill": "$bg-interactive",
              "cornerRadius": 12,
              "gap": 8,
              "justifyContent": "center",
              "alignItems": "center",
              "children": [
                {
                  "type": "icon_font",
                  "id": "TreatmentTimerExtendIcon",
                  "width": 18,
                  "height": 18,
                  "iconFontName": "plus",
                  "iconFontFamily": "lucide",
                  "fill": "$text-secondary"
                },
                {
                  "type": "text",
                  "id": "TreatmentTimerExtendText",
                  "fill": "$text-secondary",
                  "content": "+15 phút",
                  "fontFamily": "Roboto",
                  "fontSize": 14,
                  "fontWeight": "500"
                }
              ]
            },
            {
              "type": "frame",
              "id": "TreatmentTimerCompleteBtn",
              "width": "fill_container",
              "height": 48,
              "fill": {
                "type": "gradient",
                "gradientType": "linear",
                "enabled": true,
                "rotation": 135,
                "size": {
                  "height": 1
                },
                "colors": [
                  {
                    "color": "#14B8A6",
                    "position": 0
                  },
                  {
                    "color": "#0D9488",
                    "position": 1
                  }
                ]
              },
              "cornerRadius": 12,
              "gap": 8,
              "justifyContent": "center",
              "alignItems": "center",
              "children": [
                {
                  "type": "icon_font",
                  "id": "TreatmentTimerCompleteIcon",
                  "width": 18,
                  "height": 18,
                  "iconFontName": "check",
                  "iconFontFamily": "lucide",
                  "fill": "$text-primary"
                },
                {
                  "type": "text",
                  "id": "TreatmentTimerCompleteText",
                  "fill": "$text-primary",
                  "content": "Hoàn thành",
                  "fontFamily": "Roboto",
                  "fontSize": 14,
                  "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"
    }
  }
}