/* Entire page */

.editor-container {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 90px);
    padding: 10px;
}

/* Header */

.editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    gap: 10px;
}

/* Buttons */

.toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Monaco */

#editor {
    flex: 1;
    min-height: 250px;
    border: 1px solid #ccc;
}

/* Output */

#result {
    margin-top: 10px;
    min-height: 80px;
    max-height: 200px;
    overflow: auto;
    border: 1px solid #ddd;
    background: #fafafa;
    padding: 10px;
    white-space: pre-wrap;
    font-family: Consolas;
}

/* Mobile */

@media (max-width: 768px) {

    .editor-header {
        flex-direction: column;
        align-items: stretch;
    }

    .toolbar {
        justify-content: space-between;
    }

        .toolbar button {
            flex: 1;
        }
}
/*.result-box {
    white-space: pre-wrap;
    font-family: Consolas;
    border: 1px solid #ddd;
    background: #f8f8f8;
    margin-top: -40px;
    margin-bottom: -35px;
}*/