.pixelcode-editor-container {
    width: 100%;
    max-width: 100%;
    margin: 20px 0;
    font-family: Arial, sans-serif;
}

.pixelcode-editor-container .note-editor.note-frame {
    border: 1px solid #a9a9a9;
    width: 100% !important;
    max-width: none !important;
}

.pixelcode-editor-container .note-toolbar {
    background-color: #f5f5f5;
    border-bottom: 1px solid #a9a9a9;
    padding: 10px;
    width: 100% !important;
}

.pixelcode-editor-container .note-editing-area {
    background-color: #fff;
    width: 100% !important;
}

.pixelcode-editor-container .note-editable {
    padding: 20px;
    color: #000;
    background-color: #fff;
    min-height: 400px;
    font-size: 16px;
    line-height: 1.6;
    width: 100% !important;
    box-sizing: border-box !important;
}

.pixelcode-editor-container .note-statusbar {
    background-color: #f5f5f5;
    border-top: 1px solid #a9a9a9;
    width: 100% !important;
}

.pixelcode-editor-container .note-btn {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 8px 12px;
    margin: 2px;
    font-size: 14px;
}

.pixelcode-editor-container .note-btn:hover {
    background-color: #ebebeb;
    border-color: #adadad;
}

.pixelcode-editor-container .note-dropdown-menu {
    min-width: 160px;
    padding: 5px 0;
    background-color: #fff;
    border: 1px solid #ddd;
}

.pixelcode-editor-container .note-dropdown-item {
    display: block;
    width: 100%;
    padding: 6px 20px;
    clear: both;
    font-weight: 400;
    color: #333;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    font-size: 14px;
}

.pixelcode-editor-container .note-dropdown-item:hover {
    background-color: #f5f5f5;
}

.pixelcode-editor-container .note-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.pixelcode-editor-container .note-btn-group {
    margin-right: 10px;
    margin-bottom: 10px;
}

.pixelcode-editor-container .note-icon-caret:before,
.pixelcode-editor-container .note-btn i {
    font-size: 16px;
}

.note-modal-content {
    min-width: 300px;
    width: 80%;
    max-width: 600px;
}

.pixelcode-editor-container .note-codable {
    font-family: monospace;
    font-size: 14px;
    padding: 20px;
    color: #333;
    background-color: #f8f8f8;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Asegurarse de que el contenedor del editor ocupe todo el ancho disponible */
.pixelcode-editor-container,
.pixelcode-editor-container .note-editor,
.pixelcode-editor-container .note-toolbar,
.pixelcode-editor-container .note-editing-area,
.pixelcode-editor-container .note-editable,
.pixelcode-editor-container .note-statusbar {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
}

/* Ajustar el ancho de los dropdowns para que no se salgan del contenedor */
.pixelcode-editor-container .note-dropdown-menu {
    max-width: 100%;
}

/* Asegurarse de que las imágenes insertadas no se salgan del contenedor */
.pixelcode-editor-container .note-editable img {
    max-width: 100%;
    height: auto;
}