/* 大屏特定样式 */
.dashboard-body {
    overflow: hidden;
    background: transparent;
}

.dashboard-container {
    padding: 0;
    height: calc(100vh - 80px);
    margin-top: 20px;  /* 为固定定位的导航栏留出空间 */
}

/* 顶部统计卡片 */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 10px;
}

.stat-card {
    display: flex;
    align-items: center;
    padding: 20px;
}

.stat-icon {
    font-size: 2.5em;
    margin-right: 20px;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 1.6em;
    color: var(--primary-neon);
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    line-height: 1.2;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    margin: 5px 0;
    font-size: 0.9em;
}

.stat-trend {
    font-size: 0.85em;
}

.stat-trend.up {
    color: #00ff00;
}

.stat-trend.down {
    color: var(--warning-red);
}

/* 主要内容网格 */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, minmax(380px, 1fr));
    gap: 30px;
    height: calc(100% - 30px);
    margin: 0 30px;
}

.dashboard-panel {
    padding: 20px;
    overflow: hidden;
}

.dashboard-panel h2 {
    margin-bottom: 20px;
    color: var(--primary-neon);
    font-size: 1.2em;
}

/* 地图容器 */
.map-container {
    height: calc(100% - 40px);
}

/* 实时列表 */
.realtime-list {
    height: calc(100% - 40px);
    overflow-y: auto;
}

.realtime-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.realtime-item .time {
    color: var(--primary-neon);
}

.realtime-item .platform {
    background: rgba(0, 255, 209, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
}

.realtime-item .heat {
    margin-left: auto;
    color: #ff6b6b;
}

/* 图表容器 */
.chart-container {
    height: calc(100% - 40px);
}

/* 预警列表 */
.alert-list {
    height: calc(100% - 40px);
    overflow-y: auto;
}

.alert-item {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.alert-item.high {
    background: rgba(255, 77, 77, 0.2);
    border-left: 4px solid var(--warning-red);
}

.alert-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.alert-level {
    color: var(--warning-red);
    font-weight: bold;
}

.alert-time {
    color: rgba(255, 255, 255, 0.6);
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-neon);
    border-radius: 3px;
}

/* 数据大屏特定的导航栏样式 */
.dashboard-theme .nav-container {
    position: fixed;
    top: 0;
    margin: 0;
    border-radius: 0;
    height: 80px;
    background: rgba(35, 78, 166, 0.155);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    width: 100%;
    z-index: 1000;
    border: 1px solid rgba(82, 204, 252, 0.1);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.1),
        inset 0 0 30px rgba(49, 186, 240, 0.05);
}

/* 粒子背景 */
#particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* 光效背景 */
.light-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.light-beam {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom,
            transparent,
            rgba(100, 255, 218, 0.3),
            transparent);
    animation: beam-move 8s infinite;
}

.light-beam:nth-child(1) {
    left: 20%;
    animation-delay: -2s;
}

.light-beam:nth-child(2) {
    left: 50%;
    animation-delay: -4s;
}

.light-beam:nth-child(3) {
    left: 80%;
    animation-delay: -6s;
}

@keyframes beam-move {
    0% {
        transform: translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateY(100%) rotate(45deg);
    }
}

/* 数据卡片动画 */
@keyframes valuePulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.9;
    }
    50% { 
        transform: scale(1.05);
        opacity: 1;
    }
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* 数值动画 */
.overview .item h4 {
    font-size: 1.6em;
    color: var(--primary-neon);
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.5);
}

/* 图标动画 */
.overview .item span {
    color: #4c9bfd;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.overview .item span i {
    font-size: 0.75rem;
}

.overview .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.overview .item {
    text-align: center;
    flex: 1;
}

/* 面板悬浮效果 */
.panel {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.panel:hover {
    transform: translateY(-2px);
}

/* 滚动条样式 */
.marquee-view::-webkit-scrollbar {
    width: 4px;
    background: transparent;
}

.marquee-view::-webkit-scrollbar-thumb {
    background: rgba(100, 255, 218, 0.15);
    border-radius: 2px;
}

.marquee-view:hover::-webkit-scrollbar-thumb {
    background: rgba(100, 255, 218, 0.4);
}

/* 导航栏样式 */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(10, 26, 47, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* 导航链接容器样式 */
.dashboard-theme .nav-container .nav-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    flex: 1;
    min-width: 0;
    margin: 0 20px;
}

/* 标题和用户信息样式 */
.dashboard-theme .nav-container .nav-title {
    padding-left: 20px;
}

.dashboard-theme .nav-container .user-info {
    padding-right: 20px;
}

/* 添加科技感装饰边框 */
.dashboard-theme .nav-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(49, 186, 240, 0.3),
        transparent
    );
    box-shadow: 0 0 15px rgba(49, 186, 240, 0.2);
}

/* 添加发光线条 */
.dashboard-theme .nav-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right,
        rgba(49, 186, 240, 0) 0%,
        rgba(49, 186, 240, 0.3) 50%,
        rgba(49, 186, 240, 0) 100%
    );
    box-shadow: 0 0 15px rgba(49, 186, 240, 0.2);
}

