<?php

namespace Gigneo\Elementor\Widgets;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

use Elementor\Controls_Manager;
use Elementor\Core\Kits\Documents\Tabs\Global_Typography;
use Elementor\Group_Control_Text_Shadow;
use Elementor\Group_Control_Border;
use Elementor\Group_Control_Box_Shadow;
use Elementor\Group_Control_Typography;
use Elementor\Group_Control_Background;
use Elementor\Widget_Base;

/**
 * Gigneo Elementor Register Widget
 *
 * @since 0.0.1
 */
class Register extends Widget_Base {


	/**
	 * Get widget unique name.
	 *
	 * @return string
	 */
	public function get_name() {
		return 'gigneo-register';
	}

	/**
	 * Get widget title.
	 *
	 * This is the name displayed in the Elementor panel.
	 *
	 * @return string
	 */
	public function get_title() {
		return esc_html__( 'Register', 'gigneo' );
	}

	/**
	 * Get widget icon.
	 *
	 * Define the icon that will appear in the Elementor panel.
	 *
	 * @return string
	 */
	public function get_icon() {
		return 'eicon-form-horizontal gn-label';
	}

	/**
	 * Get widget categories.
	 *
	 * Defines the category under which the widget will be listed.
	 *
	 * @return array
	 */
	public function get_categories() {
		return array( 'gigneo-widgets' );
	}

	/**
	 * Get widget keywords.
	 *
	 * Helps users find the widget in Elementor search.
	 *
	 * @return array
	 */
	public function get_keywords() {
		return array( 'auth', 'login' );
	}

