<div class="relative pt-5 text-gray-900 dark:text-white xl:max-w-[95%] 2xl:max-w-[90%]">
    <div class="flex items-center justify-center">
        <div class="text-gray-800 dark:text-gray-200 bg-transparent mt-5">
            <div class="relative p-4 pt-0 bg-white dark:bg-neutral-800 rounded-lg border-t-2 border-b-2 border-pink-700">
                <form method="POST" action="{{ route('admin.background.create') }}" enctype="multipart/form-data">
                    @csrf
                    <div class="flex flex-grow">
                        <div class="p-4">
                            <label class="leading-tight text-gray-800 dark:text-gray-200 w-full" for="images">Image(s):</label>
                            <input class="block w-full text-sm text-gray-900 border border-gray-300 rounded-lg bg-gray-50 focus:ring-rose-800 focus:border-rose-900 dark:bg-neutral-900 dark:border-neutral-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-rose-800 dark:focus:border-rose-900" type="file" name="images[]" id="images" multiple>
                        </div>

                        <div class="p-4 flex-1">
                            <label class="leading-tight text-gray-800 dark:text-gray-200 w-full" for="date_start">Start Date:</label>
                            <input class="block w-full text-sm text-gray-900 border border-gray-300 rounded-lg bg-gray-50 focus:ring-rose-800 focus:border-rose-900 dark:bg-neutral-900 dark:border-neutral-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-rose-800 dark:focus:border-rose-900" type="date" name="date_start" id="date_start" required>
                        </div>

                        <div class="p-4 flex-1">
                            <label class="leading-tight text-gray-800 dark:text-gray-200 w-full" for="date_end">End Date:</label>
                            <input class="block w-full text-sm text-gray-900 border border-gray-300 rounded-lg bg-gray-50 focus:ring-rose-800 focus:border-rose-900 dark:bg-neutral-900 dark:border-neutral-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-rose-800 dark:focus:border-rose-900" type="date" name="date_end" id="date_end" required>
                        </div>

                        <div class="p-4 pt-10">
                            <label>
                                <input type="checkbox" class="w-5 h-5 text-rose-600 bg-gray-100 border-gray-300 rounded focus:ring-rose-500 dark:focus:ring-rose-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600" name="default" value="1"> Default
                            </label>
                        </div>

                        <div class="flex flex-shrink-0 flex-wrap items-center justify-end rounded-b-md p-4">
                            <button type="submit" class="ml-1 inline-block rounded bg-rose-600 px-6 pb-2 pt-2.5 text-xs font-medium uppercase leading-normal text-white transition duration-150 ease-in-out hover:bg-rose-700 focus:bg-rose-600" data-te-ripple-init data-te-ripple-color="light">
                                Create
                            </button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>