<?php $attributes ??= new \Illuminate\View\ComponentAttributeBag;

$__newAttributes = [];
$__propNames = \Illuminate\View\ComponentAttributeBag::extractPropNames(([
    'title' => null,
    'subtitle' => null,
    'icon' => null,
    'padding' => true,
    'headerActions' => null,
]));

foreach ($attributes->all() as $__key => $__value) {
    if (in_array($__key, $__propNames)) {
        $$__key = $$__key ?? $__value;
    } else {
        $__newAttributes[$__key] = $__value;
    }
}

$attributes = new \Illuminate\View\ComponentAttributeBag($__newAttributes);

unset($__propNames);
unset($__newAttributes);

foreach (array_filter(([
    'title' => null,
    'subtitle' => null,
    'icon' => null,
    'padding' => true,
    'headerActions' => null,
]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) {
    $$__key = $$__key ?? $__value;
}

$__defined_vars = get_defined_vars();

foreach ($attributes->all() as $__key => $__value) {
    if (array_key_exists($__key, $__defined_vars)) unset($$__key);
}

unset($__defined_vars, $__key, $__value); ?>

<div <?php echo e($attributes->merge(['class' => 'bg-white dark:bg-slate-900 border border-slate-200 dark:border-slate-800 rounded-2xl shadow-soft'])); ?>>
    <?php if($title || $icon || $headerActions || isset($header)): ?>
        <div class="flex items-center justify-between px-5 py-4 border-b border-slate-200 dark:border-slate-800">
            <div class="flex items-center gap-3">
                <?php if($icon): ?>
                    <div class="w-9 h-9 rounded-xl bg-primary-50 dark:bg-primary-500/10 flex items-center justify-center">
                        <i data-lucide="<?php echo e($icon); ?>" class="w-4.5 w-[18px] h-[18px] text-primary-600 dark:text-primary-400"></i>
                    </div>
                <?php endif; ?>
                <div>
                    <?php if($title): ?>
                        <h3 class="text-base font-semibold text-slate-900 dark:text-white leading-tight"><?php echo e($title); ?></h3>
                    <?php endif; ?>
                    <?php if($subtitle): ?>
                        <p class="text-xs text-slate-500 dark:text-slate-400 mt-0.5"><?php echo e($subtitle); ?></p>
                    <?php endif; ?>
                </div>
            </div>
            <?php if($headerActions): ?>
                <div class="flex items-center gap-2">
                    <?php echo e($headerActions); ?>

                </div>
            <?php endif; ?>
            <?php if(isset($header)): ?>
                <?php echo e($header); ?>

            <?php endif; ?>
        </div>
    <?php endif; ?>
    <div class="<?php echo \Illuminate\Support\Arr::toCssClasses(['px-5 py-4' => $padding]); ?>">
        <?php echo e($slot); ?>

    </div>
    <?php if(isset($footer)): ?>
        <div class="px-5 py-3 border-t border-slate-200 dark:border-slate-800 bg-slate-50/50 dark:bg-slate-900/50 rounded-b-2xl">
            <?php echo e($footer); ?>

        </div>
    <?php endif; ?>
</div>
<?php /**PATH C:\Users\USER\Downloads\abc\resources\views/components/card.blade.php ENDPATH**/ ?>