/*iframe {*/
/*  height: 100%;*/
/*  width: 100%;*/
/*  border: none;*/
/*  clip-path: inset(0 0 60px 0); !* 假设 footer 高度为 60px *!*/
/*}*/

h1 {
    font-size: 1.6em!important;
    font-weight: bold!important;
}
h2 {
    font-size: 1.4em!important;
    font-weight: bold!important;
}
h3 {
    font-size: 1.2em!important;
    font-weight: bold!important;
}
p {
    font-size: 1.2em!important;
}
li p {
    font-size: 1.0em!important;
}

li {
    font-size: 1.1em!important;
}


.card-img-container {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 1:1 的长宽比 */
    overflow: hidden;
}

.card-img-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保持纵横比并填充容器 */
}
.list-group-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.text-label {
    text-align: left;
    flex: 1; /* 确保文本部分占据可用空间 */
}

.amount {
    text-align: right;
    flex: 0 0 auto; /* 确保金额部分宽度自动且不收缩 */
    margin-left: 10px; /* 可根据需要调整间距 */
}

.bg-light-blue {
    background-color: #f1f5f8; /* 淡蓝色背景，可根据喜好调整 */
}
.badge_gray {
    font-size: 0.85rem;
    color: #2043b5 !important; /* 蓝色字体 */
    background-color: rgba(211, 211, 211, 0.2) !important; /* 淡灰色玻璃效果背景 */
    backdrop-filter: blur(10px); /* 玻璃效果模糊 */
    -webkit-backdrop-filter: blur(10px); /* Safari兼容 */
    border: 1px solid rgba(253, 233, 233, 0.2); /* 玻璃边框效果 */
    border-radius: 0.375rem; /* 保持圆角 */
    font-weight: normal; /* 确保不加粗 */
    padding-top: 0.2rem;    /* 上内边距 */
    padding-bottom: 0.2rem; /* 下内边距 */
    padding-left: 0.3rem;   /* 左内边距 */
    padding-right: 0.3rem;  /* 右内边距 */
    display: inline-block;
}
.font-content{
    font-size: 0.9rem !important;
    color: #2a1f1f !important; /* 蓝色字体 */
}
.font-bule-title{
    font-size: 0.85rem;
    color: #2043b5 !important; /* 蓝色字体 */
    font-weight: bold;
}
.font-bule-content{
    font-size: 0.90rem;
    color: #2043b5 !important; /* 蓝色字体 */
    font-weight: normal;
}

/* 顶部币价趋势交互 */
.coin-dropdown {
    position: relative;
    display: inline-block;
}

.coin-dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1000;
    display: block;
    min-width: 10rem;
    padding: .25rem 0;
    overflow: hidden;
    background: #f9f9f9;
    border-radius: .3rem;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.coin-dropdown.is-open .coin-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.coin-dropdown-content .coin-price-item,
.coin-dropdown-content .coin-price-trigger {
    display: flex;
    width: 100%;
}

.coin-dropdown-content .coin-price-trigger:hover,
.coin-dropdown-content .coin-price-trigger:focus-visible {
    background-color: #f1f1f1;
}

.coin-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .35rem;
    color: inherit;
    line-height: 1;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.coin-dropdown-toggle:focus-visible {
    outline: 2px solid rgba(52, 97, 255, .45);
    outline-offset: 1px;
}

.coin-dropdown-toggle i {
    display: inline-block;
    transition: transform .2s ease;
}

.coin-dropdown.is-open .coin-dropdown-toggle i {
    transform: rotate(180deg);
}

.coin-price-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .1rem;
    min-width: 0;
}

.coin-price-trigger {
    cursor: pointer;
    user-select: none;
    border-radius: .3rem;
    padding: .12rem .2rem;
    transition: background-color .2s ease, color .2s ease;
}

.coin-price-trigger:hover,
.coin-price-trigger:focus-visible {
    background-color: rgba(52, 97, 255, .09);
    outline: none;
}

.coin-price-trend {
    position: absolute;
    top: calc(100% + .65rem);
    left: 50%;
    z-index: 1100;
    width: min(320px, calc(100vw - 1.5rem));
    padding: .75rem;
    color: #273142;
    background: #fff;
    border: 1px solid rgba(39, 49, 66, .12);
    border-radius: .5rem;
    box-shadow: 0 .5rem 1.25rem rgba(20, 35, 60, .18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -6px);
    transition: transform .2s ease;
}

.coin-prices-desktop .coin-price-item:last-child .coin-price-trend {
    left: auto;
    right: 0;
    transform: translateY(-6px);
}

