<div class="container-fluid">
    <div class="row mb-4">
        <div class="col-12 d-flex justify-content-between align-items-center">
            <h1 class="fw-bold">Crear Blog</h1>
            <a href="?page=blogs" class="btn btn-secondary fw-bold">
                <i class="fas fa-arrow-left me-2"></i>Volver
            </a>
        </div>
    </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="title" title="title" descriptionholder="Nombre" maxlength="255">
                                <label for="title" class="form-label">Título</label>
                            </div>
                            <div class="quill-container mb-2">
                                <label for="description" class="form-label fw-bold">Descripción</label>
                                <div id="editor" class="rounded-bottom-3"></div>
                                <div id="description-error"></div>
                                <div id="counter" class="text-end text-muted small mt-1">0 / 65535</div>
                            </div>
                            <div class="my-4">
                                <label for="img" class="form-label fw-bold">Imagen</label>
                                <input type="file" class="filepond" id="img" name="blog_img" accept="image/*">
                            </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>