<?php if (!defined('ABSPATH')) exit; // Exit if accessed directly ?>
<div id="privacy-audit-confirmation" class="wps-modal wps-modal--confirmation" role="dialog" aria-labelledby="confirmation-modal-title" >
    <div class="wps-modal__overlay"></div>
    <div class="wps-modal__content">
        <button class="wps-modal__close"  type="button" aria-label="<?php esc_attr_e('Close modal', 'wp-statistics'); ?>"></button>
        <h2 id="confirmation-modal-title" class="wps-modal__title">
            <?php echo esc_html($title); ?>
        </h2>
        <p class="wps-modal__description">
            <?php echo wp_kses($description, ['b' => [], 'a' => ['href' => []], 'br' => []]); ?>
        </p>
        <div class="wps-modal__footer">
            <button class="wps-modal__button wps-modal__button--secondary wps-modal__button--<?php echo esc_html($secondaryButtonStyle); ?>" type="button"
                    data-action="<?php echo esc_html($actions['secondary']); ?>">
                <?php echo esc_html($secondaryButtonText); ?>
            </button>
            <button class="<?php if( $actions['primary'] === 'resolve') echo 'wps-privacy-list__button'; ?> wps-modal__button wps-modal__button--primary wps-modal__button--<?php echo esc_html($primaryButtonStyle); ?>" type="button" data-action="<?php echo esc_html($actions['primary']); ?>">
                <?php echo esc_html($primaryButtonText); ?>
            </button>
        </div>
    </div>
</div>
