<div @isset($id_card) id="{{ $id_card }}" @endisset
    class="card {{ $class ?? 'mb-0' }} {{ isset($tabs) ? ($outline ?? config('boilerplate.theme.card.outline', false) ? 'card-outline-tabs' : 'card-tabs') : '' }} {{ $outline ?? config('boilerplate.theme.card.outline', false) ? 'card-outline' : '' }} card-{{ $color ?? config('boilerplate.theme.card.default_color', 'info') }}">
    @if ($title ?? ($header ?? false))
        <div
            class="card-header {{ $classHeader ?? '' }} {{ isset($tabs) ? ($outline ?? config('boilerplate.theme.card.outline', false) ? 'p-0' : 'p-0 pt-1') : '' }} border-bottom-0">
            @isset($header)
                {{ $header }}
            @else
                @isset($tools)
                    <div class="card-tools float-right">
                        {!! $tools !!}
                    </div>
                @endisset
                <p class="card-title {{ $classTitle ?? 'h3 mb-0' }}">{{ $title ?? false }}</p>
            @endisset
        </div>
    @endif
    <div
        class="card-body {{ $title ?? false ? ($outline ?? config('boilerplate.theme.card.outline', false) ? 'pt-0' : '') : '' }} {{ $class_body ?? '' }} {{ $classBody ?? '' }}">
        {{ $slot }}
    </div>
    @isset($footer)
        <div class="card-footer {{ $classFooter ?? '' }}">
            {{ $footer }}
        </div>
        @endif
    </div>
