* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Arial', sans-serif; text-decoration:unset; font-size:14px; }
body { display: flex; min-height: 100vh; background-color: #f8f8f8; }
/* 左侧导航栏样式 */
.sidebar { width: 220px; background-color: #f8f8f8; color: #333; height: 100vh; position: fixed; overflow-y: auto; padding:0 15px; }
.logo { height: 50px; text-align: center; }
.nav-menu { list-style: none; }
.nav-item { cursor: pointer;  overflow: hidden;   }
.nav-item a{ display:block; color:#555;  }
.nav-item.active a,.nav-item:hover a{ color: #1677FF; }
/* 右侧内容区域样式 */
.main-content { flex: 1; margin-left:220px; background-color: white; min-height: 100vh; }
.header { display: flex; justify-content: space-between; align-items: center; height:50px;   border-bottom: 1px solid #eee; padding:0 30px; }
.page-title { font-size: 16px; color: #333;  }
.page-title a{ font-size:16px; color:#1677FF; }
.content { line-height: 1.6; color: #555; height: calc(100vh - 50px); overflow-y: scroll; }
.index_main{
   display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.index_main .x{
        display: block;
    padding: 15px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.index_main .x:hover{
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.index_main .x h3{
    font-size: 14px;
    color: #222;
    margin-bottom: 5px;
}
.index_main .x p{
    font-size: 12px;
    color: #555;
    margin: 0;
}
.index_main .x:hover h3{
    color:#3498db;
}   
    
/* 响应式设计 - 在小屏幕上调整布局 */
@media (max-width: 768px) {
    .sidebar { width: 100%; height: auto; position: relative; }
    .main-content { margin-left: 0; }
}
#content-container{ width:100%; max-width:1200px; margin:0 auto; padding: 50px 0; }
.editor-container { margin: 0 auto; background-color: white; border-radius: 4px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); }
.editor-header { padding: 15px; border-bottom: 1px solid #eee; font-size: 18px; font-weight: bold; }
.editor-body { padding: 15px; position: relative; }
.CodeMirror { border: 1px solid #ddd; min-height: 300px; font-size: 14px; line-height: 1.5; }
.toolbar{ margin-top: 15px; margin-bottom: 15px; display: flex; flex-wrap: wrap; gap: 10px; }
.btn { padding: 6px 12px; background-color: #f8f8f8; border: 1px solid #ddd; border-radius: 3px; cursor: pointer; font-size: 13px; color: #333; transition: all 0.2s; }
.btn:hover { background-color: #e6e6e6; border-color: #adadad; }
.btn-primary { background-color: #1e88e5; color: white; border-color: #1e88e5; }
.btn-primary:hover { background-color: #1976d2; border-color: #1565c0; }
.footer {
    text-align: center;
    color: #333;
    position: absolute;
    bottom: 00;
    left: 0;
    width: 100%;
    padding: 10px 0;
    font-size: 10px;
}
.footer p{
    color:#999; font-size:12px;
}
.footer a{ color:#999; font-size:12px; }
.memory-checkbox {  margin-left: 5px; vertical-align: middle; }
.btn-group { display: flex; gap: 5px; }
.json_editor_div{ position:relative; }
.CodeMirror-scroll{ min-height:300px; }
/* 新增的拖拽条样式 */
.resize-handle {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 10px;
    cursor: ns-resize;
    background-color: #f0f0f0;
    border-top: 1px solid #ddd;
    z-index: 10;
}
.resize-handle:hover {
    background-color: #e0e0e0;
}
.resize-handle::after {
    content: "≡";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #999;
    font-size: 18px;
}
.params_url{
    padding: 15px;
    background: #f8f8f8;
    border: 1px solid #ddd;
    overflow: hidden;
    word-break: break-word;
    height: 300px;
    overflow-y: scroll;
}
.sidebar .title{ 
    font-size: 16px;
    font-weight: bold;
    border-bottom: 1px solid #efefef;
    padding: 5px;
    margin-bottom: 5px;
}
.card_li{ margin-top:20px; }
.card_li table{ width: 100%; border-collapse: collapse; }
.card_li table th, .card_li table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}
.card_li table th {
    background-color: #f2f2f2;
}






