.editor-wrapper {
    background: #1e1e1e;
    border: 1px solid #333;
    width: 100%;
    height: 1000px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Toolbar */
.editor-wrapper .editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px;
    background: #2a2a2a;
    border-bottom: 1px solid #333;
    flex-shrink: 0;
}

.editor-wrapper .editor-toolbar button {
    background: #3a3a3a;
    color: #fff;
    border: 1px solid #444;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 13px;
}

.editor-wrapper .editor-toolbar select {
    background: #3a3a3a;
    color: #fff;
    border: 1px solid #444;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 13px;
}

.editor-wrapper .editor-toolbar input {
    background: #3a3a3a;
    color: #fff;
    border: 1px solid #444;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 13px;
}

.editor-wrapper .editor-toolbar button:hover {
    background: #505050;
}

.editor-wrapper .editor-toolbar .sep {
    width: 1px;
    background: #444;
    margin: 0 4px;
}


.editor-wrapper #editor {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    padding: 15px;
    background: #1e1e1e;
    color: #eaeaea;
}


.editor-wrapper .ProseMirror {
    min-height: 100%;
    outline: none;
    color: #eaeaea;
    line-height: 1.6;
}


.editor-wrapper h1 { font-size: 2em; }
.editor-wrapper h2 { font-size: 1.5em; }
.editor-wrapper h3 { font-size: 1.2em; }


.editor-wrapper .is-left { text-align: left; }
.editor-wrapper .is-center { text-align: center; }
.editor-wrapper .is-right { text-align: right; }


.editor-wrapper img {
    max-width: 100%;
    cursor: pointer;
}

.editor-wrapper .image-resizer {
    display: inline-block;
    position: relative;
    margin: 10px 0;
    border: 2px solid transparent;
}

.editor-wrapper .image-resizer:hover {
    border-color: #4da3ff;
}

.editor-wrapper .image-resizer img {
    display: block;
    max-width: 100%;
}

.editor-wrapper .resize-handle {
    width: 14px;
    height: 14px;
    background: #4da3ff;
    position: absolute;
    right: -7px;
    bottom: -7px;
    cursor: nwse-resize;
}