@props(['size' => 'md'])

@php
$sizes = [
    'sm' => 'h-10 w-10',      // 40px - Mobile nav
    'md' => 'h-12 w-12',      // 48px - Desktop nav
    'lg' => 'h-16 w-16',      // 64px - Footer
    'xl' => 'h-20 w-20',      // 80px - Auth pages mobile
    '2xl' => 'h-48 w-48',     // 192px - Large display
    'hero' => 'h-64 w-64',    // 256px - Hero/splash
    'full' => 'h-[50vh] w-auto max-w-[80%]', // Half viewport - Auth split panel
];
$sizeClass = $sizes[$size] ?? $sizes['md'];
@endphp

<img
    src="{{ asset('images/logo.png') }}"
    alt="{{ __('LIBRA for Rights') }}"
    {{ $attributes->merge(['class' => $sizeClass . ' object-contain']) }}
/>
