.custom-a {
    text-decoration: none;
    color: #383838;
}

.custom-a:hover {
    font-weight: bold;
    color: #41c9a5;
}

.json-editor-split {
    display: flex;
    gap: 8px;
    width: 100%;
    height: 46.8vh;
}

.json-editor-panel {
    flex: 1;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.json-editor-panel-input {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #e0e0e0;
    border: 1px solid #d8d8d8;
    border-radius: 4px;
}

.json-editor-panel-input .ln-textarea {
    border: none;
    border-radius: 0;
    background: #fff;
}

.json-editor-panel-input .ln-textarea-gutter-field,
.json-editor-panel-input .ln-textarea-input {
    font-family: monospace, Tahoma, "微软雅黑", "幼圆";
}

.json-editor-panel-input .ln-textarea-gutter-field {
    font-size: 14.2px;
    padding-right: 12px;
}

.json-editor-panel-input .ln-textarea .ln-textarea-input,
.json-editor-panel-input .ln-textarea .ln-textarea-input:focus {
    border: none !important;
    border-left: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding-left: 6px;
}

#input-editor-host {
    flex: 1;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.json-editor-panel .output-panel {
    flex: 1;
    height: 100%;
}

.json-editor-panel #editor-output {
    height: 100%;
    width: 100%;
}

.json-editor-panel-output .ace_cursor {
    display: none !important;
}

.json-editor-panel-output .ace_text-input {
    caret-color: transparent;
}

.json-editor-panel-output .ace_scroller {
    cursor: default;
}

.output-panel-success {
    background-color: #fff;
}

.right.output-panel .wd-editor,
.right .ace-chrome {
    background-color: #fff !important;
}

.output-panel-error {
    background-color: #fce4e4;
}

.output-panel-error .ace_line {
    color: #ea5455 !important;
}

/** 右侧 JSON 语法高亮（json.cn 风格） */
.right .ace-chrome .ace_variable,
#editor-output .ace-chrome .ace_variable {
    color: #993396 !important;
    font-weight: 600;
}

.right .ace-chrome .ace_string,
#editor-output .ace-chrome .ace_string {
    color: #1a8a1a !important;
}

.right .ace-chrome .ace_constant.ace_numeric,
#editor-output .ace-chrome .ace_constant.ace_numeric {
    color: #1c00cf !important;
}

.right .ace-chrome .ace_constant.ace_language,
#editor-output .ace-chrome .ace_constant.ace_language {
    color: #1c00cf !important;
}

.right .ace-chrome .ace_paren,
#editor-output .ace-chrome .ace_paren {
    color: #525252 !important;
}

.right .ace_line,
#editor-output .ace_line {
    color: #525252;
}

.wd-editor {
    min-width: 400px;
    /* width:800px; */
    /* flex:1; */
    /* 最小宽度 */
    /**overflow: auto;*/
    /* 如果内容溢出，则显示滚动条 */
    /* height: 48vh; */
    transition: width 0.2s;
    /* 宽度变化时的过渡效果 */
    background-color: #e0e0e0;
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    overflow: hidden;
    padding: 0px;
    /* 左右内容区域的内边距 */
}

/**去掉他自己的错误显示  支持转移*/
.ace_gutter-cell.ace_error {
    background-image: none !important;
}


/**两个编辑框的共同的样式*/
/** 整个编辑框的文字的大小和行高*/
.ace_editor {
    font-size: 13.6px !important; 
    line-height: 20px !important; 
}

/* .ace_editor {
    position: relative;
    overflow: hidden;
    padding: 0;
    font: 13.8px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
    line-height: 20px !important;
    direction: ltr;
    text-align: left;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
} */

/**激活行的行头的背景色*/
.ace-chrome .ace_gutter-active-line {
    /* background-color: #f0f0f0; */
    background-color: #f6f6f6;
}

/**行号框背景色*/

.ace-chrome .ace_gutter {
    /* background-color: #f0f0f0; */
    background-color: #f6f6f6;
    border-right: none;
}


/**激活行的编辑器中的背景色*/
.ace-chrome .ace_marker-layer .ace_active-line {
    background-color: transparent;
    background-color: #f6f6f6;
}

/**活动光标的颜色*/
.ace-chrome .ace_cursor {
    color: #787878;
}

/**非活动光标的透明度*/
.ace_hidden-cursors .ace_cursor {
    opacity: 0;
}


/**右侧样式*/
.right .ace_gutter-layer {
    border-right: none;
}

/**右侧数字的颜色和大小*/
.right .ace_gutter-cell {
    color: #888;
    font-size: 14.2px;
    font-family: monospace, Tahoma, "微软雅黑", "幼圆";
}

/**行号右侧的线  */
.right .ace_content {
    /** 这个地方不能放开，否则会导致压缩成一行的时候：<click to see more...>*/
    /* font-family: monospace, Tahoma, "微软雅黑", "幼圆" !important; */
    border-left: none;
}

/**key value颜色 - 见上方 JSON 高亮规则 */
.right .ace-chrome .ace_variable {
    font-weight: 600;
}

/**选中大括号或者中括号后的样式*/
.right .ace_br15 {
    border:none !important;
    border-color: white !important;
}



/**设置内容样式*/
.ace-chrome .ace_variable {
    /* color: red; */
}

/**字体颜色*/
.ace_line{
    /* font:"Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; */
    color:#525252;
}

/** 折叠占位文字：Array[n] / Object{...} */
.right .ace_line .ace_fold,
#editor-output .ace_line .ace_fold {
    display: inline !important;
    width: auto !important;
    height: auto !important;
    margin: 0 2px;
    padding: 0;
    vertical-align: middle;
    color: #69b1ff !important;
    font-size: 12px;
    font-weight: 500;
    font-family: monospace, Menlo, Monaco, Consolas;
    line-height: 1.4;
    background: none !important;
    background-image: none !important;
    border: none;
    border-radius: 0;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.15s ease;
}

.right .ace_line .ace_fold:hover,
#editor-output .ace_line .ace_fold:hover {
    color: #1677ff !important;
    text-decoration: underline;
}

.right .ace_line .ace_fold:active,
#editor-output .ace_line .ace_fold:active {
    color: #0958d9 !important;
    text-decoration: underline;
}