body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}
.dashboard-container {
    display: flex;
    justify-content: space-around;
    width: 100%;
}

.dashboard {
    width: 45%;
    /* 根据需要调整宽度 */
    height: 400px;
    margin: 10px;
}

.copyright {
    text-align: center;
    padding: 10px;
    margin-top: 30px;
    background-color: rgb(28, 165, 219);
    /* 设置背景颜色为蓝色 */
    color: white;
    /* 设置文字颜色为白色 */
    position: fixed;
    bottom: 0px;
    height: 80px;
    width: 100%;
    font-size: 40px;
    text-align: center;
}

.ageGroupChart {
    width: 95%;
    /* 根据需要调整宽度 */
    height: 400px;
    margin: 10px;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.2);
    /* 半透明背景 */
    border: 1px solid rgba(22, 197, 197, 0.3);
    /* 半透明边框 */
    border-radius: 10px;
    /* 圆角 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /* 阴影增加深度 */
    backdrop-filter: blur(10px);
    /* 背景模糊效果 */
    padding: 10px;
    margin-right: 10px;
    display: inline-block;
    vertical-align: top;
    white-space: nowrap;
    font-size: 30px;
    color: rgba(6, 188, 233, 0.45);
    /* 文字颜色 */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    /* 文字阴影 */
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    transition: background-color 0.5s ease;
    /* 背景颜色变化时的过渡效果 */
}

li {
    float: left;
    transition: background-color 0.5s ease;
    /* 背景颜色变化时的过渡效果 */
}

.element:hover {
    /* 鼠标悬停时的背景颜色 */
    background-color: #3498db; /* 蓝色 */
  }
a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    transition: background-color 0.5s ease;
    /* 背景颜色变化时的过渡效果 */
}

a:hover {
    background-color: rgb(24, 144, 194);
    /* 鼠标悬停时的背景颜色 */
}
/* 定义闪烁动画 */
@keyframes blinker {
    50% {
      border-color: transparent;
    }
  }
  
  /* 应用到收入信息容器 */
  .glass-effect {
    border: 5px solid rgba(21, 208, 233, 0.57); /* 设置边框 */
    animation: blinker 1.5s linear infinite; /* 应用动画 */
    display: inline-block; /* 使边框围绕元素 */
    margin: 10px; /* 添加一些外边距 */
    padding: 10px; /* 添加一些内边距 */
    /* 其他样式保持不变 */
  }
  .logo {
    position: absolute;
    width: 800px;
    height: 800px;
    border: 1px solid black;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center; /* 垂直居中 */
    justify-content: center; /* 水平居中 */
  }

  .logo img {
    width: 100%;
  }

  /* 近效期预警样式 */
  .reagent-item.expiry-warning {
    background-color: #fff3cd !important;
    border: 2px solid #ffeeba !important;
  }
  .reagent-item.expired {
    background-color: #f8d7da !important;
    border: 2px solid #f5c6cb !important;
  }
  .buiding {
    margin-top: 50px; /* 设置与上方 .logo 容器的距离 */
    /* 其他样式，例如宽度、高度、边框等 */
  }
  /* From Uiverse.io by doniaskima */ 
.loader {
  width: fit-content;
  font-weight: bold;
  font-family: monospace;
  font-size: 30px;
  background: radial-gradient(circle closest-side,#000 94%,#0000) right/calc(200% - 1em) 100%;
  animation: l24 1s infinite alternate linear;
}

.loader::before {
  content: "建设中……";
  line-height: 1em;
  color: #0000;
  background: inherit;
  background-image: radial-gradient(circle closest-side,#fff 94%,#000);
  -webkit-background-clip: text;
  background-clip: text;
}

@keyframes l24 {
  100% {
    background-position: left
  }
}

@media (max-width: 768px) {
    .glass-effect {
        font-size: 14px;
        padding: 8px;
    }
    
    .dashboard {
        margin-bottom: 15px;
    }
    
    .ageGroupChart {
        height: 250px !important;
    }
}