<?php
/**
 * Component: Empty State
 * 
 * Expected variables:
 * @var string $empty_icon    Icon to display (default: solar:folder-open-bold)
 * @var string $empty_message Message to display (default: Nenhum registro encontrado)
 * @var string $empty_style   Inline style override (optional)
 */

$icon = $empty_icon ?? 'solar:folder-open-bold';
$message = $empty_message ?? 'Nenhum registro encontrado';
$style = $empty_style ?? 'padding:2rem 0';
?>

<div class="empty-state" style="<?php echo $style; ?>">
    <iconify-icon icon="<?php echo $icon; ?>"></iconify-icon>
    <p><?php echo $message; ?></p>
</div>
