* {
  margin: 0;
  padding: 0;
}

body,
html,
#app {
  width: 100%;
  height: 100%;
}

.loading-screen {
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 状态容器通用样式 */
.state-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* 加载中状态 */
.pending .spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #f0f3ff;
  border-top-color: #409eff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
