:root {
    --editor-width: '25vw';
}

html,
body,
.app-container-vert {
    height: 100%;
    margin: 0;
}

.app-container-vert {
    display: flex;
    flex-direction: column;
}

#bar-and-code {
    min-height: 0;
    flex-grow: 2;
    display: flex;
}

#sxs-code {
    display: flex;
    flex-grow: 2;
    min-width: 0;
    background-color: var(--menu-bg-dim);
    border: solid 1px black;
}

#sxs-code:empty::after {
    content: "No files open";
    text-align: center;
    flex-grow: 1;
    align-content: center;
    font-size: larger;
}

.editorcontainer {
    min-height: 0;
    flex-grow:2;
    /* height: 600px; */
    /* border: 1px solid #ccc; */
}

.editor {
    flex-grow: 1;
    min-height: 0;
    width: var(--editor-width);
    border: double black;
    background: var(--menu-bg);
    display: flex;
    flex-direction: column;
}

.editorbar {
    padding-left: 10px;
    display: flex;
    gap: 3px;
    justify-content: space-between;
    background-color: var(--status-bg);
    color: var(--status-fg);
}

.editorbar button {
    background-color: var(--status-bg);
    color: var(--status-fg);
    font-family: monospace;
}

.run-div {
    display: flex;
    flex-direction: column;
}
.run-div > iframe {
    flex-grow: 1;
    min-height: 0;
}
.vertical-pane-divider{
    height: 4px;
    border: double black;
    background: var(--menu-bg);
    cursor: row-resize;
}
.spacer {
    flex-grow: 1;
}
.new-tab-button {
    margin-left: 6px;
}
#left-bar {
    border-top: 1px solid black;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left:4px;
    padding-right:2px;
    display: flex;
    flex-direction: column;
    gap: 3px
}
#left-bar .spacer {
    border-bottom: 1px solid;
}
#url-input-field {
    display: contents;
}
.main-menu {
    display: flex;
    flex-direction: row;
    gap: 6px;
    padding-left: 4px;
    padding-right: 4px;
}
#run-frame-url-label{
    display: flex;
    flex-direction: row;
    gap: 6px;
    align-items: center;
}

#run-frame-url {
    max-width: 500px;
    min-width: 100px;
    flex-grow:2;
    font-family: var(--font);
    background-color: var(--editor-bg);
    color: var(--editor-fg);
}
#status-dot {
    color: orange;
    cursor: pointer;
}
#status-dot[data-connected="true"] {
    color: green;
}
.run-div{
    background-color: var(--menu-bg);
}
iframe {
    background-color: white;
}