<?php
if ( ! defined( 'ABSPATH' ) ) {
	exit;  }
function sifency_addons_render_new_section_modal() { ?>
	<div id="sifency-new-section-modal" class="sifency-modal-overlay">
		<div class="sifency-modal-wrap sifency-new-template-wrap">
			<div class="sifency-modal-header">
				<h2><?php esc_html_e( 'Create new section', 'sifency-addons' ); ?></h2>
				<button class="sifency-modal-close" id="sifency-close-section-modal">⛌</button>
			</div>
			<div class="sifency-modal-body">
				<div class="sifency-form-group">
					<label for="sifency-section-title"><?php esc_html_e( 'Section Name', 'sifency-addons' ); ?></label>
					<input type="text" id="sifency-section-title" placeholder="<?php esc_attr_e( 'Enter your section name...', 'sifency-addons' ); ?>" />
					<input type="hidden" id="sifency-template-type" value="section_template"> 
				</div>
			</div>
			<div class="sifency-modal-footer">
				<button id="sifency-save-section-draft" class="button sifency-admin-btn sifency-secondary-btn">
					<span class="spinner"></span>
					<?php esc_html_e( 'Save as Draft', 'sifency-addons' ); ?>
				</button>
				<button type="button" id="sifency-create-section-elementor" class="button button-primary sifency-admin-btn">
					<span class="spinner"></span>
					<?php esc_html_e( 'Create & Edit with Elementor', 'sifency-addons' ); ?>
				</button>
			</div>
		</div>
	</div>
	<?php
}
