<?php
if ( ! defined( 'ABSPATH' ) ) {
	exit;
} // Exit if accessed directly
?>
<?php if ( $content->show ) : ?>    
	<!--copyscapeskip-->
	<!-- V2 -->
	<?php // The `open` attribute is required so the dialog subtree is not treated as inert. Visibility is controlled by the `gdpr_lightbox-hide` class. ?>
	<dialog id="moove_gdpr_cookie_modal" class="gdpr_lightbox-hide" open aria-modal="true" aria-label="<?php esc_html_e( 'GDPR Settings Screen', 'gdpr-cookie-compliance' ); ?>">
	<div class="moove-gdpr-modal-content moove-clearfix logo-position-<?php echo esc_attr( $content->logo_position ); ?> <?php echo esc_attr( $content->theme ); ?>">
		<?php if ( $content->close ) : ?>
		<button class="moove-gdpr-modal-close" autofocus aria-label="<?php esc_html_e( 'Close GDPR Cookie Settings', 'gdpr-cookie-compliance' ); ?>">
			<span class="gdpr-sr-only"><?php esc_html_e( 'Close GDPR Cookie Settings', 'gdpr-cookie-compliance' ); ?></span>
			<span class="gdpr-icon moovegdpr-arrow-close"> </span>
		</button>
		<?php endif; ?>
		<div class="moove-gdpr-modal-left-content">
		<ul id="moove-gdpr-menu">
			<?php echo gdpr_get_module( 'tab-navigation' ); // phpcs:ignore ?>
		</ul>
		</div>
		<!--  .moove-gdpr-modal-left-content -->
		<div class="moove-gdpr-modal-right-content">
			<div class="moove-gdpr-modal-title"> 
			<div>
				<span class="tab-title"><?php echo esc_attr( $content->modal_title ); ?></span>
			</div>
			<?php echo gdpr_get_module( 'company-logo' ); // phpcs:ignore ?>
			</div>
			<!-- .moove-gdpr-modal-ritle -->
			<div class="main-modal-content">

			<div class="moove-gdpr-tab-content">
				<?php echo gdpr_get_module( 'section-overview' ); // phpcs:ignore ?>
				<?php echo gdpr_get_module( 'section-strictly' ); // phpcs:ignore ?>
				<?php echo gdpr_get_module( 'section-third_party' ); // phpcs:ignore ?>
				<?php echo gdpr_get_module( 'section-advanced' ); // phpcs:ignore ?>
				<?php echo gdpr_get_module( 'section-performance' ); // phpcs:ignore ?>
				<?php echo gdpr_get_module( 'section-preference' ); // phpcs:ignore ?>
				<?php echo gdpr_get_module( 'section-cookiepolicy' ); // phpcs:ignore ?>
			</div>
			<!--  .moove-gdpr-tab-content -->
			</div>
			<!--  .main-modal-content -->
			<div class="moove-gdpr-modal-footer-content">
			<?php echo gdpr_get_module( 'modal-footer-buttons' ); // phpcs:ignore ?>
			<?php echo gdpr_get_module( 'gdpr-branding' ); // phpcs:ignore ?>
			</div>
			<!--  .moove-gdpr-modal-footer-content -->
		</div>
		<!--  .moove-gdpr-modal-right-content -->

		<div class="moove-clearfix"></div>

	</div>
	<!--  .moove-gdpr-modal-content -->
	</dialog>
	<!-- #moove_gdpr_cookie_modal -->
	<!--/copyscapeskip-->
<?php endif; ?>
