<div class="container-fluid">
    <div class="d-flex justify-content-between align-items-center mb-3">
        <h1 class="fw-bold">Crear Galería</h1>
        <a href="?page=galleries" class="btn btn-secondary fw-bold">
            <i class="fas fa-arrow-left me-2"></i>Volver
        </a>
    </div>
    <div class="row justify-content-center">
        <div class="col-12 col-sm-12 col-md-10 col-lg-8 col-xl-7">
            <div class="form-card-wrapper">
                <div class="card p-2 border-0 shadow">
                    <div class="card-body">
                        <form action="" method="POST" id="form">
                            <div class="form-floating mb-2">
                                <input type="text" class="form-control border-0 border-bottom rounded-0" id="name" name="name" placeholder="Nombre" maxlength="255">
                                <label for="name" class="form-label">Nombre</label>
                            </div>
                            <div class="form-floating mb-2">
                                <input type="text" class="form-control border-0 border-bottom rounded-0" id="place" name="place" placeholder="Lugar" maxlength="255">
                                <label for="place" class="form-label">Lugar</label>
                            </div>
                            <div class="form-floating mb-2">
                                <input type="text" class="form-control border-0 border-bottom rounded-0" id="date" name="date" placeholder="Fecha" maxlength="255">
                                <label for="date" class="form-label">Fecha (MES - AÑO)</label>
                                <small class="form-text text-muted ms-1">Ejemplo: MAYO 2025</small>
                            </div>
                            <div class="my-4">
                                <label for="images" class="form-label">Imagenes</label>
                                <input type="file" class="filepond" id="images" name="gallery_images[]" accept="image/*" multiple>
                            </div>
                            <div class="d-grid gap-2">
                                <button type="submit" class="btn btn-primary btn-lg" id="submit">
                                    <i class="fas fa-save me-2"></i>Guardar
                                </button>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>