.editor-wrapper {
    position: relative;
    width: 50%;
    border-right: 1px solid var(--theme-separator);
    overflow: hidden;
    resize: none;
}

.editor-wrapper-hidden {
    width: 0 !important;
    padding: 0 !important;
    visibility: collapse;
}

.markdown-input, .highlighted-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    box-sizing: border-box;
    overflow: auto;
    padding: 16px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    line-height: 1.5;
    letter-spacing: normal;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.markdown-input {
    z-index: 2;
    background: transparent;
    color: transparent !important;
    caret-color: var(--theme-editor-primary-text);
    border: none;
    resize: none;
}

.highlighted-content {
    z-index: 1;
    color: transparent;
    pointer-events: none;
}

.md-title-1 { color: var(--theme-accent-color) !important; font-weight: bold; }
.md-title-2 { color: var(--theme-editor-secondary-text) !important; font-weight: bold; }
.md-title-3 { color: var(--theme-editor-secondary-text) !important; font-weight: bold; }

.markdown-output {
    width: 50%;
    overflow: auto;
    padding: 16px;
}

.markdown-output-maximized {
    width: 100% !important;
}

.markdown-edit-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.markdown-action-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    width: 30px;
}

.markdown-action-button-subscript {
    padding-top: 5px;
    font-size: 10px;
}

.markdown-action-separator {
    border-right: 1px solid var(--theme-separator);
    padding: 4px;
    margin: 4px;
}

.markdown-icon {
    padding: 6px;
    font-size: 20px;
}