.coin-price-item.is-open .coin-price-trend {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.coin-price-trend.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.coin-prices-desktop .coin-price-item:last-child.is-open .coin-price-trend {
    transform: translateY(0);
}

.coin-price-trend-header,
.coin-price-trend-summary,
.coin-price-trend-range {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}

.coin-price-trend-header {
    margin-bottom: .35rem;
    font-size: .8rem;
}

.coin-price-trend-close {
    padding: .1rem .2rem;
    border: 0;
    color: #6c757d;
    background: transparent;
    cursor: pointer;
}

.coin-price-trend-close:hover,
.coin-price-trend-close:focus-visible {
    color: #2043b5;
}

.coin-price-trend-body {
    min-height: 8rem;
    font-size: .75rem;
}

.coin-price-trend-summary {
    margin-bottom: .2rem;
    font-size: .85rem;
    font-weight: 600;
}

.coin-price-trend-chart-wrap {
    position: relative;
}

.coin-price-trend-chart {
    display: block;
    width: 100%;
    height: 7rem;
    overflow: visible;
    cursor: crosshair;
    touch-action: none;
}

.coin-price-trend-line {
    fill: none;
    stroke: #3461ff;
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
}

.coin-price-trend-area {
    fill: rgba(52, 97, 255, .12);
}

.coin-price-trend-guide {
    stroke: rgba(52, 97, 255, .42);
    stroke-width: 1;
    stroke-dasharray: 3 3;
    vector-effect: non-scaling-stroke;
    pointer-events: none;
}

.coin-price-trend-point {
    fill: #fff;
    stroke: #3461ff;
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
    pointer-events: none;
}

.coin-price-trend-point.is-active {
    fill: #3461ff;
    stroke: #fff;
    stroke-width: 2;
    r: 4px;
}

.coin-price-trend-tooltip {
    position: absolute;
    z-index: 1;
    max-width: 164px;
    padding: .28rem .45rem;
    color: #fff;
    background: rgba(25, 35, 52, .94);
    border-radius: .3rem;
    box-shadow: 0 .2rem .6rem rgba(20, 35, 60, .2);
    font-size: .65rem;
    line-height: 1.3;
    text-align: center;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -100%);
    transition: opacity .12s ease, visibility .12s ease;
}

.coin-price-trend-tooltip.is-visible {
    opacity: 1;
    visibility: visible;
}

.coin-price-trend-tooltip.is-below {
    transform: translate(-50%, 0);
}

.coin-price-trend-tooltip span,
.coin-price-trend-tooltip strong {
    display: block;
}

.coin-price-trend-tooltip strong {
    margin-top: .1rem;
    font-size: .72rem;
}

.coin-price-trend-axis {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #6c757d;
    font-size: .65rem;
    line-height: 1.2;
}

.coin-price-trend-grid {
    stroke: rgba(108, 117, 125, .16);
    stroke-width: .6;
    stroke-dasharray: 2 3;
    pointer-events: none;
}

.coin-price-trend-y-label {
    fill: #6c757d;
    font-size: .58rem;
    text-anchor: end;
    dominant-baseline: middle;
    pointer-events: none;
}

@media (max-width: 767px) {
    .top-header .navbar {
        flex-wrap: nowrap !important;
        gap: 0 !important;
        justify-content: space-between;
        padding-right: .5rem;
        padding-left: .5rem;
    }

    .top-header .navbar .mobile-toggle-icon,
    .top-header .navbar .search-toggle-icon,
    .top-header .navbar .top-navbar-right {
        flex: 0 0 auto;
    }

    .top-header .navbar .top-navbar-right {
        margin-left: 0 !important;
    }

    .coin-dropdown {
        display: inline-flex;
        align-items: center;
        flex: 0 1 auto;
        min-width: 0;
        gap: 0;
        justify-content: flex-start;
        white-space: nowrap;
    }

    .coin-dropdown .coin-price-item {
        display: inline-flex;
        flex: 0 1 auto;
        min-width: 0;
    }

    .coin-dropdown .coin-price-trigger {
        padding: .12rem .15rem;
        white-space: nowrap;
    }

    .coin-dropdown .coin-price-trigger .badge {
        padding: .25em .35em;
        font-size: .62rem;
    }

    .coin-dropdown-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 1.75rem;
        width: 1.75rem;
        height: 2rem;
        padding: .25rem;
    }

    .coin-dropdown .coin-price-trend,
    .coin-price-trend.is-mobile-portal {
        position: fixed;
        top: 4.25rem;
        right: .5rem;
        bottom: auto;
        left: .5rem;
        width: auto;
        max-width: none;
        max-height: calc(100vh - 5rem);
        overflow-y: auto;
        transform: translateY(-6px);
    }

    .coin-dropdown .coin-price-item.is-open .coin-price-trend,
    .coin-price-trend.is-mobile-portal.is-open {
        transform: translateY(0);
    }

    .coin-dropdown-content {
        min-width: 13rem;
        top: calc(100% + .25rem);
    }

}

