/* 全局加载动画样式 */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff; /* 背景色可自定义 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  margin: 0;
  padding: 0;
}

/* 带 logo 的加载动画容器 */
.loader-container {
  position: relative;
  width: 120px; /* 整体大小 */
  height: 120px;
}

/* 外圈旋转动画 */
.loader-ring {
  width: 100%;
  height: 100%;
  border: 4px solid #f0f0f0; /* 外圈底色 */
  border-top: 4px solid #4285f4; /* 外圈旋转色（可自定义） */
  border-radius: 50%;
  animation: spin 1.5s linear infinite;
  box-sizing: border-box;
}

/* 中间的 logo */
.loader-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px; /* logo 大小（根据需要调整） */
  height: 70px;
  /* 确保 logo 居中且不被外圈遮挡 */
  object-fit: contain;
  background: #fff; /* 如果 logo 有透明区域，可加背景色避免穿透 */
  border-radius: 50%; /* 可选：让 logo 背景为圆形 */
  /* padding: 5px; */
}

/* 旋转动画 */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 加载文字 */
.loading-text {
  margin-top: 20px;
  font-size: 18px;
  color: #333; /* 文字颜色 */
  font-weight: 500;
}