<?php
/**
 * Shared confirmation modal for admin AJAX actions.
 *
 * @package LolaCore
 * @license GPL-2.0-or-later
 */

declare(strict_types=1);

if (!defined('ABSPATH')) {
    exit;
}

?>
<div id="lc-confirm-modal" class="lc-modal-overlay" style="display: none;">
    <div class="lc-modal-card">
        <div class="lc-modal-header" style="background: var(--lc-paper); border-bottom-color: var(--lc-border);">
            <h3 id="lc-confirm-title" style="color: var(--lc-text-primary);"><?php echo esc_html__('Confirm Action', 'lolacore'); ?></h3>
        </div>
        <div class="lc-modal-body">
            <p id="lc-confirm-message"><?php echo esc_html__('Are you sure?', 'lolacore'); ?></p>
        </div>
        <div class="lc-modal-footer">
            <button type="button" class="lc-action-btn ghost" id="btn-confirm-cancel"><?php echo esc_html__('Cancel', 'lolacore'); ?></button>
            <button type="button" class="lc-action-btn primary" id="btn-confirm-ok"><?php echo esc_html__('Confirm', 'lolacore'); ?></button>
        </div>
    </div>
</div>
