.note-editor.note-frame {
    overflow: visible;
    border: 1px solid #e5e7eb;
    border-radius: 3px;
    color: #64748a;
    font-family: Inter, "Hanuman", sans-serif;
    box-shadow: none;
}

.note-editor .note-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 10px 15px;
    border-bottom: 1px solid #e5e7eb;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    background-color: #f3f5fa;
    color: #023047;
}

.note-editor .note-toolbar > .note-btn-group {
    display: inline-flex;
    gap: 3px;
    margin: 0 5px 0 0;
}

.note-editor .note-btn {
    min-width: 28px;
    height: 28px;
    padding: 3px 7px;
    border: 1px solid #e2e4ec;
    border-radius: 3px;
    background: #fff;
    color: #023047;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    box-shadow: none;
}

.note-editor .note-btn:hover,
.note-editor .note-btn:focus,
.note-editor .note-btn.active,
.note-editor .note-btn:active {
    border-color: #d8dce8;
    background: #fff;
    color: #3454d1;
    box-shadow: none;
}

.note-editor .note-toolbar .dropdown-toggle::after {
    display: none !important;
}

.note-editor .note-dropdown-menu {
    border: 1px solid #e5e7eb;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}

.note-editor .note-color .note-dropdown-menu {
    width: 340px;
    min-width: 340px;
    max-width: calc(100vw - 32px);
    padding: 8px;
}

.note-editor .note-color .note-dropdown-menu > div {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.note-editor .note-color .note-dropdown-menu .btn-background-color,
.note-editor .note-color .note-dropdown-menu .btn-foreground-color {
    display: block;
    flex: 0 0 156px;
    width: 156px;
    margin: 0 !important;
}

.note-editor .note-color .note-dropdown-menu .note-palette-title {
    margin: 0 0 4px;
    font-size: 12px;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

.note-editor .note-color .note-dropdown-menu .note-color-reset,
.note-editor .note-color .note-dropdown-menu .note-color-select {
    height: 18px;
    margin: 3px 0;
    padding: 0 6px;
    font-size: 11px;
    line-height: 16px;
}

.note-editor .note-color .note-color-palette {
    width: 154px;
}

.note-editor .note-color .note-color-palette .note-color-row {
    display: flex;
    height: 17px;
}

.note-editor .note-color .note-color-palette .note-color-btn {
    width: 17px !important;
    height: 17px !important;
}

.note-editor .note-dropdown-item {
    color: #023047;
    font-size: 13px;
}

.note-editor .note-dropdown-item:hover,
.note-editor .note-dropdown-item.checked {
    color: #3454d1;
    background-color: #f3f5fa;
}

.note-editor .note-editing-area {
    background: #fff;
}

.note-editor .note-editable {
    min-height: 200px;
    padding: 15px;
    color: #64748a;
    font-family: Inter, "Hanuman", sans-serif;
    font-size: 13px;
    line-height: 1.42;
}

.note-editor .note-editable p,
.note-editor .note-editable ul,
.note-editor .note-editable ol,
.note-editor .note-editable h1,
.note-editor .note-editable h2,
.note-editor .note-editable h3,
.note-editor .note-editable h4,
.note-editor .note-editable h5,
.note-editor .note-editable h6 {
    margin: 0;
    padding: 0;
}

.note-editor .note-editable ul,
.note-editor .note-editable ol {
    padding-left: 1.5em;
}

.note-editor .note-editable h1 {
    font-size: 2em;
}

.note-editor .note-editable h2 {
    font-size: 1.5em;
}

.note-editor .note-editable h3 {
    font-size: 1.17em;
}

.note-editor .note-editable h4 {
    font-size: 1em;
}

.note-editor .note-editable h5 {
    font-size: .83em;
}

.note-editor .note-editable h6 {
    font-size: .67em;
}

.note-editor .note-statusbar {
    border-top: 1px solid #e5e7eb;
    background-color: #f3f5fa;
}

.note-editor.fullscreen {
    z-index: 1050;
}

.note-modal .note-form-group:has(.note-image-url),
.note-modal label[for^="note-dialog-image-url-"],
.note-modal .note-image-url {
    display: none !important;
}

.note-modal .note-modal-content {
    overflow: hidden;
}

.note-modal .note-modal-footer {
    min-height: 68px;
    height: auto;
    padding: 14px 12px 16px;
    border-top: 1px solid #edf1f7;
}

.note-modal .note-modal-footer .note-btn {
    float: right;
    margin: 0;
}

html.app-skin-dark .note-editor.note-frame,
html.app-skin-dark .note-editor .note-toolbar,
html.app-skin-dark .note-editor .note-statusbar,
html.app-skin-dark .note-editor .note-dropdown-menu {
    border-color: #1b2436;
}

html.app-skin-dark .note-editor.note-frame,
html.app-skin-dark .note-editor .note-editing-area,
html.app-skin-dark .note-editor .note-editable,
html.app-skin-dark .note-editor .note-dropdown-menu {
    background-color: #121a2d;
    color: #b1b4c0;
}

html.app-skin-dark .note-editor .note-toolbar,
html.app-skin-dark .note-editor .note-statusbar {
    background-color: #1c2438;
}

html.app-skin-dark .note-editor .note-btn {
    border-color: #1b2436;
    background-color: #121a2d;
    color: #b1b4c0;
}

html.app-skin-dark .note-editor .note-btn:hover,
html.app-skin-dark .note-editor .note-btn:focus,
html.app-skin-dark .note-editor .note-btn.active,
html.app-skin-dark .note-editor .note-dropdown-item:hover,
html.app-skin-dark .note-editor .note-dropdown-item.checked {
    color: #3454d1;
    background-color: #1c2438;
}
