/* 全局通用样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  height: 100%;
}

/* 强制全屏三色渐变背景，固定不滚动 */
body {
  background: linear-gradient(180deg, #D7E3F8 0%, #FFFFFF 50%, #FFF8F0 100%) !important;
  background-attachment: fixed !important;
  min-height: 100vh !important;
  overflow-x: hidden;
}

/* 核心布局容器 */
.content {
  position: relative;
  min-height: calc(100vh - 160px); /* 页眉80px + 页脚80px */
  padding: 0 16px;
  overflow-y: auto;
}

.content-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background: #fff;
  border-radius: 32px !important; /* 强制32px圆角 */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  height: 530px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* 通用工具类 */
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 清除浮动 */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}