* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 针对360浏览器和其他浏览器的兼容性修复 */
*::-webkit-scrollbar {
    display: none;
}

* {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

html {
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    background-image: url('images/bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;

}

body {
    color: #ffffff;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    min-height: 100vh;
    min-width: 100vw;
    animation: backgroundPulse 12s ease-in-out infinite;
}

/* 背景微妙脉冲动画 */
@keyframes backgroundPulse {
    0%, 100% {
        filter: brightness(1) contrast(1);
    }
    50% {
        filter: brightness(1.01) contrast(1.005);
    }
}



@font-face {
	font-family: 'LCdd';
	src: url('fonts/LcdD.ttf');
}


.dashboard {
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    grid-template-rows: 80px calc(100vh - 90px);
    gap: 10px 20px;
    height: 100vh;
    width: 100vw;
    position: relative;
    z-index: 2;
    overflow: hidden;
    box-sizing: border-box;
}

/* Header */
.header {
    grid-column: 1 / -1;
    height:80px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    background-image: url('images/top.png');
    background-size: 100% 100%;
    backdrop-filter: blur(10px);
    padding: 10px 20px 0;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #93e3fa;
    font-size: 18px;
    justify-self: start;
}

.header-title {
    font-size: 28px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    margin: 0;
    text-align: center;
    justify-self: center;
    animation: titleGlow 3s ease-in-out infinite alternate;
    transition: all 0.3s ease;
}

.header-title:hover {
    transform: scale(1.02);
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

/* 标题发光动画 */
@keyframes titleGlow {
    0% {
        text-shadow:
            0 0 10px rgba(0, 255, 255, 0.5),
            0 0 20px rgba(0, 255, 255, 0.3);
    }
    100% {
        text-shadow:
            0 0 15px rgba(0, 255, 255, 0.8),
            0 0 25px rgba(0, 255, 255, 0.5),
            0 0 35px rgba(0, 255, 255, 0.3);
    }
}

.header-right {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #93e3fa;
    font-size: 18px;
    justify-self: end;
}

.header-center {


	position: absolute;
    top: 90%;
    left: 44%;
	color: white;
}





/* Widget containers */
.widget {
    background-image: url('images/left_bg.png');
    background-size: 100% 100%;
    padding: 15px;
    position: relative;
    backdrop-filter: blur(10px);
    flex: 1;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    animation: borderGlow 4s ease-in-out infinite;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.widget:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

.mid-widget {
    background-image: url('images/mid_bg1.png');
    background-size: 100% 100%;
    padding: 15px;
    position: relative;
    backdrop-filter: blur(10px);
    flex: 1;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.mid-widget2 {
    background-image: url('images/mid_bg.png');
    background-size: 100% 100%;
    padding: 15px;
    position: relative;
    backdrop-filter: blur(10px);
    flex: 1;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.mid-widget3 {
    background-image: url('images/mid_bg.png');
    background-size: 100% 100%;
    padding: 15px;
    position: relative;
    backdrop-filter: blur(10px);
    flex: 1;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.widget-title {
    color: white;
    font-size: 16px;
    font-weight:bold;
    position: absolute;
    left:35px;
    top:0px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: slideInFromBottom 0.8s ease-out 0.3s both;
    transition: all 0.3s ease;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
}

.widget-titles {
    color: white;
    font-size: 16px;
    font-weight:bold;
    position: absolute;
    left:35px;
    top:10px;
    margin-bottom: -50px;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: slideInFromBottom 0.8s ease-out 0.3s both;
    transition: all 0.3s ease;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
}

/* 表格样式 */
.status-table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
    border: none;
	/*margin-top:20;*/
    animation: scrollUp 20s linear infinite;
}

/* 表格容器样式 */
.table-container {
    /*height: 28vh;*/
    overflow: hidden;
    margin-top: 5.5vh;
    position: relative;
    border-radius: 8px;
    background: rgba(0, 20, 40, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.1);
}

.status-table th,
.status-table td {
    padding: 1.2vh 0.5vw;
    text-align: left;
    border: none;
    font-size: 0.8vw;
    color: #ffffff;
    white-space: nowrap;
    line-height: 1.6;
}

.status-table th {
    border-bottom: 1px solid rgba(0, 212, 255, 0.3);
    background: rgba(0, 40, 80, 0.8);
    position: sticky;
    top: 0;
    z-index: 10;
}

/* 奇数行背景色 - 深色 */
.status-table tbody tr:nth-child(odd) {
    background: rgba(0, 30, 50, 0.6);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

/* 偶数行背景色 - 浅色 */
.status-table tbody tr:nth-child(even) {
    background: rgba(0, 50, 80, 0.4);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.status-table tbody tr:hover {
    background: rgba(0, 212, 255, 0.3) !important;
    transform: scale(1.02);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
    cursor: pointer;
    border-left: 3px solid #00d4ff;
    position: relative;
    z-index: 5;
}

.status-table tbody tr:hover td {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.8);
}

/* 表格容器渐变遮罩 */
.table-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: linear-gradient(to bottom, rgba(0, 20, 40, 0.8), transparent);
  z-index: 10;
  pointer-events: none;
}

.table-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
	padding-top:10px;
    height: 10px;
    background: linear-gradient(to top, rgba(0, 20, 40, 0.8), transparent);
    z-index: 10;
    pointer-events: none;
}

/* 暂停动画当鼠标悬停在容器上时 */
.table-container:hover .status-table {
  animation-play-state: paused;
}

.widget-title:hover {
    transform: scale(1.02);
    text-shadow: 0 0 12px rgba(0, 255, 255, 0.8);
}

.panel-content {
    height: calc(50% - 2vh);
    display: flex;
    flex-direction: column;
    font-size: 1.5vw;
    padding: 1vh;
}


/* Left column */
.left-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
    overflow-y: auto;
    animation: slideInFromLeft 0.8s ease-out;
}

/* Stats grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 10px;
    padding: 80px 0 15px;
}

.stat-item {
    background: transparent;
    border: none;
    border-radius: 8px;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 12px 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: slideInFromBottom 0.6s ease-out both;
}

.stat-item:hover {
    transform: translateY(-2px) scale(1.02);
    filter: brightness(1.1);
}
.stat-icon {
    width: 50px;
    height: 55px;
    margin-right:10px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: all 0.3s ease;
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(0, 255, 255, 0.4));
}

/* 响应式调整 */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .stat-item {
        padding: 12px;
        gap: 10px;
    }

    .stat-icon {
        width: 32px;
        height: 32px;
    }

    .stat-number {
        font-size: 20px;
    }

    .stat-label {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item {
        padding: 15px;
        gap: 15px;
    }

    .stat-icon {
        width: 36px;
        height: 36px;
    }
}

/* Center column */
.center-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
    overflow-y: auto;
    animation: slideInFromBottom 0.8s ease-out 0.2s both;
}

/* Chart containers */
.chart-container {
    flex: 1;
    min-height: 180px;
    position: relative;
    margin: 10px 0;
    display: flex;
    flex-direction: column;
}

/* 全屏时图表容器自适应 */
@media screen and (min-height: 800px) {
    .chart-container {
        flex: 1;
        min-height: 200px;
    }
}

/* 确保图表填充容器 */
.chart-container > div {
    height: 100% !important;
    flex: 1;
}

/* ECharts容器自适应 */
[id$="Chart"] {
    height: 100% !important;
    min-height: 180px;
}

/* Right column */
.right-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
    overflow-y: auto;
    animation: slideInFromRight 0.8s ease-out 0.4s both;
}

/* 全屏模式优化 */
:fullscreen,
:-webkit-full-screen,
:-moz-full-screen,
:-ms-fullscreen {
    width: 100% !important;
    height: 100% !important;
}

/* 全屏时body样式 */
:fullscreen body,
:-webkit-full-screen body,
:-moz-full-screen body,
:-ms-fullscreen body {
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
}

:fullscreen .dashboard,
:-webkit-full-screen .dashboard,
:-moz-full-screen .dashboard,
:-ms-fullscreen .dashboard {
    width: 100vw !important;
    height: 100vh !important;
    padding: 0 10px !important;
    gap: 5px 15px !important;
    grid-template-rows: 80px 1fr !important;
}

:fullscreen .left-column,
:fullscreen .center-column,
:fullscreen .right-column,
:-webkit-full-screen .left-column,
:-webkit-full-screen .center-column,
:-webkit-full-screen .right-column,
:-moz-full-screen .left-column,
:-moz-full-screen .center-column,
:-moz-full-screen .right-column,
:-ms-fullscreen .left-column,
:-ms-fullscreen .center-column,
:-ms-fullscreen .right-column {
    height: calc(100vh - 100px) !important;
}

/* 全屏模式下的stats-grid优化 */
:fullscreen .stats-grid,
:-webkit-full-screen .stats-grid,
:-moz-full-screen .stats-grid,
:-ms-fullscreen .stats-grid {
    height: calc(100% - 80px) !important;
    grid-template-rows: repeat(3, 1fr) !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0 !important;
    padding: 20px 0 !important;
    align-content: stretch !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    overflow: hidden !important;
    display: grid !important;
}

/* 全屏模式下的stat-item优化 */
:fullscreen .stat-item,
:-webkit-full-screen .stat-item,
:-moz-full-screen .stat-item,
:-ms-fullscreen .stat-item {
    height: 100% !important;
    min-height: auto !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 15px !important;
    margin: 8px !important;
    border: 1px solid rgba(134, 216, 245, 0.3) !important;
    border-radius: 8px !important;
    background: rgba(7, 62, 119, 0.4) !important;
}

/* 全屏模式下的widget优化 */
:fullscreen .widget,
:-webkit-full-screen .widget,
:-moz-full-screen .widget,
:-ms-fullscreen .widget {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}

/* 全屏模式下的图标优化 */
:fullscreen .stat-icon,
:-webkit-full-screen .stat-icon,
:-moz-full-screen .stat-icon,
:-ms-fullscreen .stat-icon {
    width: 60px !important;
    height: 65px !important;
    margin-right: 15px !important;
    flex-shrink: 0 !important;
}

/* 全屏模式下的数据值优化 */
:fullscreen .data-value .number,
:-webkit-full-screen .data-value .number,
:-moz-full-screen .data-value .number,
:-ms-fullscreen .data-value .number {
    font-size: 32px !important;
    line-height: 1.2 !important;
}

/* 全屏模式下的数据标题优化 */
:fullscreen .data-title,
:-webkit-full-screen .data-title,
:-moz-full-screen .data-title,
:-ms-fullscreen .data-title {
    font-size: 16px !important;
    margin-top: 5px !important;
}

/* 全屏模式下的widget标题优化 */
:fullscreen .widget-title,
:-webkit-full-screen .widget-title,
:-moz-full-screen .widget-title,
:-ms-fullscreen .widget-title {
    font-size: 20px !important;
    left: 40px !important;
    top: 5px !important;
}

/* Responsive design */
@media (max-width: 1200px) {
    .dashboard {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
        height: auto;
        min-height: 100vh;
    }

    .left-column, .center-column, .right-column {
        height: auto;
        max-height: none;
    }
}

/* 数据展示区域样式 */
.data-display {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 20px;
    gap: 40px;
}

.total-events {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width:289px;
    height:200px;
    background:url(images/icon-bg.png);
    background-size: 100% 100%;
}

/* 事件总数区域的粒子效果 */
#totalEventsParticles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.total-number {
    font-size: 50px;
    font-weight: bold;
    font-family: 'LCdd';
    color:transparent;
    background: linear-gradient(to bottom, #f0f5fb 0%,#d0edf8 50%,#86d8f5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing:3px;
    z-index: 2;
    position: relative;
    transition: all 0.3s ease;
    animation: totalNumberPulse 3s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(134, 216, 245, 0.6);
}

.total-number:hover {
    transform: scale(1.05);
    animation-duration: 1s;
}

.total-label {
    font-size: 16px;
    font-family: "simhei";
    color: #ffffff;
    margin-top: 10px;
    z-index: 2;
    position: relative;
}

.data-grid {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 50px;
}

.data-row {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    line-height: 50px;
}

.data-item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    position: relative;
}

.data-icon {
    width: 70px;
    height: 70px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    animation: iconFloat 4s ease-in-out infinite;
    transform-origin: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 优化的图标浮动动画 */
@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
        filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(134, 216, 245, 0.3));
    }
    25% {
        transform: translateY(-3px) rotate(1deg) scale(1.02);
        filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(134, 216, 245, 0.5));
    }
    50% {
        transform: translateY(-5px) rotate(0deg) scale(1.05);
        filter: brightness(0) invert(1) drop-shadow(0 0 12px rgba(134, 216, 245, 0.7));
    }
    75% {
        transform: translateY(-3px) rotate(-1deg) scale(1.02);
        filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(134, 216, 245, 0.5));
    }
}

