{
  "namespace": "csb_purchase_warning",

  "csb_purchase_warning_screen@common.base_screen": {
    "$screen_content": "csb_purchase_warning.purchase_warning_screen_content",
    "force_render_below": true,
    "$fill_alpha": 1,
    "button_mappings": [
      {
        "from_button_id": "button.menu_cancel",
        "to_button_id": "button.menu_exit",
        "mapping_type": "global"
      }
    ]
  },

  "purchase_warning_screen_content": {
    "type": "panel",
    "controls": [
      {
        "main_panel@common_dialogs.main_panel_one_button": {
          "$text_name": "store.csb.purchase.warningDialog.title",
          "$button_panel": "csb_purchase_warning.warning_modal_back_button",
          "$child_control": "csb_purchase_warning.warning_modal_main_panel",
          "size": "$world_conversion_complete_screen_size"
        }
      }
    ]
  },

  "warning_modal_main_panel": {
    "type": "stack_panel",
    "orientation": "vertical",
    "size": [ "100% - 30px", "100% - 4px" ],
    "controls": [
      {
        "text_panel_1": {
          "type": "panel",
          "size": [ "100%", "100%c" ],
          "controls": [
            {
              "text": {
                "type": "label",
                "size": [ "100%", "default" ],
                "font_type": "smooth",
                "text_alignment": "center",
                "text": "store.csb.purchase.warningDialog.body.line1",
                "color": "$store_white_text_color"
              }
            }
          ]
        }
      },
      {
        "padding_1": {
          "type": "panel",
          "size": [ "100%", "2px" ]
        }
      },
      {
        "art_panel": {
          "type": "panel",
          "size": [ "100%", "fill" ],
          "controls": [
            {
              "art": {
                "type": "image",
                "texture": "textures/ui/csb_purchase_warning",
                "layer": 1
              }
            }
          ]
        }
      },
      {
        "padding_2": {
          "type": "panel",
          "size": [ "100%", "2px" ]
        }
      },
      {
        "text_panel_2": {
          "type": "panel",
          "size": [ "100%", "100%c" ],
          "controls": [
            {
              "text": {
                "type": "label",
                "size": [ "100%", "default" ],
                "font_type": "smooth",
                "text_alignment": "center",
                "text": "store.csb.purchase.warningDialog.body.line2",
                "color": "$store_white_text_color"
              }
            }
          ]
        }
      }
    ]
  },

  "warning_modal_back_button@common_buttons.light_text_button": {
    "$pressed_button_name": "button.goBack",
    "$button_text": "store.csb.purchase.warningDialog.button.back"
  }

}
