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

$__newAttributes = [];
$__propNames = \Illuminate\View\ComponentAttributeBag::extractPropNames((['method', 'selected' => false, 'clickable' => false]));

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((['method', 'selected' => false, 'clickable' => false]), '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); ?>

<?php
    $selected = (bool) $selected;
    $clickable = (bool) $clickable;
?>

<div class="<?php echo \Illuminate\Support\Arr::toCssClasses([
    'group flex items-center gap-4 rounded-2xl border px-6 py-2 transition shadow-sm',
    'bg-white dark:bg-gray-800 backdrop-blur-xl border-gray-200 dark:border-gray-700 hover:shadow-md hover:border-sky-400' =>
        $clickable && !$selected,
    'border-sky-500 bg-sky-50 dark:bg-sky-950 shadow-md' => $selected,
]); ?>">

    
    <div
        class="flex h-12 w-12 items-center justify-center rounded-xl 
           bg-white/30 dark:bg-gray-500/30 
           backdrop-blur-sm backdrop-saturate-150 
           border border-white/20 dark:border-gray-400/20 
           shadow-inner">
        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($method->logo): ?>
            <img src="<?php echo e($method->logo_url); ?>" alt="<?php echo e($method->name); ?> logo" class="h-7 w-7 object-contain">
        <?php else: ?>
            <?php if (isset($component)) { $__componentOriginal6761cf8d3bbff1337fb9c5544a15697b = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal6761cf8d3bbff1337fb9c5544a15697b = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.icons.default-payment','data' => ['class' => 'w-7 h-7 text-sky-300 dark:text-gray-200']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('icons.default-payment'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['class' => 'w-7 h-7 text-sky-300 dark:text-gray-200']); ?>
<?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::processComponentKey($component); ?>

<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal6761cf8d3bbff1337fb9c5544a15697b)): ?>
<?php $attributes = $__attributesOriginal6761cf8d3bbff1337fb9c5544a15697b; ?>
<?php unset($__attributesOriginal6761cf8d3bbff1337fb9c5544a15697b); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal6761cf8d3bbff1337fb9c5544a15697b)): ?>
<?php $component = $__componentOriginal6761cf8d3bbff1337fb9c5544a15697b; ?>
<?php unset($__componentOriginal6761cf8d3bbff1337fb9c5544a15697b); ?>
<?php endif; ?>
        <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
    </div>

    
    <div class="flex-1 text-left">
        <p class="font-medium text-gray-900 dark:text-gray-100">
            <?php echo e($method->name); ?>

        </p>

        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($clickable): ?>
            <p class="text-xs text-gray-500">
                Fast & secure payment
            </p>
        <?php else: ?>
            <p class="text-xs text-gray-500 dark:text-gray-400">
                Selected payment method
            </p>
        <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
    </div>

    
    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($clickable): ?>
        <span
            class="text-xs px-3 py-1 rounded-full bg-gray-100 dark:bg-gray-800 text-gray-500
         group-hover:bg-sky-600 group-hover:text-white transition">
            Select
        </span>
    <?php elseif($selected): ?>
        <?php if (isset($component)) { $__componentOriginalc04b147acd0e65cc1a77f86fb0e81580 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalc04b147acd0e65cc1a77f86fb0e81580 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'e60dd9d2c3a62d619c9acb38f20d5aa5::button.index','data' => ['wire:click' => 'resetSelection','variant' => 'primary','size' => 'sm','class' => 'bg-sky-600 text-white hover:bg-sky-700']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('flux::button'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['wire:click' => 'resetSelection','variant' => 'primary','size' => 'sm','class' => 'bg-sky-600 text-white hover:bg-sky-700']); ?>
<?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::processComponentKey($component); ?>

            Change <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalc04b147acd0e65cc1a77f86fb0e81580)): ?>
<?php $attributes = $__attributesOriginalc04b147acd0e65cc1a77f86fb0e81580; ?>
<?php unset($__attributesOriginalc04b147acd0e65cc1a77f86fb0e81580); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc04b147acd0e65cc1a77f86fb0e81580)): ?>
<?php $component = $__componentOriginalc04b147acd0e65cc1a77f86fb0e81580; ?>
<?php unset($__componentOriginalc04b147acd0e65cc1a77f86fb0e81580); ?>
<?php endif; ?>
    <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>

</div>
<?php /**PATH /Users/macuser/Herd/Novabank/resources/views/components/payment-method-card.blade.php ENDPATH**/ ?>