*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
}
.bg-light {
    background-color: rgba(52, 219, 191, 0) !important;
}

nav ul li {
    margin: 1rem 0.8rem;
}

nav ul li a {
    font-size: 18px;
}

/* 自定义下拉菜单样式 */
.dropdown-menu .dropdown-item {
    color: #2c3e50; /* 字体颜色 */
    font-weight: 500; /* 字体粗细 */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* 平滑过渡 */
    display: flex;
    justify-content: left;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #3498db; /* 悬停背景色 */
    color: white; /* 悬停字体色 */
    display: flex;
    justify-content: center;
}

.dropdown-menu .dropdown-item:active {
    background-color: #2980b9; /* 点击时背景色 */
}

.organImages {
    width: 60%;
}

.card-title {
    display: flex;
    justify-content: center;
}

.card-title span {
    font-size: 2rem;
}
.navbar{
    flex-wrap: nowrap !important;
}
.navbar-nav {
    flex-direction: row !important;
}
:root {
    --border-color: #ccc;
    --primary-color: #4a6ee0; /* 定义一个具体的颜色值 */
    --secondary-color: #4a6ee0;
    --height: 100px; /* 定义变量值 */
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    color: #333;
    height: 100vh;
    overflow: hidden;
}
.bg-light{
    background-color: rgba(52, 219, 191, 0) !important;
}
nav ul li{
    margin: 1rem 0.8rem;
}
nav ul li a{
    font-size: 18px;
}
/* 自定义下拉菜单样式 */
.dropdown-menu .dropdown-item {
    color: #2c3e50; /* 字体颜色 */
    font-weight: 500; /* 字体粗细 */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* 平滑过渡 */
    display: flex;
    justify-content: left;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #3498db; /* 悬停背景色 */
    color: white; /* 悬停字体色 */
    display: flex;
    justify-content: center;
}

.dropdown-menu .dropdown-item:active {
    background-color: #2980b9; /* 点击时背景色 */
}


/* 左侧筛选面板 */
.sidebar {
    position: sticky;
    top: 0;
    height: 90vh;
    background: white;
    border-right: 1px solid var(--border-color);
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    overflow-y: auto;
    z-index: 1000;
    padding: 20px;
}

.sidebar-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.sidebar-header h3 {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.4rem;
}

.form-label {
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.form-select, .form-control {
    border-radius: 8px;
    border: 1px solid var(--border-color);
    padding: 10px 12px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-select:focus, .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(74, 110, 224, 0.25);
}

.form-group {
    margin-bottom: 20px;
}

.help-icon {
    color: #6c757d;
    cursor: help;
    margin-left: 5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #5a7ef0);
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 110, 224, 0.3);
}

.btn-outline-secondary {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
}

/* 右侧内容区域 */
.main-content {
    margin-left: var(--sidebar-width);
    height: 90vh;
    overflow-y: auto;
    padding: 20px;
    background: #fafbfc;
}

.content-header {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.content-header h2 {
    color: var(--secondary-color);
    font-weight: 600;
    margin: 0;
}

/* 图表网格布局 */
.charts-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.chart-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 20px;
    position: relative;
}

.chart-title {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.1rem;
}

/* 空间切片样式 */
.spatial-slice {
    width: 100%;
    border: 1px dashed #ccc;
    border-radius: 8px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.dataset-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}
.dataset-table-header,
.dataset-table-cell {
    padding: 8px 12px;
    text-align: left;
}
.dataset-table-header {
    background-color: #f2f2f2;
    font-weight: bold;
    font-size: 17px;
}
.dataset-table-body {
    font-size: 15px;
}
.dataset-table-row:nth-child(even) {
    background-color: #f9f9f9;
}
tr:hover{
    background-color: #f5f5f5;
}
.pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin:1rem ;
}
.pagination-status {
    color: #666;
}
.pagination-navigation {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}
.pagination-item {
    margin: 0 3px;
}
.pagination-link,
.pagination-disabled {
    display: block;
    padding: 6px 12px;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #333;
}
.pagination-link:hover {
    background-color: #e9e9e9;
}
.pagination-active .pagination-link {
    background-color: #e9e9e9;
    color: black;
    border-color: black;
}
.pagination-disabled {
    color: #ccc;
    cursor: not-allowed;
}
#searchInput {
    padding: 7px;
    width: 100%;
}
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}
.pagination .pagination-controls{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}
.pagination-controls a {
    margin: 0 5px;
    text-decoration: none;
    color: #333;
    padding: 5px 10px;
    border: 1px solid #ddd;
}
.pagination-controls a.active {
    background-color: #007bff;
    color: white;
    border: 1px solid #007bff;
}
.pagination-controls a:hover:not(.active) {
    background-color: #ddd;
}
.pagination-info {
    font-size: 14px;
    color: #666;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 !important;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.pagination a {
    color: #333;
    padding: 8px 16px;
    text-decoration: none;
    border: 1px solid #ddd;
    margin: 0 4px;
    border-radius: 4px;
}

.pagination a.active {
    background-color: #007bff;
    color: white;
    border: 1px solid #007bff;
}

.pagination a:hover:not(.active) {
    background-color: #ddd;
}

.pagination-info {
    text-align: center;
    margin: 10px 0;
    color: #666;
}