	/**
	 * Register widget controls.
	 *
	 * Adds controls/fields to the Elementor editor for this widget.
	 */
	protected function register_controls() {
		$this->start_controls_section(
			'section_general',
			array(
				'label' => esc_html__( 'General', 'gigneo' ),
			)
		);

		/* ================= Title ================= */
		$this->add_control(
			'form_title',
			array(
				'label'                => esc_html__( 'Title', 'gigneo' ),
				'type'                 => Controls_Manager::SWITCHER,
				'label_on'             => esc_html__( 'Show', 'gigneo' ),
				'label_off'            => esc_html__( 'Hide', 'gigneo' ),
				'return_value'         => 'yes',
				'default'              => 'yes',
				'selectors_dictionary' => array(
					'yes' => 'block',
					''    => 'none',
				),
				'selectors'            => array(
					'{{WRAPPER}} .gn-title' => 'display: {{VALUE}};',
				),
			)
		);

		/* ================= Description ================= */
		$this->add_control(
			'form_description',
			array(
				'label'                => esc_html__( 'Description', 'gigneo' ),
				'type'                 => Controls_Manager::SWITCHER,
				'label_on'             => esc_html__( 'Show', 'gigneo' ),
				'label_off'            => esc_html__( 'Hide', 'gigneo' ),
				'return_value'         => 'yes',
				'default'              => 'yes',
				'selectors_dictionary' => array(
					'yes' => 'block',
					''    => 'none',
				),
				'selectors'            => array(
					'{{WRAPPER}} .gn-description' => 'display: {{VALUE}};',
				),
			)
		);

		$this->add_responsive_control(
			'title_alignment',
			array(
				'label'      => esc_html__( 'Alignment', 'gigneo' ),
				'type'       => Controls_Manager::CHOOSE,
				'options'    => array(
					'left'    => array(
						'title' => esc_html__( 'Left', 'gigneo' ),
						'icon'  => 'eicon-text-align-left',
					),
					'center'  => array(
						'title' => esc_html__( 'Center', 'gigneo' ),
						'icon'  => 'eicon-text-align-center',
					),
					'right'   => array(
						'title' => esc_html__( 'Right', 'gigneo' ),
						'icon'  => 'eicon-text-align-right',
					),
					'justify' => array(
						'title' => esc_html__( 'Justified', 'gigneo' ),
						'icon'  => 'eicon-text-align-justify',
					),
				),
				'default'    => '',
				'selectors'  => array(
					'{{WRAPPER}} .gn-title, .gn-description' => 'text-align: {{VALUE}};',
				),
				'conditions' => array(
					'relation' => 'or',
					'terms'    => array(
						array(
							'name'     => 'form_title',
							'operator' => '===',
							'value'    => 'yes',
						),
						array(
							'name'     => 'form_description',
							'operator' => '===',
							'value'    => 'yes',
						),
					),
				),
			)
		);

		/* ================= Have An Account ================= */
		$this->add_control(
			'form_have_account',
			array(
				'label'                => esc_html__( 'Have An Account', 'gigneo' ),
				'type'                 => Controls_Manager::SWITCHER,
				'label_on'             => esc_html__( 'Show', 'gigneo' ),
				'label_off'            => esc_html__( 'Hide', 'gigneo' ),
				'return_value'         => 'yes',
				'default'              => 'yes',
				'selectors_dictionary' => array(
					'yes' => 'block',
					''    => 'none',
				),
				'selectors'            => array(
					'{{WRAPPER}} .gn-auth-action-text' => 'display: {{VALUE}};',
				),
				'separator'            => 'before',
			)
		);

		$this->end_controls_section();

		/* ================= Title ================= */
		$this->start_controls_section(
			'title_style',
			array(
				'label' => esc_html__( 'Title', 'gigneo' ),
				'tab'   => Controls_Manager::TAB_STYLE,
			)
		);

		$this->add_control(
			'title_color',
			array(
				'label'     => esc_html__( 'Text Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-auth-heading-area .gn-title' => 'color: {{VALUE}};',
				),
			)
		);

		$this->add_group_control(
			Group_Control_Typography::get_type(),
			array(
				'name'     => 'title_typography',
				'global'   => array(
					'default' => Global_Typography::TYPOGRAPHY_PRIMARY,
				),
				'selector' => '{{WRAPPER}} .gn-auth-heading-area .gn-title',
			)
		);

		$this->add_group_control(
			Group_Control_Text_Shadow::get_type(),
			array(
				'name'     => 'title_text_shadow',
				'selector' => '{{WRAPPER}} .gn-auth-heading-area .gn-title',
			)
		);

		$this->end_controls_section();

		/* ================= Description ================= */
		$this->start_controls_section(
			'description_style',
			array(
				'label' => esc_html__( 'Description', 'gigneo' ),
				'tab'   => Controls_Manager::TAB_STYLE,
			)
		);

		$this->add_control(
			'description_color',
			array(
				'label'     => esc_html__( 'Text Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-auth-heading-area .gn-description' => 'color: {{VALUE}};',
				),
			)
		);

		$this->add_group_control(
			Group_Control_Typography::get_type(),
			array(
				'name'     => 'description_typography',
				'global'   => array(
					'default' => Global_Typography::TYPOGRAPHY_PRIMARY,
				),
				'selector' => '{{WRAPPER}} .gn-auth-heading-area .gn-description',
			)
		);

		$this->add_responsive_control(
			'description_margin',
			array(
				'label'      => esc_html__( 'Margin', 'gigneo' ),
				'type'       => Controls_Manager::DIMENSIONS,
				'size_units' => array( 'px', 'em', '%' ),
				'selectors'  => array(
					'{{WRAPPER}} .gn-auth-heading-area .gn-description' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
				),
			)
		);

		$this->end_controls_section();

		$this->start_controls_section(
			'social_auth_style',
			array(
				'label' => esc_html__( 'Social Auth', 'gigneo' ),
				'tab'   => Controls_Manager::TAB_STYLE,
			)
		);

		$this->add_group_control(
			Group_Control_Typography::get_type(),
			array(
				'name'     => 'social_auth_typography',
				'label'    => esc_html__( 'Typography', 'gigneo' ),
				'selector' => '{{WRAPPER}} .gn-social-auth .gn-title',
			)
		);

		$this->add_responsive_control(
			'social_auth_space_between',
			array(
				'label'      => esc_html__( 'Space Between', 'gigneo' ),
				'type'       => Controls_Manager::SLIDER,
				'size_units' => array( 'px', '%', 'em' ),
				'range'      => array(
					'px' => array(
						'min' => 0,
						'max' => 50,
					),
					'%'  => array(
						'min' => 0,
						'max' => 100,
					),
					'em' => array(
						'min' => 0,
						'max' => 10,
					),
				),
				'selectors'  => array(
					'{{WRAPPER}} .gn-social-auth' => 'gap: {{SIZE}}{{UNIT}};',
				),
			)
		);

		$this->add_responsive_control(
			'social_auth_size',
			array(
				'label'      => __( 'Icon Size', 'gigneo' ),
				'type'       => \Elementor\Controls_Manager::SLIDER,
				'size_units' => array( 'px', '%', 'em' ),
				'range'      => array(
					'px' => array(
						'min'  => 10,
						'max'  => 30,
						'step' => 1,
					),
				),
				'selectors'  => array(
					'{{WRAPPER}} .gn-social-auth .gn-social-auth-icon img' => 'max-width: {{SIZE}}{{UNIT}}; max-height: {{SIZE}}{{UNIT}};',
				),
			)
		);

		$this->add_responsive_control(
			'social_auth_min_height',
			array(
				'label'      => esc_html__( 'Min Height', 'gigneo' ),
				'type'       => \Elementor\Controls_Manager::SLIDER,
				'size_units' => array( 'px', '%', 'vh' ),
				'range'      => array(
					'px' => array(
						'min'  => 0,
						'max'  => 200,
						'step' => 1,
					),
					'%'  => array(
						'min' => 0,
						'max' => 100,
					),
					'vh' => array(
						'min' => 0,
						'max' => 100,
					),
				),
				'selectors'  => array(
					'{{WRAPPER}} .gn-social-auth .gn-social-auth-icon' => 'min-height: {{SIZE}}{{UNIT}};',
				),
			)
		);

		$this->start_controls_tabs( 'social_auth_button_style_tabs' );

		$this->start_controls_tab(
			'social_auth_button_normal',
			array( 'label' => esc_html__( 'Normal', 'gigneo' ) )
		);

		$this->add_control(
			'social_auth_text_color',
			array(
				'label'     => esc_html__( 'Text Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-social-auth .gn-title' => 'color: {{VALUE}};',
				),
			)
		);

		$this->add_control(
			'social_auth_button_background',
			array(
				'label'     => esc_html__( 'Background Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-social-auth .gn-social-auth-icon' => 'background-color: {{VALUE}};',
				),
			)
		);

		$this->add_group_control(
			Group_Control_Box_Shadow::get_type(),
			array(
				'name'     => 'social_auth_button_box_shadow',
				'selector' => '{{WRAPPER}} .gn-social-auth .gn-social-auth-icon',
			)
		);

		$this->end_controls_tab();

		$this->start_controls_tab(
			'social_auth_button_hover',
			array( 'label' => esc_html__( 'Hover', 'gigneo' ) )
		);

		$this->add_control(
			'social_auth_hover_text_color',
			array(
				'label'     => esc_html__( 'Text Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-social-auth .gn-social-auth-icon:hover .gn-title' => 'color: {{VALUE}};',
				),
			)
		);

		$this->add_control(
			'social_auth_button_border_color_hover',
			array(
				'label'     => esc_html__( 'Background Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'default'   => '',
				'selectors' => array(
					'{{WRAPPER}} .gn-social-auth .gn-social-auth-icon:hover' => 'background-color: {{VALUE}};',
				),
			)
		);

		$this->add_group_control(
			Group_Control_Box_Shadow::get_type(),
			array(
				'name'     => 'social_auth_button_box_shadow_hover',
				'selector' => '{{WRAPPER}} .gn-social-auth .gn-social-auth-icon:hover',
			)
		);

		$this->end_controls_tab();

		$this->start_controls_tab(
			'social_auth_button_focus',
			array( 'label' => esc_html__( 'Focus', 'gigneo' ) )
		);

		$this->add_control(
			'social_auth_button_border_color_focus',
			array(
				'label'     => esc_html__( 'Background Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'default'   => '',
				'selectors' => array(
					'{{WRAPPER}} .gn-social-auth .gn-social-auth-icon:focus' => 'background-color: {{VALUE}};',
				),
			)
		);

		$this->add_control(
			'social_auth_button_border_focus',
			array(
				'label'     => __( 'Border Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-social-auth .gn-social-auth-icon:focus' => 'border-color: {{VALUE}};',
				),
			)
		);

		$this->add_group_control(
			Group_Control_Box_Shadow::get_type(),
			array(
				'name'     => 'social_auth_button_box_shadow_focus',
				'selector' => '{{WRAPPER}} .gn-social-auth .gn-social-auth-icon:focus',
			)
		);

		$this->end_controls_tab();

		$this->end_controls_tabs();

		$this->add_group_control(
			Group_Control_Border::get_type(),
			array(
				'name'      => 'social_auth_button_border',
				'separator' => 'before',
				'selector'  => '{{WRAPPER}} .gn-social-auth .gn-social-auth-icon',
			)
		);

		$this->add_responsive_control(
			'social_auth_button_border_radius',
			array(
				'label'      => esc_html__( 'Border Radius', 'gigneo' ),
				'type'       => Controls_Manager::DIMENSIONS,
				'size_units' => array( 'px', '%' ),
				'selectors'  => array(
					'{{WRAPPER}} .gn-social-auth .gn-social-auth-icon' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
				),
			)
		);

		$this->add_responsive_control(
			'social_auth_button_margin',
			array(
				'label'      => esc_html__( 'Margin', 'gigneo' ),
				'type'       => Controls_Manager::DIMENSIONS,
				'size_units' => array( 'px', 'em', '%' ),
				'selectors'  => array(
					'{{WRAPPER}} .gn-social-auth .gn-social-auth-icon' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
				),
			)
		);

		$this->add_control(
			'separator_heading',
			array(
				'label'     => esc_html__( 'Separator', 'gigneo' ),
				'type'      => Controls_Manager::HEADING,
				'separator' => 'before',
			)
		);

		$this->add_group_control(
			Group_Control_Typography::get_type(),
			array(
				'name'     => 'separator_typography',
				'selector' => '{{WRAPPER}} .gn-social-auth .gn-social-auth-separator',
			)
		);

		$this->add_control(
			'separator_text_color',
			array(
				'label'     => esc_html__( 'Text Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'default'   => '',
				'selectors' => array(
					'{{WRAPPER}} .gn-social-auth .gn-social-auth-separator' => 'color: {{VALUE}};',
				),
			)
		);

		$this->add_control(
			'separator_background_color',
			array(
				'label'     => esc_html__( 'Background Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-social-auth-separator' => 'background-color: {{VALUE}};',
				),
			)
		);

		$this->add_control(
			'separator_alignment',
			array(
				'label'     => esc_html__( 'Justify Content', 'gigneo' ),
				'type'      => Controls_Manager::CHOOSE,
				'options'   => array(
					'flex-start' => array(
						'title' => esc_html__( 'Left', 'gigneo' ),
						'icon'  => 'eicon-text-align-left',
					),
					'center'     => array(
						'title' => esc_html__( 'Center', 'gigneo' ),
						'icon'  => 'eicon-text-align-center',
					),
					'flex-end'   => array(
						'title' => esc_html__( 'Right', 'gigneo' ),
						'icon'  => 'eicon-text-align-right',
					),
				),
				'default'   => 'center',
				'selectors' => array(
					'{{WRAPPER}} .gn-social-auth .gn-social-auth-separator-wrapper' => 'justify-content: {{VALUE}};',
				),
			)
		);

		$this->add_responsive_control(
			'separator_text_padding',
			array(
				'label'      => esc_html__( 'Padding', 'gigneo' ),
				'type'       => Controls_Manager::DIMENSIONS,
				'size_units' => array( 'px', 'em', '%' ),
				'selectors'  => array(
					'{{WRAPPER}} .gn-social-auth-separator' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
				),
			)
		);

		$this->add_control(
			'separator_line_heading',
			array(
				'label'     => esc_html__( 'Line', 'gigneo' ),
				'type'      => Controls_Manager::HEADING,
				'separator' => 'before',
			)
		);

		$this->add_control(
			'separator_color',
			array(
				'label'     => esc_html__( 'Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-social-auth .gn-social-auth-separator-wrapper::before' => 'background-color: {{VALUE}};',
				),
			)
		);

		$this->add_responsive_control(
			'separator_width',
			array(
				'label'      => esc_html__( 'Width', 'gigneo' ),
				'type'       => Controls_Manager::SLIDER,
				'size_units' => array( 'px', '%', 'vw' ),
				'range'      => array(
					'px' => array(
						'min' => 0,
						'max' => 1000,
					),
					'%'  => array(
						'min' => 0,
						'max' => 100,
					),
					'vw' => array(
						'min' => 0,
						'max' => 100,
					),
				),
				'selectors'  => array(
					'{{WRAPPER}} .gn-social-auth .gn-social-auth-separator-wrapper::before' => 'width: {{SIZE}}{{UNIT}};',
				),
			)
		);

		$this->add_responsive_control(
			'separator_height',
			array(
				'label'      => esc_html__( 'Height', 'gigneo' ),
				'type'       => Controls_Manager::SLIDER,
				'size_units' => array( 'px', '%', 'vh' ),
				'range'      => array(
					'px' => array(
						'min' => 0,
						'max' => 10,
					),
					'%'  => array(
						'min' => 0,
						'max' => 100,
					),
					'vh' => array(
						'min' => 0,
						'max' => 100,
					),
				),
				'selectors'  => array(
					'{{WRAPPER}} .gn-social-auth .gn-social-auth-separator-wrapper::before' => 'height: {{SIZE}}{{UNIT}};',
				),
			)
		);

		$this->add_responsive_control(
			'separator_margin',
			array(
				'label'      => esc_html__( 'Margin', 'gigneo' ),
				'type'       => Controls_Manager::DIMENSIONS,
				'size_units' => array( 'px', '%', 'em', 'rem', 'vw' ),
				'selectors'  => array(
					'{{WRAPPER}} .gn-social-auth .gn-social-auth-separator-wrapper' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
				),
			)
		);

		$this->end_controls_section();

		$this->start_controls_section(
			'fields_style',
			array(
				'label' => esc_html__( 'Fields', 'gigneo' ),
				'tab'   => Controls_Manager::TAB_STYLE,
			)
		);

		$this->add_control(
			'fields_label_heading',
			array(
				'label'     => esc_html__( 'Label', 'gigneo' ),
				'type'      => Controls_Manager::HEADING,
				'separator' => 'before',
			)
		);

		$this->add_group_control(
			Group_Control_Typography::get_type(),
			array(
				'name'     => 'label_typography',
				'label'    => esc_html__( 'Typography', 'gigneo' ),
				'selector' => '{{WRAPPER}} .gn-form-fields .gn-form-field > label',
			)
		);

		$this->add_control(
			'label_color',
			array(
				'label'     => esc_html__( 'Text Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-form-fields .gn-form-field > label' => 'color: {{VALUE}};',
				),
			)
		);

		$this->add_responsive_control(
			'label_margin',
			array(
				'label'      => esc_html__( 'Margin', 'gigneo' ),
				'type'       => Controls_Manager::DIMENSIONS,
				'size_units' => array( 'px', 'em', '%' ),
				'selectors'  => array(
					'{{WRAPPER}} .gn-form-fields .gn-form-field > label' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
				),
			)
		);

		$this->add_control(
			'fields_input_heading',
			array(
				'label'     => esc_html__( 'Input', 'gigneo' ),
				'type'      => Controls_Manager::HEADING,
				'separator' => 'before',
			)
		);

		$this->add_group_control(
			Group_Control_Typography::get_type(),
			array(
				'name'     => 'input_typography',
				'label'    => esc_html__( 'Typography', 'gigneo' ),
				'selector' => '{{WRAPPER}} .gn-form-field input[type="text"], {{WRAPPER}} .gn-form-field input[type="email"], {{WRAPPER}} .gn-form-field input[type="password"]',
			)
		);

		$this->add_control(
			'input_text_color',
			array(
				'label'     => esc_html__( 'Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-form-field input' => 'color: {{VALUE}};',
					'{{WRAPPER}} .gn-form-field input:-webkit-autofill,
                     {{WRAPPER}} .gn-form-field input:-webkit-autofill:focus,
                     {{WRAPPER}} .gn-form-field input:-webkit-autofill:hover'
					=> '-webkit-text-fill-color: {{VALUE}} !important; 
                    caret-color: {{VALUE}} !important;',
				),
			)
		);

		$this->add_control(
			'input_background',
			array(
				'label'     => esc_html__( 'Background Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-form-field input' => 'background-color: {{VALUE}};',
					'{{WRAPPER}} .gn-form-field input:-webkit-autofill,
                     {{WRAPPER}} .gn-form-field input:-webkit-autofill:focus,
                     {{WRAPPER}} .gn-form-field input:-webkit-autofill:hover'
					=> '-webkit-box-shadow: 0 0 0 1000px {{VALUE}} inset !important; 
                    box-shadow: 0 0 0 1000px {{VALUE}} inset !important;',
				),
			)
		);

		$this->add_control(
			'input_placeholder_color',
			array(
				'label'     => esc_html__( 'Placeholder Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-form-field input::placeholder' => 'color: {{VALUE}}; opacity: 1;',
				),
			)
		);

		$this->add_group_control(
			Group_Control_Box_Shadow::get_type(),
			array(
				'name'     => 'box_shadow_normal',
				'selector' => '{{WRAPPER}} .gn-form-field input',
			)
		);

		$this->add_group_control(
			Group_Control_Border::get_type(),
			array(
				'name'     => 'input_border',
				'selector' => '{{WRAPPER}} .gn-form-field input',
			)
		);

		$this->add_responsive_control(
			'input_border_radius',
			array(
				'label'      => esc_html__( 'Border Radius', 'gigneo' ),
				'type'       => Controls_Manager::DIMENSIONS,
				'size_units' => array( 'px', '%' ),
				'selectors'  => array(
					'{{WRAPPER}} .gn-form-field input' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
				),
			)
		);

		$this->add_responsive_control(
			'input_padding',
			array(
				'label'      => esc_html__( 'Padding', 'gigneo' ),
				'type'       => Controls_Manager::DIMENSIONS,
				'size_units' => array( 'px', 'em', '%' ),
				'selectors'  => array(
					'{{WRAPPER}} .gn-form-field input' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
				),
			)
		);

		$this->start_controls_tabs( 'form_field_style_tabs' );

		$this->start_controls_tab(
			'form_field_hover',
			array( 'label' => esc_html__( 'Hover', 'gigneo' ) )
		);

		$this->add_control(
			'input_border_color_hover',
			array(
				'label'     => __( 'Border Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-form-field input:hover:not(:focus)' => 'border-color: {{VALUE}};',
				),
			)
		);

		$this->add_control(
			'background_hover',
			array(
				'label'     => esc_html__( 'Background Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'default'   => '',
				'selectors' => array(
					'{{WRAPPER}} .gn-form-field input:hover:not(:focus)' => 'background-color: {{VALUE}};',
				),
			)
		);

		$this->add_group_control(
			Group_Control_Box_Shadow::get_type(),
			array(
				'name'     => 'box_shadow_hover',
				'selector' => '{{WRAPPER}} .gn-form-field input:hover:not(:focus)',
			)
		);

		$this->end_controls_tab();

		$this->start_controls_tab(
			'form_field_focus',
			array( 'label' => esc_html__( 'Focus', 'gigneo' ) )
		);

		$this->add_control(
			'background_focus',
			array(
				'label'     => esc_html__( 'Background Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'default'   => '',
				'selectors' => array(
					'{{WRAPPER}} .gn-form-field input:focus' => 'background-color: {{VALUE}};',
				),
			)
		);

		$this->add_control(
			'input_border_color_focus',
			array(
				'label'     => __( 'Border Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-form-field input:focus' => 'border-color: {{VALUE}};',
				),
			)
		);

		$this->add_group_control(
			Group_Control_Box_Shadow::get_type(),
			array(
				'name'     => 'box_shadow_focus',
				'selector' => '{{WRAPPER}} .gn-form-field input:focus',
			)
		);

		$this->end_controls_tab();

		$this->start_controls_tab(
			'form_field_error',
			array( 'label' => esc_html__( 'Error', 'gigneo' ) )
		);

		$this->add_control(
			'input_border_color_error',
			array(
				'label'     => __( 'Border Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-auth-register-continue-btn:error' => 'border-color: {{VALUE}};',
				),
			)
		);

		$this->end_controls_tab();

		$this->end_controls_tabs();

		$this->add_control(
			'eye_icon_heading',
			array(
				'label'     => esc_html__( 'Icon', 'gigneo' ),
				'type'      => Controls_Manager::HEADING,
				'separator' => 'before',
			)
		);

		$this->add_responsive_control(
			'eye_icon_size',
			array(
				'label'      => esc_html__( 'Size', 'gigneo' ),
				'type'       => Controls_Manager::SLIDER,
				'size_units' => array( 'px', '%', 'em', 'rem' ),
                'range' => [
                    'px' => [
                        'min' => 10,
                        'max' => 30,
                        'step' => 1,
                    ],
                ],
				'default'    => array(
					'unit' => 'px',
					'size' => 20,
				),
				'selectors'  => array(
					'{{WRAPPER}} .gn-form-field .gn-auth-input-wrapper .gn-password-revealed' => 'font-size: {{SIZE}}{{UNIT}};',
				),
			)
		);

		$this->add_control(
			'eye_icon_color',
			array(
				'label'     => esc_html__( 'Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-form-field .gn-auth-input-wrapper .gn-password-revealed' => 'color: {{VALUE}};',
				),
			)
		);

		$this->add_responsive_control(
			'eye_icon_margin',
			array(
				'label'      => esc_html__( 'Margin', 'gigneo' ),
				'type'       => Controls_Manager::DIMENSIONS,
				'size_units' => array( 'px', '%', 'em', 'rem', 'vw' ),
				'selectors'  => array(
					'{{WRAPPER}} .gn-form-field .gn-auth-input-wrapper .gn-password-revealed' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
				),
			)
		);

		$this->add_control(
			'input_loader_heading',
			array(
				'label'     => esc_html__( 'Loader', 'gigneo' ),
				'type'      => Controls_Manager::HEADING,
				'separator' => 'before',
			)
		);

		$this->add_responsive_control(
			'input_loader_size',
			array(
				'label'      => __( 'Size', 'gigneo' ),
				'type'       => \Elementor\Controls_Manager::SLIDER,
				'size_units' => array( 'px', '%', 'em' ),
				'range'      => array(
					'px' => array(
						'min'  => 5,
						'max'  => 30,
						'step' => 1,
					),
				),
				'selectors'  => array(
					'{{WRAPPER}} .gn-auth-input-wrapper:has(input.gn-loading)::before' => 'width: {{SIZE}}{{UNIT}}; height: {{SIZE}}{{UNIT}};',
				),
			)
		);

		$this->add_control(
			'input_loader_border_color',
			array(
				'label'     => __( 'Border Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-auth-input-wrapper:has(input.gn-loading)::before' => 'border-color: {{VALUE}};',
				),
			)
		);

		$this->add_control(
			'input_loader_border_top_color',
			array(
				'label'     => __( 'Border Top Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-auth-input-wrapper:has(input.gn-loading)::before' => 'border-top-color: {{VALUE}};',
				),
			)
		);

		$this->end_controls_section();

		$this->start_controls_section(
			'terms_and_privacy_policy_label_style',
			array(
				'label' => esc_html__( 'Terms and Privacy Policy', 'gigneo' ),
				'tab'   => Controls_Manager::TAB_STYLE,
			)
		);

		$this->add_group_control(
			Group_Control_Typography::get_type(),
			array(
				'name'     => 'terms_and_privacy_policy_label_typography',
				'label'    => esc_html__( 'Typography', 'gigneo' ),
				'selector' => '{{WRAPPER}} .gn-form-fields .gn-form-field .gn-form-field-checkbox>label',
			)
		);

		$this->add_control(
			'terms_and_privacy_policy_label_text_color',
			array(
				'label'     => esc_html__( 'Text Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-form-fields .gn-form-field .gn-form-field-checkbox>label' => 'color: {{VALUE}};',
				),
			)
		);

		$this->add_responsive_control(
			'terms_and_privacy_policy_label_text_padding',
			array(
				'label'      => esc_html__( 'Padding', 'gigneo' ),
				'type'       => Controls_Manager::DIMENSIONS,
				'size_units' => array( 'px', 'em', '%' ),
				'selectors'  => array(
					'{{WRAPPER}} .gn-form-fields .gn-form-field .gn-form-field-checkbox>label' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
				),
			)
		);

		$this->add_control(
			'terms_and_privacy_policy_label_link',
			array(
				'label'     => esc_html__( 'Link', 'gigneo' ),
				'type'      => Controls_Manager::HEADING,
				'separator' => 'before',
			)
		);

		$this->add_group_control(
			Group_Control_Typography::get_type(),
			array(
				'name'     => 'terms_and_privacy_policy_link_typography',
				'label'    => esc_html__( 'Typography', 'gigneo' ),
				'selector' => '{{WRAPPER}} .gn-form-fields .gn-form-field .gn-form-field-checkbox>label a',
			)
		);

		$this->add_control(
			'terms_and_privacy_policy_link_text_color',
			array(
				'label'     => esc_html__( 'Text Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-form-fields .gn-form-field .gn-form-field-checkbox>label a' => 'color: {{VALUE}};',
				),
			)
		);

		$this->add_control(
			'checkbox_heading',
			array(
				'label'     => esc_html__( 'Checkbox', 'gigneo' ),
				'type'      => Controls_Manager::HEADING,
				'separator' => 'before',
			)
		);

		$this->add_responsive_control(
			'checkbox_size',
			array(
				'label'      => __( 'Size', 'gigneo' ),
				'type'       => \Elementor\Controls_Manager::SLIDER,
				'size_units' => array( 'px', '%', 'em' ),
				'range'      => array(
					'px' => array(
						'min'  => 10,
						'max'  => 30,
						'step' => 1,
					),
				),
				'selectors'  => array(
					'{{WRAPPER}} .gn-form-field-checkbox label::before' => 'width: {{SIZE}}{{UNIT}}; height: {{SIZE}}{{UNIT}}; font-size: calc({{SIZE}}{{UNIT}} - 4px);',
					'{{WRAPPER}} .gn-form-field-checkbox:has(input[type=checkbox]:checked) label::after' => 'width: {{SIZE}}{{UNIT}}; height: {{SIZE}}{{UNIT}}; font-size: calc({{SIZE}}{{UNIT}} - 4px);',
				),
			)
		);

		$this->add_responsive_control(
			'remember_me_padding_left',
			array(
				'label'      => esc_html__( 'Space Between', 'gigneo' ),
				'type'       => Controls_Manager::SLIDER,
				'size_units' => array( 'px', 'em', '%' ),
				'range'      => array(
					'px' => array(
						'min' => 0,
						'max' => 50,
					),
					'em' => array(
						'min' => 0,
						'max' => 10,
					),
					'%'  => array(
						'min' => 0,
						'max' => 100,
					),
				),
				'selectors'  => array(
					'{{WRAPPER}} .gn-form-fields .gn-form-field .gn-form-field-checkbox>label' => 'padding-left: calc(18px + {{SIZE}}{{UNIT}});',
				),
			)
		);

		$this->start_controls_tabs( 'checkbox_tabs' );

		$this->start_controls_tab(
			'checkbox_tab',
			array( 'label' => esc_html__( 'Unchecked', 'gigneo' ) )
		);

		$this->add_control(
			'checkbox_background_color',
			array(
				'label'     => __( 'Background Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-form-field-checkbox label::before' => 'background-color: {{VALUE}};',
				),
			)
		);

		$this->add_control(
			'checkbox_border_color',
			array(
				'label'     => esc_html__( 'Border Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-form-field-checkbox label::before' => 'border-color: {{VALUE}};',
				),
			)
		);

		$this->end_controls_tab();

		$this->start_controls_tab(
			'checkbox_secondary_tab',
			array( 'label' => esc_html__( 'Checked', 'gigneo' ) )
		);

		$this->add_control(
			'checkbox_secondary_background_color',
			array(
				'label'     => __( 'Background Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-form-field-checkbox:has(input[type=checkbox]:checked) label::after' => 'background-color: {{VALUE}};',
				),
			)
		);

		$this->add_control(
			'checkbox_secondary_border_color',
			array(
				'label'     => esc_html__( 'Border Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-form-field-checkbox:has(input[type=checkbox]:checked) label::after' => 'border-color: {{VALUE}};',
				),
			)
		);

		$this->add_control(
			'checkbox_secondary_icon_color',
			array(
				'label'     => esc_html__( 'Icon Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-form-field-checkbox:has(input[type=checkbox]:checked) label::after' => 'color: {{VALUE}};',
				),
			)
		);

		$this->end_controls_tab();

		$this->end_controls_tabs();

		$this->end_controls_section();

		/* ================= Continue Button ================= */
		$this->start_controls_section(
			'continue_button_style',
			array(
				'label' => esc_html__( 'Continue Button', 'gigneo' ),
				'tab'   => Controls_Manager::TAB_STYLE,
			)
		);

		$this->add_group_control(
			Group_Control_Typography::get_type(),
			array(
				'name'     => 'continue_button_typography',
				'label'    => esc_html__( 'Typography', 'gigneo' ),
				'selector' => '{{WRAPPER}} .gn-auth-register-continue-btn',
			)
		);

		$this->start_controls_tabs( 'button_style_tabs' );

		$this->start_controls_tab(
			'button_normal',
			array( 'label' => esc_html__( 'Normal', 'gigneo' ) )
		);

		$this->add_control(
			'button_text_color',
			array(
				'label'     => esc_html__( 'Text Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-auth-register-continue-btn' => 'color: {{VALUE}};',
				),
			)
		);

		$this->add_control(
			'button_background',
			array(
				'label'     => esc_html__( 'Background Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'default'   => '',
				'selectors' => array(
					'{{WRAPPER}} .gn-auth-register-continue-btn' => 'background-color: {{VALUE}};',
				),
			)
		);

		$this->add_group_control(
			Group_Control_Box_Shadow::get_type(),
			array(
				'name'     => 'button_box_shadow',
				'selector' => '{{WRAPPER}} .gn-auth-register-continue-btn',
			)
		);

		$this->end_controls_tab();

		$this->start_controls_tab(
			'button_hover',
			array( 'label' => esc_html__( 'Hover', 'gigneo' ) )
		);

		$this->add_control(
			'button_text_color_hover',
			array(
				'label'     => __( 'Text Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-auth-register-continue-btn:hover' => 'color: {{VALUE}};',
				),
			)
		);

		$this->add_control(
			'button_background_hover',
			array(
				'label'     => esc_html__( 'Background Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'default'   => '',
				'selectors' => array(
					'{{WRAPPER}} .gn-auth-register-continue-btn:hover' => 'background-color: {{VALUE}};',
				),
			)
		);

		$this->add_control(
			'button_border_color_hover',
			array(
				'label'     => __( 'Border Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-auth-register-continue-btn:hover' => 'border-color: {{VALUE}};',
				),
			)
		);

		$this->add_group_control(
			Group_Control_Box_Shadow::get_type(),
			array(
				'name'     => 'button_box_shadow_hover',
				'selector' => '{{WRAPPER}} .gn-auth-register-continue-btn:hover',
			)
		);

		$this->end_controls_tab();

		$this->start_controls_tab(
			'button_focus',
			array( 'label' => esc_html__( 'Focus', 'gigneo' ) )
		);

		$this->add_control(
			'button_text_color_focus',
			array(
				'label'     => esc_html__( 'Text Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-auth-register-continue-btn:focus' => 'color: {{VALUE}};',
				),
			)
		);

		$this->add_control(
			'button_background_focus',
			array(
				'label'     => esc_html__( 'Background Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'default'   => '',
				'selectors' => array(
					'{{WRAPPER}} .gn-auth-register-continue-btn:focus' => 'background-color: {{VALUE}};',
				),
			)
		);

		$this->add_control(
			'button_border_focus',
			array(
				'label'     => __( 'Border Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-auth-register-continue-btn:focus' => 'border-color: {{VALUE}};',
				),
			)
		);

		$this->add_group_control(
			Group_Control_Box_Shadow::get_type(),
			array(
				'name'     => 'button_box_shadow_focus',
				'selector' => '{{WRAPPER}} .gn-auth-register-continue-btn:focus',
			)
		);

		$this->end_controls_tab();

		$this->end_controls_tabs();

		$this->add_group_control(
			Group_Control_Border::get_type(),
			array(
				'name'      => 'button_border',
				'separator' => 'before',
				'selector'  => '{{WRAPPER}} .gn-auth-register-continue-btn',
			)
		);

		$this->add_responsive_control(
			'button_border_radius',
			array(
				'label'      => esc_html__( 'Border Radius', 'gigneo' ),
				'type'       => Controls_Manager::DIMENSIONS,
				'size_units' => array( 'px', '%' ),
				'selectors'  => array(
					'{{WRAPPER}} .gn-auth-register-continue-btn' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
				),
			)
		);

		$this->add_responsive_control(
			'button_padding',
			array(
				'label'      => esc_html__( 'Padding', 'gigneo' ),
				'type'       => Controls_Manager::DIMENSIONS,
				'size_units' => array( 'px', 'em', '%' ),
				'selectors'  => array(
					'{{WRAPPER}} .gn-auth-register-continue-btn' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
				),
			)
		);

		$this->add_responsive_control(
			'button_margin',
			array(
				'label'      => esc_html__( 'Margin', 'gigneo' ),
				'type'       => Controls_Manager::DIMENSIONS,
				'size_units' => array( 'px', 'em', '%' ),
				'selectors'  => array(
					'{{WRAPPER}} .gn-auth-register-continue-btn' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
				),
			)
		);

		$this->add_control(
			'loader_style',
			array(
				'label'     => esc_html__( 'Loader', 'gigneo' ),
				'type'      => Controls_Manager::HEADING,
				'separator' => 'before',
			)
		);

		$this->add_responsive_control(
			'btn_loader_size',
			array(
				'label'      => __( 'Size', 'gigneo' ),
				'type'       => \Elementor\Controls_Manager::SLIDER,
				'size_units' => array( 'px', '%', 'em' ),
				'range'      => array(
					'px' => array(
						'min'  => 5,
						'max'  => 30,
						'step' => 1,
					),
				),
				'selectors'  => array(
					'{{WRAPPER}} .gn-auth-actions .gn-loading::after' => 'width: {{SIZE}}{{UNIT}}; height: {{SIZE}}{{UNIT}};',
				),
			)
		);

		$this->add_group_control(
			Group_Control_Border::get_type(),
			array(
				'name'     => 'btn_loader_border',
				'selector' => '{{WRAPPER}} .gn-auth-actions .gn-loading::after',
			)
		);

		$this->add_control(
			'btn_loader_border_top_color',
			array(
				'label'     => __( 'Border Top Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-auth-actions .gn-loading::after' => 'border-top-color: {{VALUE}};',
				),
			)
		);

		$this->add_responsive_control(
			'btn_loader_margin',
			array(
				'label'      => esc_html__( 'Margin', 'gigneo' ),
				'type'       => Controls_Manager::DIMENSIONS,
				'size_units' => array( 'px', 'em', '%' ),
				'selectors'  => array(
					'{{WRAPPER}} .gn-auth-actions .gn-loading::after' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
				),
			)
		);

		$this->end_controls_section();

		$this->start_controls_section(
			'have_account_style',
			array(
				'label' => esc_html__( 'Have An Account', 'gigneo' ),
				'tab'   => Controls_Manager::TAB_STYLE,
			)
		);

		$this->add_group_control(
			Group_Control_Typography::get_type(),
			array(
				'name'     => 'have_account_typography',
				'label'    => esc_html__( 'Typography', 'gigneo' ),
				'selector' => '{{WRAPPER}} .gn-auth-action-text',
			)
		);

		$this->add_control(
			'have_account_text_color',
			array(
				'label'     => esc_html__( 'Text Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-auth-action-text' => 'color: {{VALUE}};',
				),
			)
		);

		$this->add_responsive_control(
			'have_account_text_padding',
			array(
				'label'      => esc_html__( 'Padding', 'gigneo' ),
				'type'       => Controls_Manager::DIMENSIONS,
				'size_units' => array( 'px', 'em', '%' ),
				'selectors'  => array(
					'{{WRAPPER}} .gn-auth-action-text' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
				),
			)
		);

		$this->add_responsive_control(
			'have_account_text_margin',
			array(
				'label'      => esc_html__( 'Margin', 'gigneo' ),
				'type'       => Controls_Manager::DIMENSIONS,
				'size_units' => array( 'px', 'em', '%' ),
				'selectors'  => array(
					'{{WRAPPER}} .gn-auth-action-text' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
				),
			)
		);

		$this->add_control(
			'sign_in_style',
			array(
				'label'     => esc_html__( 'Sign in', 'gigneo' ),
				'type'      => Controls_Manager::HEADING,
				'separator' => 'before',
			)
		);

		$this->add_group_control(
			Group_Control_Typography::get_type(),
			array(
				'name'     => 'sign_in_typography',
				'global'   => array(
					'default' => Global_Typography::TYPOGRAPHY_PRIMARY,
				),
				'selector' => '{{WRAPPER}} .gn-sign-in',
			)
		);

		$this->start_controls_tabs( 'sign_in_style_tabs' );

		$this->start_controls_tab(
			'sign_in_normal',
			array( 'label' => esc_html__( 'Normal', 'gigneo' ) )
		);

		$this->add_control(
			'sign_in_text_color',
			array(
				'label'     => esc_html__( 'Text Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-sign-in' => 'color: {{VALUE}};',
				),
			)
		);

		$this->add_control(
			'sign_in_background',
			array(
				'label'     => esc_html__( 'Background Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'default'   => '',
				'selectors' => array(
					'{{WRAPPER}} .gn-sign-in' => 'background-color: {{VALUE}};',
				),
			)
		);

		$this->add_control(
			'sign_in_text_decoration',
			array(
				'label'     => esc_html__( 'Text Decoration', 'gigneo' ),
				'type'      => \Elementor\Controls_Manager::SELECT,
				'default'   => 'underline',
				'options'   => array(
					'none'         => esc_html__( 'None', 'gigneo' ),
					'underline'    => esc_html__( 'Underline', 'gigneo' ),
					'overline'     => esc_html__( 'Overline', 'gigneo' ),
					'line-through' => esc_html__( 'Line Through', 'gigneo' ),
				),
				'selectors' => array(
					'{{WRAPPER}} .gn-sign-in' => 'text-decoration: {{VALUE}};',
				),
			)
		);

		$this->add_group_control(
			Group_Control_Box_Shadow::get_type(),
			array(
				'name'     => 'sign_in_box_shadow',
				'selector' => '{{WRAPPER}} .gn-sign-in',
			)
		);

		$this->end_controls_tab();

		$this->start_controls_tab(
			'sign_in_hover',
			array( 'label' => esc_html__( 'Hover', 'gigneo' ) )
		);

		$this->add_control(
			'sign_in_text_color_hover',
			array(
				'label'     => __( 'Text Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-sign-in:hover' => 'color: {{VALUE}};',
				),
			)
		);

		$this->add_control(
			'sign_in_background_hover',
			array(
				'label'     => esc_html__( 'Background Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'default'   => '',
				'selectors' => array(
					'{{WRAPPER}} .gn-sign-in:hover' => 'background-color: {{VALUE}};',
				),
			)
		);

		$this->add_control(
			'sign_in_border_color_hover',
			array(
				'label'     => __( 'Border Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-sign-in:hover' => 'border-color: {{VALUE}};',
				),
			)
		);

		$this->add_control(
			'sign_in_text_decoration_hover',
			array(
				'label'     => esc_html__( 'Text Decoration', 'gigneo' ),
				'type'      => \Elementor\Controls_Manager::SELECT,
				'default'   => 'underline',
				'options'   => array(
					'none'         => esc_html__( 'None', 'gigneo' ),
					'underline'    => esc_html__( 'Underline', 'gigneo' ),
					'overline'     => esc_html__( 'Overline', 'gigneo' ),
					'line-through' => esc_html__( 'Line Through', 'gigneo' ),
				),
				'selectors' => array(
					'{{WRAPPER}} .gn-sign-in:hover' => 'text-decoration: {{VALUE}};',
				),
			)
		);

		$this->add_group_control(
			Group_Control_Box_Shadow::get_type(),
			array(
				'name'     => 'sign_in_box_shadow_hover',
				'selector' => '{{WRAPPER}} .gn-sign-in:hover',
			)
		);

		$this->end_controls_tab();

		$this->start_controls_tab(
			'sign_in_focus',
			array( 'label' => esc_html__( 'Focus', 'gigneo' ) )
		);

		$this->add_control(
			'sign_in_text_color_focus',
			array(
				'label'     => __( 'Text Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-sign-in:focus' => 'color: {{VALUE}};',
				),
			)
		);

		$this->add_control(
			'sign_in_background_focus',
			array(
				'label'     => esc_html__( 'Background Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'default'   => '',
				'selectors' => array(
					'{{WRAPPER}} .gn-sign-in:focus' => 'background-color: {{VALUE}};',
				),
			)
		);

		$this->add_control(
			'sign_in_border_color_focus',
			array(
				'label'     => __( 'Border Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-sign-in:focus' => 'border-color: {{VALUE}};',
				),
			)
		);

		$this->add_group_control(
			Group_Control_Box_Shadow::get_type(),
			array(
				'name'     => 'sign_in_box_shadow_focus',
				'selector' => '{{WRAPPER}} .gn-sign-in:focus',
			)
		);

		$this->end_controls_tab();

		$this->end_controls_tabs();

		$this->add_group_control(
			Group_Control_Border::get_type(),
			array(
				'name'      => 'sign_in_border',
				'separator' => 'before',
				'selector'  => '{{WRAPPER}} .gn-sign-in',
			)
		);

		$this->add_responsive_control(
			'sign_in_border_radius',
			array(
				'label'      => esc_html__( 'Border Radius', 'gigneo' ),
				'type'       => Controls_Manager::DIMENSIONS,
				'size_units' => array( 'px', '%' ),
				'selectors'  => array(
					'{{WRAPPER}} .gn-sign-in' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
				),
			)
		);

		$this->add_responsive_control(
			'sign_in_text_padding',
			array(
				'label'      => esc_html__( 'Padding', 'gigneo' ),
				'type'       => Controls_Manager::DIMENSIONS,
				'size_units' => array( 'px', 'em', '%' ),
				'selectors'  => array(
					'{{WRAPPER}} .gn-sign-in' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
				),
			)
		);

		$this->add_responsive_control(
			'sign_in_text_margin',
			array(
				'label'      => esc_html__( 'Margin', 'gigneo' ),
				'type'       => Controls_Manager::DIMENSIONS,
				'size_units' => array( 'px', 'em', '%' ),
				'selectors'  => array(
					'{{WRAPPER}} .gn-sign-in' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
				),
			)
		);

		$this->end_controls_section();

		/* ================= User Type ================= */
		$this->start_controls_section(
			'user_type_style',
			array(
				'label' => esc_html__( 'User Type', 'gigneo' ),
				'tab'   => Controls_Manager::TAB_STYLE,
			)
		);

		$this->add_responsive_control(
			'user_type_gap',
			array(
				'label'      => esc_html__( 'Space between', 'gigneo' ),
				'type'       => Controls_Manager::SLIDER,
				'size_units' => array( 'px', '%', 'em' ),
				'range'      => array(
					'px' => array(
						'min' => 0,
						'max' => 30,
					),
					'%'  => array(
						'min' => 0,
						'max' => 100,
					),
					'em' => array(
						'min' => 0,
						'max' => 10,
					),
				),
				'selectors'  => array(
					'{{WRAPPER}} .gn-auth-form .gn-form-field.gn-field-roles' => 'gap: {{SIZE}}{{UNIT}};',
				),
			)
		);

		$this->add_group_control(
			Group_Control_Background::get_type(),
			array(
				'name'     => 'user_type_bg_color',
				'types'    => array( 'classic', 'gradient' ),
				'exclude'  => array( 'image' ), // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude
				'selector' => '{{WRAPPER}} .gn-auth-form .gn-form-fields .gn-field-role label',
			)
		);

		$this->add_group_control(
			Group_Control_Border::get_type(),
			array(
				'name'     => 'user_type_border',
				'selector' => '{{WRAPPER}} .gn-auth-form .gn-form-fields .gn-field-role label',
			)
		);

		$this->add_responsive_control(
			'user_type_border_radius',
			array(
				'label'      => esc_html__( 'Border Radius', 'gigneo' ),
				'type'       => Controls_Manager::DIMENSIONS,
				'size_units' => array( 'px', '%' ),
				'selectors'  => array(
					'{{WRAPPER}} .gn-auth-form .gn-form-fields .gn-field-role label' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
				),
			)
		);

		$this->add_responsive_control(
			'user_type_padding',
			array(
				'label'      => esc_html__( 'Padding', 'gigneo' ),
				'type'       => Controls_Manager::DIMENSIONS,
				'size_units' => array( 'px', 'em', '%' ),
				'selectors'  => array(
					'{{WRAPPER}} .gn-auth-form .gn-form-fields .gn-field-role label' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
				),
			)
		);

		/* --- Icon --- */
		$this->add_control(
			'user_type_icon',
			array(
				'label'     => esc_html__( 'Icon', 'gigneo' ),
				'type'      => Controls_Manager::HEADING,
				'separator' => 'before',
			)
		);

		$this->add_responsive_control(
			'user_type_icon_size',
			array(
				'label'      => esc_html__( 'Size', 'gigneo' ),
				'type'       => Controls_Manager::SLIDER,
				'size_units' => array( 'px', 'em', 'rem' ),
				'range'      => array(
					'px'  => array(
						'min' => 8,
						'max' => 30,
					),
					'em'  => array(
						'min' => 0.5,
						'max' => 3,
					),
					'rem' => array(
						'min' => 0.5,
						'max' => 3,
					),
				),
				'selectors'  => array(
					'{{WRAPPER}} .gn-auth-form .gn-form-fields .gn-field-role label .gn-icon' => 'font-size: {{SIZE}}{{UNIT}};',
				),
			)
		);

		$this->add_control(
			'user_type_icon_color',
			array(
				'label'     => esc_html__( 'Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-auth-form .gn-form-fields .gn-field-role label .gn-icon' => 'color: {{VALUE}};',
				),
			)
		);

		$this->add_responsive_control(
			'user_type_icon_margin',
			array(
				'label'      => esc_html__( 'Margin', 'gigneo' ),
				'type'       => Controls_Manager::DIMENSIONS,
				'size_units' => array( 'px', 'em', '%' ),
				'selectors'  => array(
					'{{WRAPPER}} .gn-auth-form .gn-form-fields .gn-field-role label .gn-icon' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
				),
			)
		);

		$this->add_control(
			'user_type_title',
			array(
				'label'     => esc_html__( 'Title', 'gigneo' ),
				'type'      => Controls_Manager::HEADING,
				'separator' => 'before',
			)
		);

		$this->add_group_control(
			Group_Control_Typography::get_type(),
			array(
				'name'     => 'user_type_title_typography',
				'selector' => '{{WRAPPER}} .gn-auth-form .gn-form-fields .gn-field-role label .gn-title',
			)
		);

		$this->add_control(
			'user_type_title_color',
			array(
				'label'     => esc_html__( ' Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'default'   => '',
				'selectors' => array(
					'{{WRAPPER}} .gn-auth-form .gn-form-fields .gn-field-role label .gn-title' => 'color: {{VALUE}};',
				),
			)
		);

		$this->add_group_control(
			Group_Control_Text_Shadow::get_type(),
			array(
				'name'     => 'user_type_text_shadow',
				'selector' => '{{WRAPPER}} .gn-auth-form .gn-form-fields .gn-field-role label .gn-title',
			)
		);

		$this->add_responsive_control(
			'user_type_title_margin',
			array(
				'label'      => esc_html__( 'Margin', 'gigneo' ),
				'type'       => Controls_Manager::DIMENSIONS,
				'size_units' => array( 'px', 'em', '%' ),
				'selectors'  => array(
					'{{WRAPPER}} .gn-auth-form .gn-form-fields .gn-field-role label .gn-title' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
				),
			)
		);

		$this->add_control(
			'user_type_desc',
			array(
				'label'     => esc_html__( 'Description', 'gigneo' ),
				'type'      => Controls_Manager::HEADING,
				'separator' => 'before',
			)
		);

		$this->add_group_control(
			Group_Control_Typography::get_type(),
			array(
				'name'     => 'user_type_desc_typography',
				'selector' => '{{WRAPPER}} .gn-auth-form .gn-form-fields .gn-field-role label .gn-description',
			)
		);

		$this->add_control(
			'user_type_desc_color',
			array(
				'label'     => esc_html__( ' Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'default'   => '',
				'selectors' => array(
					'{{WRAPPER}} .gn-auth-form .gn-form-fields .gn-field-role label .gn-description' => 'color: {{VALUE}};',
				),
			)
		);

		$this->add_responsive_control(
			'user_type_desc_margin',
			array(
				'label'      => esc_html__( 'Margin', 'gigneo' ),
				'type'       => Controls_Manager::DIMENSIONS,
				'size_units' => array( 'px', 'em', '%' ),
				'selectors'  => array(
					'{{WRAPPER}} .gn-auth-form .gn-form-fields .gn-field-role label .gn-description' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
				),
			)
		);

		$this->add_control(
			'user_type_radio_heading',
			array(
				'label'     => esc_html__( 'Radio', 'gigneo' ),
				'type'      => Controls_Manager::HEADING,
				'separator' => 'before',
			)
		);

		$this->add_responsive_control(
			'user_type_radio_size',
			array(
				'label'      => esc_html__( 'Size', 'gigneo' ),
				'type'       => Controls_Manager::SLIDER,
				'size_units' => array( 'px', 'em', 'rem' ),
				'range'      => array(
					'px'  => array(
						'min' => 8,
						'max' => 30,
					),
					'em'  => array(
						'min' => 0.5,
						'max' => 3,
					),
					'rem' => array(
						'min' => 0.5,
						'max' => 3,
					),
				),
				'selectors'  => array(
					'{{WRAPPER}} .gn-auth-form .gn-field-role label::before' => 'height: {{SIZE}}{{UNIT}}; width: {{SIZE}}{{UNIT}};',
					'{{WRAPPER}} .gn-field-role:has(input[type=radio]:checked) label::after' => 'height: calc({{SIZE}}{{UNIT}} - 12px); width: calc({{SIZE}}{{UNIT}} - 12px);',
				),
			)
		);

		$this->start_controls_tabs( 'filters_toggle_dropdown_radio_tabs' );

		$this->start_controls_tab(
			'user_type_radio_unchecked',
			array( 'label' => esc_html__( 'Unchecked', 'gigneo' ) )
		);

		$this->add_control(
			'user_type_radio_unchecked_background',
			array(
				'label'     => __( 'Background Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-auth-form .gn-field-role label::before' => 'background-color: {{VALUE}};',
				),
			)
		);

		$this->add_control(
			'user_type_radio_unchecked_border_color',
			array(
				'label'     => __( 'Border Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-auth-form .gn-field-role label::before' => 'border-color: {{VALUE}};',
				),
			)
		);

		$this->end_controls_tab();

		$this->start_controls_tab(
			'user_type_radio_checked',
			array( 'label' => esc_html__( 'Checked', 'gigneo' ) )
		);

		$this->add_control(
			'user_type_radio_checked_knob_color',
			array(
				'label'     => __( 'Knob Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-field-role label::after' => 'background-color: {{VALUE}};',
				),
			)
		);

		$this->add_control(
			'user_type_radio_checked_background',
			array(
				'label'     => __( 'Background Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-field-role:has(input[type=radio]:checked) label::before' => 'background-color: {{VALUE}};',
				),
			)
		);

		$this->add_control(
			'user_type_radio_checked_border_color',
			array(
				'label'     => __( 'Border Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-field-role:has(input[type=radio]:checked) label::before' => 'border-color: {{VALUE}};',
				),
			)
		);

		$this->end_controls_tab();

		$this->end_controls_tabs();

		$this->end_controls_section();

		/* ================= Back Button ================= */
		$this->start_controls_section(
			'back_button_style',
			array(
				'label' => esc_html__( 'Back Button', 'gigneo' ),
				'tab'   => Controls_Manager::TAB_STYLE,
			)
		);

		$this->add_responsive_control(
			'back_button_space_between',
			array(
				'label'      => esc_html__( 'Space Between', 'gigneo' ),
				'type'       => Controls_Manager::SLIDER,
				'size_units' => array( 'px', '%', 'em' ),
				'range'      => array(
					'px' => array(
						'min' => 0,
						'max' => 30,
					),
					'%'  => array(
						'min' => 0,
						'max' => 100,
					),
					'em' => array(
						'min' => 0,
						'max' => 10,
					),
				),
				'selectors'  => array(
					'{{WRAPPER}} .gn-auth-register-back-btn' => 'gap: {{SIZE}}{{UNIT}};',
				),
			)
		);

		$this->add_group_control(
			Group_Control_Typography::get_type(),
			array(
				'name'     => 'back_button_typography',
				'label'    => esc_html__( 'Typography', 'gigneo' ),
				'selector' => '{{WRAPPER}} .gn-auth-register-back-btn',
			)
		);

		$this->start_controls_tabs( 'back_button_style_tabs' );

		$this->start_controls_tab(
			'back_button',
			array( 'label' => esc_html__( 'Normal', 'gigneo' ) )
		);

		$this->add_control(
			'back_button_text_color',
			array(
				'label'     => esc_html__( 'Text Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-auth-register-back-btn' => 'color: {{VALUE}}; fill: {{VALUE}};',
				),
			)
		);

		$this->add_control(
			'back_button_background',
			array(
				'label'     => esc_html__( 'Background Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'default'   => '',
				'selectors' => array(
					'{{WRAPPER}} .gn-auth-register-back-btn' => 'background-color: {{VALUE}};',
				),
			)
		);

		$this->add_group_control(
			Group_Control_Box_Shadow::get_type(),
			array(
				'name'     => 'back_button_box_shadow',
				'selector' => '{{WRAPPER}} .gn-auth-register-back-btn',
			)
		);

		$this->end_controls_tab();

		$this->start_controls_tab(
			'back_button_hover',
			array( 'label' => esc_html__( 'Hover', 'gigneo' ) )
		);

		$this->add_control(
			'back_button_text_color_hover',
			array(
				'label'     => esc_html__( 'Text Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-auth-register-back-btn:hover' => 'color: {{VALUE}};',
				),
			)
		);

		$this->add_control(
			'back_button_background_hover',
			array(
				'label'     => esc_html__( 'Background Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'default'   => '',
				'selectors' => array(
					'{{WRAPPER}} .gn-auth-register-back-btn:hover' => 'background-color: {{VALUE}};',
				),
			)
		);

		$this->add_control(
			'back_button_border_color_hover',
			array(
				'label'     => __( 'Border Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-auth-register-back-btn:hover' => 'border-color: {{VALUE}};',
				),
			)
		);

		$this->add_group_control(
			Group_Control_Box_Shadow::get_type(),
			array(
				'name'     => 'back_button_box_shadow_hover',
				'selector' => '{{WRAPPER}} .gn-auth-register-back-btn:hover',
			)
		);

		$this->end_controls_tab();

		$this->start_controls_tab(
			'back_button_focus',
			array( 'label' => esc_html__( 'Focus', 'gigneo' ) )
		);

		$this->add_control(
			'back_button_text_color_focus',
			array(
				'label'     => esc_html__( 'Text Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-auth-register-back-btn:focus' => 'color: {{VALUE}};',
				),
			)
		);

		$this->add_control(
			'back_button_background_focus',
			array(
				'label'     => esc_html__( 'Background Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'default'   => '',
				'selectors' => array(
					'{{WRAPPER}} .gn-auth-register-back-btn:focus' => 'background-color: {{VALUE}};',
				),
			)
		);

		$this->add_control(
			'back_button_border_focus',
			array(
				'label'     => __( 'Border Color', 'gigneo' ),
				'type'      => Controls_Manager::COLOR,
				'selectors' => array(
					'{{WRAPPER}} .gn-auth-register-back-btn:focus' => 'border-color: {{VALUE}};',
				),
			)
		);

		$this->add_group_control(
			Group_Control_Box_Shadow::get_type(),
			array(
				'name'     => 'back_button_box_shadow_focus',
				'selector' => '{{WRAPPER}} .gn-auth-register-back-btn:focus',
			)
		);

		$this->end_controls_tab();

		$this->end_controls_tabs();

		$this->add_group_control(
			Group_Control_Border::get_type(),
			array(
				'name'      => 'back_button_border',
				'separator' => 'before',
				'selector'  => '{{WRAPPER}} .gn-auth-register-back-btn',
			)
		);

		$this->add_responsive_control(
			'back_button_border_radius',
			array(
				'label'      => esc_html__( 'Border Radius', 'gigneo' ),
				'type'       => Controls_Manager::DIMENSIONS,
				'size_units' => array( 'px', '%' ),
				'selectors'  => array(
					'{{WRAPPER}} .gn-auth-register-back-btn' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
				),
			)
		);

		$this->add_responsive_control(
			'back_button_padding',
			array(
				'label'      => esc_html__( 'Padding', 'gigneo' ),
				'type'       => Controls_Manager::DIMENSIONS,
				'size_units' => array( 'px', 'em', '%' ),
				'selectors'  => array(
					'{{WRAPPER}} .gn-auth-register-back-btn' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
				),
			)
		);

		$this->add_responsive_control(
			'back_button_margin',
			array(
				'label'      => esc_html__( 'Margin', 'gigneo' ),
				'type'       => Controls_Manager::DIMENSIONS,
				'size_units' => array( 'px', 'em', '%' ),
				'selectors'  => array(
					'{{WRAPPER}} .gn-auth-register-back-btn' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
				),
			)
		);

		$this->end_controls_section();
	}

	/**
	 * Render widget output on the frontend.
	 *
	 * Uses a template file to separate PHP/HTML from logic.
	 */
	protected function render() {
		// Include the frontend template for the widget.
		require gigneo_get_template( 'elementor/widgets/register' );
	}
}