@media (max-width: 360px) {
    .coin-dropdown .coin-price-trigger {
        font-size: .78rem;
    }

    .coin-dropdown .coin-price-trigger .font-bule-title {
        font-size: .75rem;
    }

    .coin-dropdown .coin-price-trigger .badge {
        font-size: .56rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .coin-price-trend,
    .coin-dropdown-toggle i,
    .coin-dropdown-content,
    .coin-price-trend-tooltip {
        transition: none;
    }
}

.font-red-content{
    font-size: 0.90rem;
    color: #f81732 !important; /* 蓝色字体 */
    font-weight: normal;
}

/* 自定义蓝色按钮样式 */
.btn-blue-loadmore {
    background-color: transparent; /* 设置背景色为透明 */
    /*border: 1px solid blue; !* 添加蓝色边框 *!*/
    color: blue; /* 文字颜色为蓝色 */
    padding: 0.5rem 1rem; /* 内部填充，可以根据需要调整大小 */
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out; /* 添加过渡效果 */
}
/* 当鼠标悬停在按钮上时，改变边框颜色和文字颜色 */
.btn-blue-loadmore:hover {
    color: red;
    border: 0px;
}
/* 设置图标旋转动画 注意对应元素需设置style="display: inline-block" */
@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.bi-arrow-clockwise {
    animation: spin 2s linear infinite;
}

#copyAddrBtn {
    margin-left: 5px;
    padding: 2px 5px;
    font-size: 0.8rem;
}

#copyAddrBtn:hover {
    cursor: pointer;
}

/* 通用复制按钮样式 */
.copy-btn {
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9em;
    vertical-align: middle;
    color: #6c757d; /* 默认灰色 */
    display: inline-block;
}

/* 复制按钮悬停效果 */
.copy-btn:hover {
    color: #0d6efd; /* 悬停时变为蓝色 */
    transform: scale(1.1);
}

/* 确保图标垂直居中对齐 */
.copy-btn.bi {
    line-height: 1;
}



@keyframes bounceUp {
    0%, 20%, 50%, 80%, 100% { animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); }
    0% { opacity: 0; transform: translateY(-20px); }
    20%, 80% { opacity: 1; transform: translateY(0); }
    40%, 60% { opacity: 1; transform: translateY(-20px); }
    50% { opacity: 1; transform: translateY(-30px); }
}

.bounce-up {
    animation-name: bounceUp;
    animation-duration: 2s;
}

.link-sm{
    color: #2b6ad7 !important;
}
.link-sm:hover{
    color: red!important;
    cursor: pointer; /* 更改为手形指针 */;

}
.link-gray{
    color: black!important;
}
.link-gray:hover{
    color: #444343 !important;
    cursor: pointer; /* 更改为手形指针 */;

}


.del{
    text-decoration: line-through;
}
.app-image{
    height: 8rem;
}
.app-cardbody-mart{
    height: 12rem;
    overflow: auto;
}
.green-bold {
    color: green;
    font-weight: bold;
}
.chart-dash-container {
    height: 100%;
    min-height: 200px;
    position: relative;
}


/* 添加自定义样式  datalist移动端*/
.input-group-datalist-touch {
  touch-action: manipulation;
}

/* 设置鼠标悬停 hover 样式 */
.hover-effect:hover {
    background-color: #6095ef !important;
    cursor: pointer;
}

