
#app {
  min-height: 100vh;
  background: #f1f5f9;
  padding-bottom: 1.33333rem;
}
/* 登录等全屏页面不需要底部padding和灰色背景 */
#app.no-tabbar {
  padding-bottom: 0;
  background: transparent;
}

* {
  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: 0.37333rem;
  color: var(--text-color);
  background: var(--bg-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

/* 主题色 */
:root {
  --primary-color: #0ea5e9;
  --primary-dark: #0284c7;
  --primary-light: #e0f2fe;
  --accent-color: #f59e0b;
  --accent-light: #fef3c7;
  --success-color: #10b981;
  --success-light: #d1fae5;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --danger-light: #fee2e2;
  --text-color: #1e293b;
  --text-secondary: #64748b;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;
  --bg-color: #f1f5f9;
  --card-shadow: 0 0.05333rem 0.32rem rgba(14, 165, 233, 0.08);
}

/* 通用类 */
.page-container {
  min-height: 100vh;
  background: #f5f7fa;
}

.card {
  background: #fff;
  border-radius: 0.32rem;
  margin: 0.32rem;
  padding: 0.42667rem;
  box-shadow: var(--card-shadow);
  border: 0.02667rem solid rgba(14, 165, 233, 0.06);
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.text-primary {
  color: var(--primary-color);
}

.text-success {
  color: var(--success-color);
}

.text-warning {
  color: var(--warning-color);
}

.text-danger {
  color: var(--danger-color);
}

.text-secondary {
  color: var(--text-secondary);
}

.text-light {
  color: var(--text-light);
}

.text-center {
  text-align: center;
}

.mt-10 {
  margin-top: 0.26667rem;
}

.mt-20 {
  margin-top: 0.53333rem;
}

.mb-10 {
  margin-bottom: 0.26667rem;
}

.mb-20 {
  margin-bottom: 0.53333rem;
}

.p-10 {
  padding: 0.26667rem;
}

.p-20 {
  padding: 0.53333rem;
}

/* 按钮样式 */
.btn-primary {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: #fff;
  border: none;
  border-radius: 0.58667rem;
  padding: 0.32rem 0.64rem;
  font-size: 0.42667rem;
  cursor: pointer;
  box-shadow: 0 0.10667rem 0.37333rem rgba(14, 165, 233, 0.35);
  transition: all 0.3s ease;
}

.btn-primary:active {
  opacity: 0.9;
  transform: scale(0.98);
}

/* 渐变背景 */
.gradient-bg {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 50%, #0369a1 100%);
}

/* 空状态 */
.empty-state {
  padding: 1.6rem 0.53333rem;
  text-align: center;
  color: var(--text-light);
}

.empty-state img {
  width: 3.2rem;
  margin-bottom: 0.42667rem;
}

/* 页面通用背景 */
.page-container {
  min-height: 100vh;
  background: var(--bg-color);
}

/* 装饰性圆点 */
.gradient-bg::before {
  content: '';
  position: absolute;
  top: -0.8rem;
  right: -0.8rem;
  width: 3.2rem;
  height: 3.2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.gradient-bg::after {
  content: '';
  position: absolute;
  bottom: -0.53333rem;
  left: 0.53333rem;
  width: 1.6rem;
  height: 1.6rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.gradient-bg {
  position: relative;
  overflow: hidden;
}

