/* ---------- Editor [sugerencias_editor] ---------- */

.sgrn-editor { max-width: 900px; margin: 0 auto; }

.sgrn-bloque { margin: 0 0 2em; }
.sgrn-idioma { margin: 0 0 .5em; }
.sgrn-fecha { margin: 0 0 1.5em; opacity: .8; }

.sgrn-mensaje { margin: 0 0 1.5em; padding: 1em 1.25em; border-radius: 6px; font-size: 1.15em; font-weight: bold; }
.sgrn-mensaje-ok { background: #e6f4ea; border: 1px solid #a8d5b5; color: #1e6b34; }

.sgrn-aviso { padding: 1em 1.25em; background: #fff4e5; border: 1px solid #f0c27b; border-radius: 6px; color: #7a4b00; }

.sgrn-acciones { text-align: center; }
.sgrn-boton { display: inline-block; padding: .8em 2.5em; font-size: 1.2em; cursor: pointer; }

/* Editor casi a pantalla completa: hay que desplazarse para llegar al siguiente idioma.
   !important porque TinyMCE pone la altura inline en el iframe */
.sgrn-editor .mce-edit-area iframe,
.sgrn-editor textarea.wp-editor-area { height: calc(100vh - 220px) !important; min-height: 350px; }
@supports (height: 100dvh) {
	.sgrn-editor .mce-edit-area iframe,
	.sgrn-editor textarea.wp-editor-area { height: calc(100dvh - 220px) !important; }
}

/* Evita que los estilos de botón del tema deformen la barra del editor */
.sgrn-editor .mce-btn button { min-height: 0; box-shadow: none; border-radius: 0; text-transform: none; letter-spacing: normal; }

/* ---------- Vista pública [sugerencias] ---------- */

.sgrn-sugerencias + .sgrn-sugerencias { margin-top: 1.5em; padding-top: 1.5em; border-top: 1px solid rgba(0, 0, 0, .1); }
