.editor-modal {
    position: fixed;
    top: 10%;
    left: 15%;
    width: 70%;
    height: 70%;
    background: #282c34;
    color: #fff;
    border: 1px solid #555;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    resize: both;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    background: #3a3f4b;
    border-bottom: 1px solid #555;
    cursor: move;
}

.editor-body {
    display: flex;
    flex: 1;
    overflow: auto;
}

.editor-input {
    flex: 1;
    font-family: monospace;
    background: #20232a;
    color: #61dafb;
    border: 1px solid #555;
    resize: none;
}

.editor-example {
    flex: 1;
    padding: 10px;
    background: #1e1e1e;
    border: 1px solid #555;
    overflow-y: auto;
}

.editor-footer {
    display: flex;
    justify-content: flex-end;
    padding: 5px;
    border-top: 1px solid #555;
}

.modal-resizer {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20px;
    height: 20px;
    cursor: se-resize;
    background: rgba(255, 255, 255, 0.3);
}

.close-btn {
  margin-right: 20px;
}
