/* =====================================================================
   Loading Overlay 样式（加载态与反馈完善）
   2026-10-30：全局加载遮罩 + spinner + progress bar
   ===================================================================== */

.geo-loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(35, 47, 62, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  backdrop-filter: blur(1px);
}

.geo-loading-overlay.show {
  display: flex;
}

.geo-loading-content {
  background: var(--aws-surface);
  border-radius: 10px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(16, 24, 40, 0.28);
  min-width: 280px;
  max-width: 400px;
}

/* Spinner 动画 */
.geo-spinner {
  display: inline-block;
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border: 3px solid rgba(16, 24, 40, 0.12);
  border-top-color: var(--aws-orange);
  border-radius: 50%;
  animation: geo-spin 0.8s linear infinite;
}

@keyframes geo-spin {
  to {
    transform: rotate(360deg);
  }
}

/* 加载文本 */
.geo-loading-text {
  font-size: 14px;
  color: var(--aws-text);
  font-weight: 600;
  margin-bottom: 12px;
}

.geo-loading-sub {
  font-size: 12px;
  color: var(--aws-text-secondary);
  margin-bottom: 14px;
  line-height: 1.5;
}

/* Progress bar */
.geo-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(16, 24, 40, 0.08);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 12px;
}

.geo-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--aws-orange), var(--aws-orange-hover));
  border-radius: 3px;
  width: 0%;
  transition: width 0.3s ease;
  box-shadow: 0 0 8px rgba(255, 153, 0, 0.4);
}

/* 进度百分比文本 */
.geo-progress-text {
  font-size: 11px;
  color: var(--aws-text-secondary);
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}
