<?php
/**
 * @package     productive-forms
 * @author      productiveminds.com
 * @copyright   productiveminds.com
 */


// Start:: Content
$this->start_controls_section(
    'section_content_settings',
    [
        'label' => esc_html__( 'Structure', 'productive-forms' ),
        'tab' => \Elementor\Controls_Manager::TAB_CONTENT,
    ]
);

$this->add_control(
    'section_block_max_width',
    [
        'type' => \Elementor\Controls_Manager::SELECT,
        'label' => esc_html__( 'Widget Content Size', 'productive-forms' ),
        'options' => productive_global_get_section_block_max_width(),
        'default' => 'siteMaxWidth_100pc',
    ]
);

$this->add_control(
    'section_block_spacing',
    [
        'type' => \Elementor\Controls_Manager::SELECT,
        'label' => esc_html__( 'Widget Spacing', 'productive-forms' ),
        'options' => productive_global_get_section_block_spacing_options(),
        'default' => 'section_spacing_none',
    ]
);

$this->add_control(
    'section_bg_color_scheme',
    [
        'type' => \Elementor\Controls_Manager::SELECT,
        'label' => esc_html__( 'Widget Background', 'productive-forms' ),
        'options' => productive_global_get_colour_schemes_for_bg(),
        'default' => 'section_with_themed_bg',
    ]
);

$this->add_control(
    'section_gtbg_align',
    [
        'label' => esc_html__( 'Widget Overall Width', 'productive-forms' ),
        'type' => \Elementor\Controls_Manager::HIDDEN,
        'default' => 'align_page_none',
        'frontend_available' => true,
    ]
);

$this->add_control(
    'section_content_settings_unique_id',
    [
        'label' => esc_html__( 'Unique ID to use as CSS ID for the section', 'productive-forms' ),
        'type' => \Elementor\Controls_Manager::HIDDEN,
        'default' => 'section_unique_id_' . rand() . '_' . rand(),
        'frontend_available' => true,
    ]
);

$this->end_controls_section();
// End:: Content
