/* Editores principales (Blockly + CodeMirror) ================================================ */
.editors-root {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.pane {
    flex: 0 0 auto;
    height: 100%;
    width: 50%;
    overflow: hidden;
}

.divider {
    flex: 0 0 6px;
    cursor: col-resize;
    background: var(--color-grey);
    transition: all 200ms;
}

.divider:hover,
.divider:active {
    background: var(--color-orange);
}

#blocklyDiv {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#editor-container textarea,
#editor-container .CodeMirror {
    width: 100%;
    height: 100%;
}

#editor-container {
    position: relative;
    background: var(--color-black);
    overflow: hidden;
}

.editor-tools-container {
    position: absolute;
    display: flex;
    flex-direction: column;
    bottom: 10px;
    right: 15px;
    gap: calc(var(--general-gap) * 1);
}

.editor-tools-container button img {
    width: calc(var(--icon-md) + 5px);
    height: calc(var(--icon-md) + 5px);
}
