#image-preview-box {
    width: 100%;
    min-height: 100%;
    border: 2px dashed #ccc;
    border-radius: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all .5s ease-in-out;
}

#image-preview-box:hover {
    background-color: var(--secondary-lila-color);
}

#camera-icon {
    font-size: 3em;
    color: #aaa;
}

#preview-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
}

.crear-publicacion-form {
    display: flex;
    flex-direction: column;
    min-width: 75%;
    max-width: 75%;
    margin: 2rem;
    gap: 2rem;
}

.publicacion-content {
    display: flex;
    gap: 2rem;
}

.left-content {
    width: 50%;
}

.left-content > figure {
    height: 100%
}

.right-content {
    max-width: 100%;
    width: 50%;
    border-radius: 2rem;
    /*border: 1px solid var(--lila-color);*/
    padding: 1rem;
}

.radzen-html-editor-container {
    max-width: 512px;
    height: 300px;
    overflow: auto;
    word-wrap: break-word;
    border: 1px solid var(--lila-color);
    border-radius: 2rem;
    padding: 2rem;
}

.radzen-html-editor-container > iframe {
    width: 100%;
    height: 100%;
}

.radzen-html-editor-container > img {
    width: 100%;
    height: 100%;
}
.radzen-html-editor-container > * > img{
    width: 100%
}

.rz-html-editor-content > img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.rz-html-editor-content > * > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.rz-html-editor-content > * > * > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.rz-html-editor-content > * > * > * > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.titulo-input {
    display: table-cell;
    /*width: 25%;*/
    padding: .5rem;
    outline: none;
    border: 1px solid var(--lila-color);
    border-radius: 1rem;
    font-size: 2rem;
    color: black;
    overflow: auto;
}

.fecha-publicacion {
    font-size: 1.2rem;
}

.ia-btn {
    border: none;
    outline: none;
    background-color: #fafafa;
    font-size: 2rem;
    color: blue;
}

.etiquetas-create-container {
    display: flex;
    max-width: 512px;
    overflow: auto;
    padding: 1rem;
    gap: 1rem;
}

.etiqueta-checkbox {
    display: none;
}

.etiqueta-checkbox:checked + span {
    background-color: var(--primary-lemon-color);
}

.rz-dialog-wrapper {
    width: 0 !important;
}

.rz-html-editor-toolbar {
    font-size: 1.6rem !important;
}

.autor-editor-main-container {
    display: flex;
    font-size: 1.4rem;
}

.autor-editor-secondary-container {
    display: flex;
    width: 100%
}

.autor-editor-secondary-container > bolder {
    font-weight: bolder;
    margin: 0 .5rem 0 0;
}

.creacion-publicion-btn {
    display: flex;
    width: 100%;
    justify-content: center
}

.detalles-btn {
    display: flex;
}

@media (max-width: 768px) {
    .titulo-input {
        width: 100%;
    }

    .publicacion-content {
        flex-direction: column;
    }

    .left-content {
        width: 100%;
        height: 200px;
        margin: 0 auto;
    }

    .right-content {
        width: 100%;
        margin: 0 auto;
    }

    .radzen-html-editor-container {
        height: 100%;
    }
}