.main-panels {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}
.instruction-panel, .prediction-container {
    flex: 1;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
}
.section-header {
    background-color: #0A2463; /* 深蓝色 */
    color: white;
    padding: 12px 15px;
    font-weight: bold;
    font-size: 1.1em;
}
.panel-content {
    padding: 15px;
}
.panel-content ol {
    padding-left: 25px; /* 调整左侧缩进值，确保不超出容器 */
    margin: 10px 0; /* 控制列表上下间距，增强美观性 */
}
.panel-content li {
    margin-bottom: 5px; /* 列表项之间增加间距，提升可读性 */
}
.button-group {
    margin-top: 15px;
}
button {
    margin-right: 10px;
    padding: 8px 15px;
    cursor: pointer;
}
textarea {
    width: 100%;
    box-sizing: border-box;
}
        .content-layout {
    display: flex;
    gap: 20px;
    padding: 15px;
}
/* 树形菜单样式 */
.tree-menu {
    width: 30%;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 15px;
    transition: all 0.3s ease;
}
.tree-menu:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.tree-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
/* 一级菜单样式 */
.tree-menu .level-1 > li {
    margin-bottom: 8px;
    border-radius: 4px;
    transition: background 0.2s ease;
}
.tree-menu .level-1 > li:hover {
    background: #f5f7fa;
}
.tree-menu .level-1 span {
    cursor: pointer;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    padding: 10px 12px;
    transition: color 0.2s ease;
}
.tree-menu .level-1 span:hover {
    color: #3498db;
}
/* 展开/收起图标优化 */
.tree-menu .level-1 span::before {
    content: "▸";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 10px;
    text-align: center;
    font-size: 14px;
    transition: transform 0.2s ease;
}
.tree-menu .level-1 span.expanded::before {
    content: "▾";
    color: #3498db;
}
/* 选中状态使用浅色 */
.tree-menu .level-1 > li.selected {
    background: #f0f7ff;
    color: #3498db;
}

/* 选中状态下的文本颜色 */
.tree-menu .level-1 > li.selected span {
    color: #3498db;
}

/* 二级菜单样式 */
.tree-menu .level-2 {
    display: none;
    margin: 5px 0 5px 26px;
    padding-left: 10px;
    border-left: 1px dashed #ddd;
}
.tree-menu .level-2 li {
    padding: 8px 10px;
    margin: 2px 0;
    cursor: pointer;
    color: #555;
    border-radius: 4px;
    transition: all 0.2s ease;
    position: relative;
}
.tree-menu .level-2 li::before {
    content: "";
    position: absolute;
    left: -18px;
    top: 16px;
    width: 8px;
    height: 1px;
    background: #ddd;
}
.tree-menu .level-2 li:hover {
    color: #3498db;
    background: #f0f7ff;
    transform: translateX(2px);
}

/* 二级菜单选中样式 */
.tree-menu .level-2 li.selected {
    color: #3498db;
    background: #f0f7ff;
}
/* 表格容器样式 */
.tables-container {
    width: 70%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 初始消息容器样式 - 与表格容器宽度一致 */
.initial-message {
    width: 70%;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: #f9f9f9;
}
/* 表格基本样式 */
table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
}
th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
th {
    background-color: #f5f7fa;
    font-weight: bold;
    color: #2c3e50;
}
tr:hover {
    background-color: #f9f9f9;
}
.upper-table {
    margin-bottom: 10px;
}
.detail-btn {
    display: inline-block;
    padding: 6px 12px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}
.detail-btn:hover {
    background-color: #2980b9;
}
.initial-message {
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: #f9f9f9;
}
.intro-content h3 {
    margin-top: 0;
    color: #333;
    font-size: 1.2em;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 8px;
    margin-bottom: 15px;
}
.intro-content p {
    color: #555;
    line-height: 1.6;
    margin: 10px 0;
}
.intro-list {
    margin: 10px 0 10px 20px;
    color: #555;
}
.intro-list li {
    margin: 5px 0;
    line-height: 1.5;
}