/* 为每个图标添加不同的动画延迟 */
.data-item:nth-child(1) .data-icon {
    animation-delay: 0s;
}

.data-item:nth-child(2) .data-icon {
    animation-delay: 0.5s;
}

.data-item:nth-child(3) .data-icon {
    animation-delay: 1s;
}

.data-row:nth-child(2) .data-item:nth-child(1) .data-icon {
    animation-delay: 1.5s;
}

.data-row:nth-child(2) .data-item:nth-child(2) .data-icon {
    animation-delay: 2s;
}

.data-row:nth-child(2) .data-item:nth-child(3) .data-icon {
    animation-delay: 2.5s;
}

/* 悬停时增强浮动效果 */
.data-icon:hover {
    animation: iconFloatIntense 1s ease-in-out infinite;
    transform: scale(1.1);
}

/* 悬停时的强化浮动动画 */
@keyframes iconFloatIntense {
    0%, 100% {
        transform: translateY(-2px) rotate(0deg) scale(1.1);
        filter: brightness(0) invert(1) drop-shadow(0 0 15px rgba(134, 216, 245, 0.8));
    }
    25% {
        transform: translateY(-8px) rotate(2deg) scale(1.15);
        filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(134, 216, 245, 1));
    }
    50% {
        transform: translateY(-12px) rotate(0deg) scale(1.2);
        filter: brightness(0) invert(1) drop-shadow(0 0 25px rgba(134, 216, 245, 1));
    }
    75% {
        transform: translateY(-8px) rotate(-2deg) scale(1.15);
        filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(134, 216, 245, 1));
    }
}

