{# No application phase running and none scheduled — offer the wishlist and
   the .ics download instead. Both use the neutral outline style (matching the
   offer-details sidebar "Merken" button); the wishlist button delegates to the
   offer-card/wishlists controllers wrapping the offer details page, exactly
   like the sidebar heart. #}

<div class="flex flex-col gap-4 rounded-2xl border border-gray-200 bg-gray-50 p-5 dark:border-gray-700 dark:bg-gray-800/40 sm:flex-row sm:items-center">
    <div class="flex size-11 flex-none items-center justify-center rounded-xl bg-gray-200 text-gray-600 dark:bg-gray-700 dark:text-gray-300">
        <twig:ux:icon name="lucide:calendar-off" class="size-6" />
    </div>
    <div class="flex-1 text-sm leading-5 text-gray-700 dark:text-gray-200">
        <b class="block font-semibold text-gray-900 dark:text-gray-100">{{ 'applicationForm.empty.disabled.title'|trans({}, 'cms') }}</b>
        <span class="block text-gray-600 dark:text-gray-300">{{ 'applicationForm.empty.disabled.text'|trans({}, 'cms') }}</span>
    </div>
    <div class="flex flex-none flex-col gap-2">
        <button type="button"
                data-action="ferienpass--cms-offer-card#openWishlistMenu"
                data-ferienpass--cms-offer-card-target="favBtn"
                aria-haspopup="dialog"
                aria-expanded="false"
                class="inline-flex items-center justify-center gap-2 rounded-md bg-white px-4 py-2.5 text-sm font-semibold text-gray-700 ring-1 ring-inset ring-gray-300 transition-colors hover:bg-gray-50 dark:bg-gray-800 dark:text-gray-300 dark:ring-white/10 dark:hover:bg-white/5">
            <span class="size-4">
                <twig:ux:icon name="lucide:heart" data-ferienpass--cms-offer-card-target="favIcon" />
            </span>
            {{ 'applicationForm.empty.addToWishlist'|trans({}, 'cms') }}
        </button>
        {% include '@Contao/components/application_form/_save_calendar_button.html.twig' with { offer: offer, variant: 'secondary' } only %}
    </div>
</div>
