body{
    font-family: 'Arial', sans-serif;
    background: url("graph_background.jpg") no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    padding: 0;
    display: flex;
}
table thead, tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}
/* 表格文字属性：居中，字体宽度和字体大小 */
th {
    text-align: center;
    font-weight: bold;
    font-size: 15px;
}
/* 将表头缩进 */
table thead {
    width: calc(100% - 1.2em);
}
/* 表头数据格式：颜色和文字居中 */
td {
    color: #FFFFFF;
    text-align: center;
}
/* 设置表格滚动 */
tbody {
    display: block;
    height: 140px;
    overflow-y: scroll;
}

.navbar {
    background: rgba(40, 57, 77, 0.9);
    height: 60px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.nav-item {
    padding: 0 20px;
}
.nav-link {
    color: #000;
    transition: all 0.3s;
}
.nav-link:hover {
    transform: translateY(-2px);
}

/* 主内容区布局 */
.main-container {
    display: grid;
    width: 600px;
    grid-template-columns: 1fr 300px;
    gap: 20px;
    padding: 20px;
    height: calc(100vh - 100px);
}

/* 地图表格模块 */
.map-table-container {
    display: grid;
    width: 500px;
    grid-template-rows: 1fr auto;
    gap: 20px;
}

/* 四个模块容器 */
.modules-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
}
.module-card {
    background-color: rgba(231, 142, 142, 0.1);
    backdrop-filter: blur(10px);
    height: 350px;
    padding: 20px;
    margin-bottom: 28px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 表格样式优化 */
.data-table {
    background: linear-gradient(to right, #fff0d3, #eaacac);)
    backdrop-filter: blur(10px); 
    height: 230px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-height: 300px;
    overflow-y: auto;
}
#main {
    height: 500px!important;
    width: 600px;
    background: rgba(0,0,0,0.1);
    backdrop-filter: blur(10px); 
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.right-container{
    width: 800px;
}


/* 说明卡片样式 */
.clickable-card {
    cursor: pointer;
    transition: all 0.3s;
}
.clickable-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 12px;
}

.toggle-icon {
    font-size: 0.8em;
    color: #6c757d;
    transition: transform 0.3s;
}

.main-text {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.highlight {
    color: #dc3545;
    font-weight: 500;
}

.detail-list {
    padding-left: 20px;
    color: #444;
    font-size: 13px;
}

.expand-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

/* 展开状态 */
.expand-content.active {
    max-height: 200px;
    margin-top: 15px;
}

.progress-bar-container {
    margin: 8px 0;
}
.progress-label {
    font-size: 12px;
    color: #888;
    margin-bottom: 5px;
}

/* 简化版样式 */
.simple-card {
    /*backdrop-filter: blur(50px); */
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.arrow {
    transition: transform 0.3s;
    color: #666;
}

.base-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 15px 0;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
}

.info-item {
    display: flex;
    justify-content: space-between;
}
.label { color: #666; }
.value { color: #dc3545; font-weight:500; }


.detail-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
}

/* 展开状态 */
.expanded .detail-content {
    max-height: 400px;
    margin-top: 10px;
}
.expanded .arrow {
    transform: rotate(90deg);
}

/* 分布标签 */
.region-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 15px;
    margin: 5px 3px;
    font-size: 12px;
}

/* 进度条 */
.progress-item {
    margin: 10px 0;
}
.progress-bar {
    height: 8px;
    background: #dc3545;
    border-radius: 4px;
    margin-top: 5px;
    position: relative;
}
.progress-bar::after {
    content: attr(style);
    position: absolute;
    right: 5px;
    top: -18px;
    font-size: 12px;
    color: #666;
}

.simple-btn {
    width: 100%;
    border: none;
    background: #f8f9fa;
    padding: 8px;
    border-radius: 6px;
    margin-top: 5px;
    transition: all 0.3s;
}
.simple-btn:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}
.card { margin-bottom: 20px; padding: 10px; background-color: #f7f7f9; border-left: 4px solid #5bc0de; }
/* 确保内容区域有足够的空间 */
.container { display: flex; justify-content: space-between; }