.badge {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.longtext {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 通用长文本换行类 */
.text-break {
  word-break: break-all;
  word-wrap: break-word;
  white-space: normal;
}

/* 在index.css中添加以下样式 */

/* 现代化加载动画 - 柔和霓虹科技风（适合白底网站） */
.modern-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 200px;
    width: 100%;
    padding: 20px;
}

.spinner-container {
    position: relative;
    width: 55px;
    height: 55px;
    margin-bottom: 18px;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-radius: 50%;
    animation: spinner-ring 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* 中心logo容器 */
.spinner-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px; /* 调整logo大小 */
    height: 50px; /* 调整logo大小 */
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* logo图片样式 */
.spinner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* 或者如果你使用的是字体图标或SVG */
.spinner-logo .logo-icon {
    font-size: 20px; /* 调整图标大小 */
    color: #555; /* 调整图标颜色 */
}

/* 柔和化的颜色方案 */
.spinner-ring:nth-child(1) {
    animation-delay: -0.45s;
    border-top-color: #4da6ff; /* 柔和的天蓝色 */
    filter: drop-shadow(0 0 6px rgba(77, 166, 255, 0.6));
}

.spinner-ring:nth-child(2) {
    animation-delay: -0.3s;
    border-top-color: #ff99cc; /* 柔和的粉红色 */
    filter: drop-shadow(0 0 6px rgba(255, 153, 204, 0.6));
}

.spinner-ring:nth-child(3) {
    animation-delay: -0.15s;
    border-top-color: #85e085; /* 柔和的薄荷绿 */
    filter: drop-shadow(0 0 6px rgba(133, 224, 133, 0.6));
}

/* 加载动画 */
@keyframes spinner-ring {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.03);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

.spinner-label {
    font-size: 1rem;
    color: #555; /* 中等深度的文字颜色 */
    font-weight: 500;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.05);
    letter-spacing: 0.3px;
    animation: label-fade 3s ease-in-out infinite;
}

/* 更微妙的文字动画 */
@keyframes label-fade {
    0%, 100% {
        opacity: 0.95;
    }
    50% {
        opacity: 0.8;
    }
}




/* JSON格式化显示样式 */
.json-formatted {
    background-color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 4px;
    padding: 10px;
    margin: 5px 0;
    /*font-family: 'Courier New', monospace;*/
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 300px;
    overflow: auto;
    font-size: 13px;
    line-height: 1.4;
}

/* JSON语法高亮样式 */
.json-formatted .string {
    color: #27ae60;
}
.json-formatted .number {
    color: #f39c12;
}
.json-formatted .boolean {
    color: #3498db;
}
.json-formatted .null {
    color: #bdc3c7;
}
.json-formatted .key {
    color: #e74c3c;
}

.btn-group-sm > .btn.active,
.btn-group-sm > .btn:active {
    background-color: rgba(0, 123, 255, 0.6) !important;
    border-color: rgba(0, 123, 255, 0.6) !important;
    color: white !important;
}

.btn-group-sm > .btn.active:hover,
.btn-group-sm > .btn:active:hover {
    background-color: rgba(0, 123, 255, 0.7) !important;
    border-color: rgba(0, 123, 255, 0.7) !important;
}

.newly-added-row {
    background-color: #e8f5e8 !important; /* 浅绿色背景 */
    transition: background-color 0.3s ease;
}

.newly-added-row:hover {
    background-color: #d1e7d1 !important; /* 悬停时的颜色 */
}

/* 针对 bootstrap-table 的单元格，强制自动换行 */
.bootstrap-table .table td,
.bootstrap-table .table th {
  /* 1. 允许文本换行（取消默认的不换行） */
  white-space: normal !important;
  /* 2. 处理连续无空格长字符（如纯数字/英文）的折行 */
  word-wrap: break-word;
  word-break: break-all;
  /* 3. 可选：限制单元格最小宽度，避免表格过窄 */
  min-width: 120px;
  /* 4. 可选：设置行高，优化多行文本显示 */
  line-height: 1.5;
  vertical-align: middle; /* 垂直居中，优化视觉 */
}

/* 卡片容器基础样式 */
.card-views {
  padding: 0.9rem;
  background-color: #f9f9f9;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.card-view {
  padding: 0.9rem;
  /*background-color: #f9f9f9;*/
  border-radius: 0.5rem;
  /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

/* 表格单元格样式 - 极致紧凑布局 */
.card-view td {
  display: block;
  width: 100%;
  padding: 0.5rem 0; /* 大幅减小上下内边距 */
  border-bottom: 1px solid #f0f0f0; /* 更浅的边框色，视觉上缩小间隙 */
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  line-height: 1.3; /* 更紧凑的行高 */
}

/* 隐藏表头 */
.card-view th {
  display: none;
}

/* 最后一个单元格去掉下边框，消除多余间隙 */
.card-view td:last-child {
  border-bottom: none;
  padding-bottom: 0.1rem; /* 最后一行额外减少底部间距 */
}

/* 第一个内容行减少顶部间距 */
.card-view td:first-child {
  padding-top: 0.2rem;
}

/* 移动端进一步优化 */
@media (max-width: 768px) {
  .card-view {
    padding: 0.7rem;
    font-size: 0.8rem;
  }

  .card-view td {
    padding: 0.5rem 0;
    line-height: 1.25;
  }
}
/* bootstrap-table的移动端设置*/
/* 处理内联元素换行 */
.card-view td a,
.card-view td span,
.card-view td div {
  display: inline-block;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  text-align: right;
  line-height: 1.3; /* 保持内联元素行高一致 */
}

/* 字段标题样式 - 最小化间距 */
.card-view td::before {
  content: attr(data-title);
  font-weight: 600;
  display: block;
  margin-bottom: 0.4rem;
  color: #555;
  text-align: left;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  line-height: 1.2; /* 标题行高更紧凑 */
}

/*apex桑基图的样式设置*/
.node {
  cursor: pointer;
}
.node:hover {
  opacity: 0.8;
}

/* 通用卡片悬停效果 */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* 通用时间筛选器悬停效果 */
.square-filter {
    transition: all 0.2s ease;
}

.square-filter:hover:not(.active) {
    background-color: #e5e7eb;
}

/* 标签页样式 */
.tab-container {
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-bottom: 1rem;
}

.tab-btn {
    border: none;
    background: transparent;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    position: relative;
    cursor: pointer;
    color: #718096;
    transition: all 0.2s ease;
    border-radius: 0.5rem 0.5rem 0 0;
}

.tab-btn:hover {
    color: #4a5568;
}

.tab-btn.active {
    color: #165dff;
    background-color: #f1f5f9;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #165dff;
    border-radius: 3px 3px 0 0;
}

/* 时间筛选器样式 */
.square-filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.square-filter {
    border: 1px solid #e2e8f0;
    background-color: #fff;
    color: #4a5568;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.square-filter:hover:not(.active) {
    background-color: #f7fafc;
    border-color: #cbd5e0;
}

.square-filter.active {
    background-color: #165dff;
    color: white;
    border-color: #165dff;
}

/* 新增的现代化按钮样式 */
.btn-modern {
    border: 1px solid #e2e8f0;
    background-color: #fff;
    color: #4a5568;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-modern:hover:not(.active) {
    background-color: #f7fafc;
    border-color: #cbd5e0;
}

.btn-modern.active {
    background-color: #165dff;
    color: white;
    border-color: #165dff;
}

/* 统一间距样式 */
.section-spacing {
    margin-bottom: 2rem;
}

.card-spacing {
    margin-bottom: 1.5rem;
}

.chart-container {
    background-color: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 0.3rem;
    margin-bottom: 0.3rem;
}

.chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.metrics-section {
    padding: 0.3rem 0;
}

.metrics-section .row {
    row-gap: 1.5rem;
}

.section-divider {
    margin: 3rem 0;
}

/* 新增的数据仪表板样式 */
.data-dashboard {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 0.3rem;
    margin-bottom: 1.5rem;
}

.metrics-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 0.3rem;
    height: 100%;
    transition: all 0.3s ease;
}

.metrics-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

.section-subtitle {
    color: #64748b;
    max-width: 48rem;
    margin: 0 auto 2rem;
    font-size: 1rem;
}

.chart-section {
    margin-bottom: 2rem;
}

.chart-title {
    /*font-size: 1.25rem;*/
    font-weight: 600;
    margin: 0.5rem;
    padding: 0.5rem;
    color: #1e293b;
}

.data-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0.5rem;
    color: #1e293b;
    padding: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.table-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0.5rem;
    padding: 0.5rem;
}

.pagination-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.table-wrapper {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

/* 表格样式优化 */
.table th {
    background-color: #f8fafc;
    font-weight: 600;
    color: #64748b;
    border-bottom: 2px solid #e2e8f0;
}

.table td {
    border-color: #e2e8f0;
}

.table-hover tbody tr:hover {
    background-color: #f1f5f9;
}

#loadmore {
    background-color: transparent;
    border: 1px solid #165dff;
    color: #165dff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: block;
    margin: 1.5rem auto;
    cursor: pointer;
}

#loadmore:hover {
    background-color: #165dff;
    color: white;
}

.stats-info {
    font-size: 0.9rem;
    color: #64748b;
}

.stats-info span {
    font-weight: 600;
    color: #1e293b;
}

/* 语言切换器样式 */
.nav-link .bi-globe {
    font-size: 1.2rem;
    color: #6c757d;
    transition: color 0.2s ease;
}

.nav-link .bi-globe:hover {
    color: #0d6efd;
}
