<div
    data-te-modal-init
    id="modalDownload"
    tabindex="-1"
    aria-labelledby="modalDownload"
    aria-modal="true"
    role="dialog"
    class="fixed inset-0 z-[1055] hidden overflow-y-auto bg-black/60 backdrop-blur-sm"
>
    <div data-te-modal-dialog-ref class="flex min-h-screen items-center justify-center p-4">
        <div class="relative w-full max-w-4xl overflow-hidden rounded-2xl border border-neutral-200 bg-white shadow-2xl dark:border-neutral-700 dark:bg-neutral-900">
            <x-modal-header title="Download {{ $episode->title }} - {{ $episode->episode }}" />

            @php
                $dldomains = config('hstream.download_domain');
                $dlDomainsBackup = config('hstream.asia_download_domain');
            @endphp

            <!--Modal body-->
            <div class="relative p-4">
                @include('modals.partials.download-guest')
                @include('modals.partials.download-authorized')
            </div>
        </div>
    </div>
</div>
