*{
    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;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