/* 第3个图标（社区办结）的特殊浮动效果 */
.data-row:first-child .data-item:nth-child(3) .data-icon {
    animation: iconFloat 4s ease-in-out infinite;
    transform-origin: center;
}

/* 悬停时增强浮动效果 */
.data-row:first-child .data-item:nth-child(3) .data-icon:hover {
    animation: iconFloatIntense 1s ease-in-out infinite;
    transform: scale(1.1);
}



.data-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.data-title {
    font-size: 16px;
    font-family: 'microsoft yahei';
    font-weight:bold;
    color: #0cc7c7;
    opacity: 0.9;
}

.data-value {
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(179, 227, 243, 0.5);
    animation: numberGlow 2s ease-in-out infinite alternate;
}

.data-value .number {
    font-size: 26px;
    font-family: 'LCdd';
    font-weight: bold;
    color: #b3e3f3;
    letter-spacing: 3px;
    transition: all 0.3s ease;
    animation: numberGlow 2s ease-in-out infinite alternate;
}

.data-value:hover .number {
    transform: scale(1.1);
}

.data-value span {
    font-size: 16px;
    color: #ffffff;
    opacity: 0.8;
    margin-left:10px;
}

/* 优化的数字发光动画 */
@keyframes numberGlow {
    0% {
        text-shadow:
            0 0 5px rgba(179, 227, 243, 0.3),
            0 0 10px rgba(179, 227, 243, 0.2);
        transform: scale(1);
    }
    50% {
        text-shadow:
            0 0 10px rgba(179, 227, 243, 0.6),
            0 0 20px rgba(179, 227, 243, 0.4),
            0 0 30px rgba(179, 227, 243, 0.2);
        transform: scale(1.02);
    }
    100% {
        text-shadow:
            0 0 15px rgba(179, 227, 243, 0.8),
            0 0 25px rgba(179, 227, 243, 0.5),
            0 0 35px rgba(179, 227, 243, 0.3);
        transform: scale(1);
    }
}

