html, body {
	font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
	font-size: 16px;
}

.jsoneditor{
	border: none;
}
.ace-jsoneditor {
	font-size: 18px !important;
}

#editor-container {
	width: 100%;
	height: 820px;
}

.controls {
	margin: 15px 0;
	display: flex;
	gap: 10px;
}

button {
	padding: 8px 16px;
	background: #4285f4;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

button:hover {
	background: #3367d6;
}

.error {
	color: #dc3545;
	padding: 10px;
	border: 1px solid #f5c6cb;
	border-radius: 4px;
	background: #f8d7da;
	margin-bottom: 15px;
	display: none;
}

.jsoneditor-menu {
	background-color: #35373c;
}

.jsoneditor-poweredBy {
	display: none;
}

/* 隐藏默认导航图标 */
.jsoneditor-menu>button {
	display: none;
}

/* 自定义导航按钮样式 */
.custom-nav-button {
	background: transparent;
	color: white;
	border: none;
	padding: 0 10px;
	cursor: pointer;
	font-size: 14px;
	height: 30px;
	display: inline-flex;
	align-items: center;
}

.custom-nav-button:hover {
	background: rgba(255, 255, 255, 0.1);
}

.custom-nav-buttons-container {
	display: inline-block;
	margin-left: 10px;
}

.jsoneditor-modal .pico-modal-header {
	background-color: #35373c;
}

.jsoneditor-modal .jsoneditor-button-group.jsoneditor-button-group-value-asc input.jsoneditor-button-asc,
	.jsoneditor-modal .jsoneditor-button-group.jsoneditor-button-group-value-desc input.jsoneditor-button-desc
	{
	background: #35373c;
	border-color: #35373c;
}

/* 更改所有 key 的颜色 */
.ace_variable {
	color: #a10f1b !important;
}

/* 更改所有 String 的颜色 */
.ace_string {
	color: #0d52a3 !important;
}

/* 更改数字值的颜色 */
.ace_numeric {
	color: #168659 !important;
}

/* 更改布尔值的颜色 */
.ace_boolean {
	color: #0d52a3 !important;
}

/* 更改 null 值的颜色 */
.jsoneditor-value-null {
	color: #888a85 !important;
}