/* Loading样式 - 兼容IE6+ */
.loading-mask {
  position: fixed;
  _position: absolute;
  /* IE6兼容 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  filter: alpha(opacity=50);
  /* IE6-8透明度 */
  opacity: 0.5;
  z-index: 9998;
  display: none;
  /* 关键修复：给IE6添加hasLayout属性 */
  _zoom: 1;
  _background: #000;
  _filter: alpha(opacity=50) !important;
}

.loading-box {
  position: fixed;
  _position: absolute;
  /* IE6兼容 */
  top: 50%;
  left: 50%;
  margin-top: -50px;
  margin-left: -50px;
  width: 100px;
  height: 100px;
  background: #fff;
  border-radius: 8px;
  text-align: center;
  line-height: 100px;
  z-index: 9999;
  display: none;
  _zoom: 1;
  /* IE6 hasLayout */
}

/* IE6 position:fixed 兼容处理 */
* html .loading-mask {
  position: absolute;
  top: expression(document.documentElement.scrollTop + "px");
  left: expression(document.documentElement.scrollLeft + "px");
  height: expression(document.documentElement.clientHeight + "px");
  width: expression(document.documentElement.clientWidth + "px");
  /* IE6透明度强制生效 */
  background: #000;
  filter: alpha(opacity=50);
}

* html .loading-box {
  position: absolute;
  top: expression(document.documentElement.scrollTop + (document.documentElement.clientHeight/2 - 50) + "px");
  left: expression(document.documentElement.scrollLeft + (document.documentElement.clientWidth/2 - 50) + "px");
}

/* 加载动画 - 简单文字版（兼容所有浏览器） */
.loading-text {
  font-size: 14px;
  color: #333;
  display: inline-block;
  animation: loading 1.5s infinite;
  /* IE不支持CSS动画，会显示静态文字 */
}