.json-editor-wrapper .jsoneditor {
    border-radius: 0.5rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.json-editor-wrapper .jsoneditor-menu {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.json-editor-wrapper .jsoneditor-search input {
    border-radius: 0.375rem;
}

.dark .json-editor-wrapper .jsoneditor {
    background-color: #0b1220;
    border-color: #1f2937;
    color: #e5e7eb;
}

.dark .json-editor-wrapper .jsoneditor-menu {
    background-color: #0f172a;
    border-bottom: 1px solid #1f2937;
}

.dark .json-editor-wrapper .jsoneditor-menu button,
.dark .json-editor-wrapper .jsoneditor-menu a {
    color: #e5e7eb;
}

.dark .json-editor-wrapper .jsoneditor-search input {
    background-color: #0b1220;
    color: #e5e7eb;
    border: 1px solid #1f2937;
}

.dark .json-editor-wrapper .jsoneditor-search {
    background-color: transparent;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 0.375rem;
    box-shadow: none;
}

.dark .json-editor-wrapper .jsoneditor-search input::placeholder {
    color: #9ca3af;
}

.dark .json-editor-wrapper .jsoneditor-search button,
.dark .json-editor-wrapper .jsoneditor-search .jsoneditor-icon {
    color: #e5e7eb;
    filter: invert(1) saturate(0) brightness(1.3);
}

.dark .json-editor-wrapper .jsoneditor-search .jsoneditor-icon {
    opacity: 0.9;
}

.dark .json-editor-wrapper .jsoneditor-search button:hover .jsoneditor-icon,
.dark .json-editor-wrapper .jsoneditor-search button:focus .jsoneditor-icon {
    opacity: 1;
}

.dark .json-editor-wrapper .jsoneditor-frame {
    background-color: transparent;
    border-radius: 0.375rem;
}

.dark .json-editor-wrapper .jsoneditor-frame input {
    background-color: transparent;
    color: #e5e7eb;
    border: none;
    outline: none;
    box-shadow: none;
}


.dark .json-editor-wrapper .jsoneditor-search button.jsoneditor-refresh,
.dark .json-editor-wrapper .jsoneditor-search button.jsoneditor-next,
.dark .json-editor-wrapper .jsoneditor-search button.jsoneditor-previous {
    filter: invert(1) saturate(0) brightness(1.6);
    opacity: 0.9;
}

.dark .json-editor-wrapper .jsoneditor-search button.jsoneditor-refresh:hover,
.dark .json-editor-wrapper .jsoneditor-search button.jsoneditor-next:hover,
.dark .json-editor-wrapper .jsoneditor-search button.jsoneditor-previous:hover,
.dark .json-editor-wrapper .jsoneditor-search button.jsoneditor-refresh:focus,
.dark .json-editor-wrapper .jsoneditor-search button.jsoneditor-next:focus,
.dark .json-editor-wrapper .jsoneditor-search button.jsoneditor-previous:focus {
    opacity: 1;
}

.dark .json-editor-wrapper .jsoneditor-navigation-bar {
    background-color: #0b1220;
    color: #9ca3af;
    border-bottom: 1px solid #1f2937;
}

.dark .json-editor-wrapper .jsoneditor-tree {
    background-color: #0b1220;
}

.dark .json-editor-wrapper .jsoneditor-field,
.dark .json-editor-wrapper .jsoneditor-value {
    color: #e5e7eb;
}

.dark .json-editor-wrapper .jsoneditor-value.jsoneditor-string {
    color: #86efac;
}

.dark .json-editor-wrapper .jsoneditor-value.jsoneditor-number {
    color: #93c5fd;
}

.dark .json-editor-wrapper .jsoneditor-value.jsoneditor-boolean {
    color: #f9a8d4;
}

.dark .json-editor-wrapper .jsoneditor-value.jsoneditor-null {
    color: #fca5a5;
}

.dark .json-editor-wrapper .jsoneditor-selected,
.dark .json-editor-wrapper .jsoneditor-field.jsoneditor-selected,
.dark .json-editor-wrapper .jsoneditor-value.jsoneditor-selected {
    background-color: #1f2937;
}

.dark .json-editor-wrapper .jsoneditor-field:hover,
.dark .json-editor-wrapper .jsoneditor-value:hover,
.dark .json-editor-wrapper .jsoneditor-text:hover {
    background-color: #111827;
    color: #f8fafc;
}

.dark .json-editor-wrapper .jsoneditor-field:focus,
.dark .json-editor-wrapper .jsoneditor-value:focus,
.dark .json-editor-wrapper .jsoneditor-text:focus {
    background-color: #1e293b;
    color: #f8fafc;
}

.dark .json-editor-wrapper .jsoneditor-highlight,
.dark .json-editor-wrapper .jsoneditor-highlight-active {
    background-color: #1e3a8a;
    color: #e5e7eb;
}

.dark .json-editor-wrapper .jsoneditor-field::selection,
.dark .json-editor-wrapper .jsoneditor-value::selection,
.dark .json-editor-wrapper .jsoneditor-text::selection {
    background-color: #2563eb;
    color: #f8fafc;
}

.dark .json-editor-wrapper .jsoneditor-field::-moz-selection,
.dark .json-editor-wrapper .jsoneditor-value::-moz-selection,
.dark .json-editor-wrapper .jsoneditor-text::-moz-selection {
    background-color: #2563eb;
    color: #f8fafc;
}

.dark .json-editor-wrapper .jsoneditor-contextmenu {
    background-color: #0f172a;
    border-color: #1f2937;
    color: #e5e7eb;
}

.dark .json-editor-wrapper .jsoneditor-contextmenu button {
    color: #e5e7eb;
}

.dark .json-editor-wrapper .jsoneditor-contextmenu button:hover {
    background-color: #111827;
}