@keyframes totalNumberPulse {
    0%, 100% {
        transform: scale(1);
        text-shadow:
            0 0 15px rgba(134, 216, 245, 0.4),
            0 0 25px rgba(134, 216, 245, 0.2);
    }
    25% {
        transform: scale(1.01);
        text-shadow:
            0 0 20px rgba(134, 216, 245, 0.6),
            0 0 35px rgba(134, 216, 245, 0.3),
            0 0 45px rgba(134, 216, 245, 0.1);
    }
    50% {
        transform: scale(1.03);
        text-shadow:
            0 0 25px rgba(134, 216, 245, 0.8),
            0 0 40px rgba(134, 216, 245, 0.5),
            0 0 55px rgba(134, 216, 245, 0.2);
    }
    75% {
        transform: scale(1.01);
        text-shadow:
            0 0 20px rgba(134, 216, 245, 0.6),
            0 0 35px rgba(134, 216, 245, 0.3),
            0 0 45px rgba(134, 216, 245, 0.1);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 为数字添加入场动画 */
.data-value, .total-number {
    animation-delay: 0.5s;
    animation-fill-mode: both;
}

/* 统计项的交错动画 */
.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }
.stat-item:nth-child(5) { animation-delay: 0.5s; }
.stat-item:nth-child(6) { animation-delay: 0.6s; }
.stat-item:nth-child(7) { animation-delay: 0.7s; }
.stat-item:nth-child(8) { animation-delay: 0.8s; }
.stat-item:nth-child(9) { animation-delay: 0.9s; }

.stat-item:nth-child(1) .data-value { animation-delay: 0.2s; }
.stat-item:nth-child(2) .data-value { animation-delay: 0.3s; }
.stat-item:nth-child(3) .data-value { animation-delay: 0.4s; }
.stat-item:nth-child(4) .data-value { animation-delay: 0.5s; }
.stat-item:nth-child(5) .data-value { animation-delay: 0.6s; }
.stat-item:nth-child(6) .data-value { animation-delay: 0.7s; }
.stat-item:nth-child(7) .data-value { animation-delay: 0.8s; }
.stat-item:nth-child(8) .data-value { animation-delay: 0.9s; }
.stat-item:nth-child(9) .data-value { animation-delay: 1.0s; }

/* 脉冲动画用于数据更新 */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* 卡片入场动画 */
@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromBottom {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 渐变背景动画 */
@keyframes backgroundShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* 边框发光动画 */
@keyframes borderGlow {
    0%, 100% {
        box-shadow:
            0 0 5px rgba(134, 216, 245, 0.3),
            inset 0 0 5px rgba(134, 216, 245, 0.1);
    }
    50% {
        box-shadow:
            0 0 15px rgba(134, 216, 245, 0.6),
            inset 0 0 10px rgba(134, 216, 245, 0.2);
    }
}

/* 加载指示器 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(134, 216, 245, 0.3);
    border-top: 3px solid rgba(134, 216, 245, 1);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* 微交互效果 */
.dashboard * {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 鼠标悬停时的全局效果 */
.dashboard:hover {
    filter: brightness(1.01);
}

/* 为所有可交互元素添加微妙的悬停效果 */
.data-item:hover,
.stat-item:hover,
.widget:hover {
    cursor: pointer;
}

/* 添加点击反馈 */
.data-item:active,
.stat-item:active {
    transform: scale(0.98);
}

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

::-webkit-scrollbar-track {
    background: rgba(134, 216, 245, 0.1);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: rgba(134, 216, 245, 0.5);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(134, 216, 245, 0.8);
}
.logo{
    position: absolute;
    left: 20px;
    z-index: 1111;
}