/* 数据大屏导航栏标题样式 */
.dashboard-theme .nav-container .nav-title h1 {
    color: var(--primary-neon);
    text-shadow: 0 0 15px rgba(179, 245, 245, 0.5);
}

/* 数据大屏导航链接样式 */
.dashboard-theme .nav-container .nav-links .nav-item {
    padding: 10px 15px;
    height: 50px;
    border-radius: 15px;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(49, 186, 240, 0.05);
    border: 1px solid rgba(49, 186, 240, 0.1);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-size: 0.95em;
}

.dashboard-theme .nav-container .nav-links .nav-item i {
    color: rgba(49, 186, 240, 0.8);
    margin-right: 8px;
    font-size: 20px;
}

/* 激活状态 */
.dashboard-theme .nav-container .nav-links .nav-item[data-page="dashboard"] {
    color: #ffffff;
    background: rgba(49, 186, 240, 0.15);
    border-color: rgba(49, 186, 240, 0.3);
    box-shadow: 
        0 0 15px rgba(49, 186, 240, 0.2),
        inset 0 0 8px rgba(49, 186, 240, 0.1);
}

.dashboard-theme .nav-container .nav-links .nav-item[data-page="dashboard"] i {
    color: #ffffff;
}

/* 悬停效果 */
.dashboard-theme .nav-container .nav-links .nav-item:hover {
    color: #ffffff;
    background: rgba(49, 186, 240, 0.15);
    border-color: rgba(49, 186, 240, 0.3);
    box-shadow: 
        0 0 20px rgba(49, 186, 240, 0.2),
        inset 0 0 10px rgba(49, 186, 240, 0.1);
    transform: translateY(-1px);
}

.dashboard-theme .nav-container .nav-links .nav-item:hover i {
    color: #ffffff;
    transform: scale(1.1);
}

/* 当前页面标识 */
.dashboard-theme .nav-container .nav-links a[data-page="dashboard"]::before {
    content: '';
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 2px;
    background: linear-gradient(to right,
        rgba(49, 186, 240, 0) 0%,
        rgba(49, 186, 240, 0.8) 50%,
        rgba(49, 186, 240, 0) 100%
    );
    box-shadow: 0 0 10px rgba(49, 186, 240, 0.5);
}

.dashboard-theme .nav-container .user-info .login-btn {
    border-color: rgba(0, 255, 255, 0.3);
    color: var(--primary-neon);
}

.dashboard-theme .nav-container .user-info .login-btn:hover {
    background: rgba(0, 255, 255, 0.15);
    border-color: var(--primary-neon);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

/* 数据卡片样式增强 */
.overview {
    margin-bottom: 1rem;
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: url(../images/bj.png) no-repeat center center / cover;
}

.content-container {
    position: relative;
    z-index: 1;
    /* padding-top: 80px; */
}

/* 用户活跃度面板样式 */
.users.panel {
    height: 280px !important;  /* 减小面板高度 */
    margin-bottom: 15px;
}

.users.panel .inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 6px;
}

.users.panel h3 {
    margin-bottom: 2px;
}

.users.panel #userCoverageChart {
    flex: 1;
    width: 100% !important;
    min-height: 300px !important;  /* 减小图表最小高度 */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 加载动画样式 */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 25, 36, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-content {
    text-align: center;
}

.loading-spinner {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    position: relative;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top-color: var(--primary-neon);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner-ring::before,
.spinner-ring::after {
    content: '';
    position: absolute;
    border: 4px solid transparent;
    border-radius: 50%;
}

.spinner-ring::before {
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-top-color: var(--primary-color);
    animation: spin 2s linear infinite;
}

.spinner-ring::after {
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-top-color: var(--warning-color);
    animation: spin 1.5s linear infinite;
}

.loading-text {
    color: var(--text-color);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-dots {
    display: inline-flex;
    margin-left: 5px;
}

.loading-dots span {
    animation: dots 1.5s infinite;
    opacity: 0;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.5s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 1s;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dots {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

/* top panel 样式调整 */
.top.panel {
    height: 280px !important;  /* 设置与其他面板相同的高度 */
}

/* 热门话题榜样式 */
.top .all ul li {
    font-size: 15px;  /* 增加热门话题字体大小 */
    font-weight: 500;  /* 加粗字体 */
    width: 200px;
    margin-bottom: 15px;
    color: #75ccef;
}

.top .province .data .sup li span {
    font-size: 15px;  /* 增加关键词字体大小 */
    font-weight: 500;  /* 加粗字体 */
    color: #75ccef;
    text-shadow: 0 0 10px rgba(247, 231, 231, 0.726);  /* 添加轻微发光效果提高可读性 */
}

/* 热门话题词云面板样式增强 */
.sales.panel {
    min-height: 280px !important;
    height: 280px !important;
    width: 100% !important;
    margin-bottom: 20px;
}

/* 热门评论面板高度调整 */
.monitor.panel {
    min-height: 400px !important;
    height: 400px !important;
    width: 100% !important;
    margin-bottom: 20px;
    color: white !important;
}


