#svg_container {
	display: flex;
	justify-content: center;
	margin: 20px 0;
}
#svg_content {
	border: 1px solid #ccc;
}
/* 历史记录中 SVG 的鼠标样式 */
.svg-history {
	cursor: pointer;
	margin: 5px;
}
/* 历史记录中统一缩放 */
.svg-history-container {
	transform: scale(0.5);
}
/* 表格样式 */
#moltable {
	width: 100%;
	border-collapse: collapse;
}
#moltable th, #moltable td {
	border: 1px solid #ccc;
	padding: 5px;
	text-align: center;
}
/* 隐藏列样式 */
.hidden-col {
	display: none;
}
/* 显示模型信息 */
#modelInfo {
	margin-top: 20px;
	text-align: left;
	border: 1px solid #ccc;
	padding: 10px;
	width: 80%;
}

/* 主容器优化 */
#jsme_container {
    margin: 20px auto;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 神经网络图片显示优化 */
#moltable img {
    max-width: 200px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* 操作按钮组布局 */
.button-group {
    display: flex;
    gap: 25px; /* 水平间距增加到25px */
    row-gap: 15px; /* 垂直间距增加到15px */
    padding: 12px 16px; /* 增加内边距 */
    margin: 25px 0; /* 增大外边距 */
    align-items: center; /* 垂直居中按钮 */
}

/* 在.button-group的现有样式中增加按钮间距 */
.button-group {
    gap: 15px; /* 水平间距 */
    row-gap: 15px; /* 垂直间距 */
    margin: 15px 0;
}

/* 针对功能列按钮的特殊调整 */
#moltable button {
    padding: 6px 12px;
    min-width: 60px;
    margin-bottom: 8px; /* 按钮间垂直间距 */
}

/* 移动端适配 */
@media (max-width: 768px) {
    #moltable button {
        padding: 4px 8px;
        margin-bottom: 6px;
    }
}

/* 响应式优化 */
@media (max-width: 768px) {
    .button-group {
        gap: 12px; /* 移动端保持适当间距 */
        row-gap: 10px;
    }
}

/* 新增模型信息样式 */
#modelInfo {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    font-size: 0.9em;
    line-height: 1.6;
}

/* 散点图容器优化 */
#scatterContainer {
    margin: 20px 0;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 按钮统一风格 */
button {
    padding: 8px 16px;
    border-radius: 6px;
    background: #6c5ce7;
    color: white;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

button:hover {
    opacity: 0.9;
}

/* 主容器风格升级 */
/* 主背景色调整为实验室白板风格 */
.main-container {
    background: #f0f4f8; /* 浅灰蓝色背景 */
}

/* 按钮组科学配色 */
.button-group button {
    background: #2c3e50; /* 深蓝灰色 */
    box-shadow: 0 2px 4px rgba(44,62,80,0.1);
}

.button-group button:hover {
    background: #34495e; /* 稍浅的蓝灰色 */
    box-shadow: 0 3px 8px rgba(52,73,94,0.2);
}

/* 表格表头加深专业感 */
#moltable th {
    background: #1a2937; /* 深蓝黑 */
}

/* 分子编辑器边框优化 */
#jsme_container {
    border-color: #d0dbe4;
}
.editor-header {
    margin: 0 0 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #2c3e50;
}
.editor-header h2 {
    color: #2c3e50;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-weight: 600;
    margin: 0;
    font-size: 1.8rem;
}
.editor-header p {
    color: #7f8c8d;
    margin: 0.5rem 0 0;
}

/* 表格现代风格升级 */
#moltable {
    border: 1px solid #ecf0f1;
    background: #fff;
}
#moltable th {
    background: #34495e;
    color: #fff;
    padding: 1rem;
    font-weight: 500;
}
#moltable td {
    padding: 0.8rem;
    border-color: #ecf0f1;
    color: #2c3e50;
}

/* 按钮组优化 */
.button-group button {
    background: #3498db;
    border-radius: 6px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.button-group button:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(52,152,219,0.25);
}

/* 分子编辑器容器 */
#jsme_container {
    border: 2px solid #bdc3c7;
    background: #f9fbfd;
    margin-top: 1rem;
}
#jsme_container::before {
    content: "分子结构编辑器";
    display: block;
    padding: 0.5rem 1rem;
    background: #34495e;
    color: #fff;
    font-size: 1.1rem;
    border-radius: 6px 6px 0 0;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .main-container {
        padding: 1rem;
    }
    .editor-header h2 {
        font-size: 1.5rem;
    }
}
#moltable tr:nth-child(even) {
    background: #f8fafc; /* 交替行浅蓝灰 */
}
/* 更新按钮组颜色 */
.button-group button {
    background: #2c3e50 !important; /* 深蓝灰色 */
    transition: all 0.2s ease;
}

.button-group button:hover {
    background: #34495e !important; /* 稍浅的蓝灰色 */
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(52,73,94,0.2);
}

/* 其他按钮统一风格 */
button {
    background: #2c3e50;
    color: #fff;
}
button:hover {
    background: #34495e;
}

/* 主容器背景 */
body {
    background: #f8f9fa !important; /* 浅灰白背景 */
    min-height: 100vh;
}

/* 主容器微调 */
.main-container {
    background: rgba(255,255,255,0.95); /* 半透明白色 */
    backdrop-filter: blur(2px);
}

/* 表格交替行 */
#moltable tr:nth-child(even) {
    background: #f8f9fb; /* 浅灰条纹 */
}
body {
    background: #ffffff; /* 如果存在body样式 */
}