/* 政府风格全局优化 */

/* 字体优化 */
* {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 标题优化 */
h1, h2, h3 {
  font-weight: 700 !important;
  letter-spacing: 1px !important;
}

/* ========== 图标优化 - 统一加大 ========== */

/* Material Design Icons - 所有图标加大 */
[class*="i-mdi-"] {
  font-size: 1.5em !important;
  line-height: 1 !important;
}

/* 具体图标尺寸优化 */
.i-mdi-account-switch-outline,
.i-mdi-crown-outline,
.i-mdi-magnify,
.i-mdi-book-open-page-variant-outline,
.i-mdi-download-outline {
  font-size: 2em !important;
}

.i-mdi-account-check,
.i-mdi-cart-check,
.i-mdi-map-marker-check,
.i-mdi-swap-horizontal-circle-outline,
.i-mdi-bell-ring {
  font-size: 1.75em !important;
}

.i-mdi-arrow-right,
.i-mdi-chevron-right,
.i-mdi-chevron-down {
  font-size: 1.5em !important;
}

.i-mdi-account,
.i-mdi-file-document-outline,
.i-mdi-receipt,
.i-mdi-headset,
.i-mdi-store-outline,
.i-mdi-wechat,
.i-mdi-check {
  font-size: 1.75em !important;
}

/* 图标容器优化 - 配合大图标 */
[class*="w-14"] {
  width: 4rem !important;
}
[class*="h-14"] {
  height: 4rem !important;
}
[class*="w-16"] {
  width: 5rem !important;
}
[class*="h-16"] {
  height: 5rem !important;
}
[class*="w-24"] {
  width: 7rem !important;
}
[class*="h-24"] {
  height: 7rem !important;
}

/* ========== 主色改为中国红 ========== */
.text-primary,
.taro-text-primary {
  color: #c53030 !important;
}

.bg-primary,
.taro-bg-primary {
  background-color: #c53030 !important;
}

.bg-primary\/10 {
  background-color: rgba(197, 48, 48, 0.1) !important;
}

.border-primary {
  border-color: #c53030 !important;
}

/* ========== 金色保持 ========== */
.text-gold {
  color: #d69e2e !important;
}

.bg-gold {
  background-color: #d69e2e !important;
}

.bg-gold\/10 {
  background-color: rgba(214, 158, 46, 0.1) !important;
}

/* ========== 渐变优化 ========== */
.bg-gradient-primary {
  background: linear-gradient(135deg, #c53030 0%, #9b2c2c 100%) !important;
}

.bg-gradient-hero {
  background: linear-gradient(160deg, #1a365d 0%, #2c5282 50%, #1a365d 100%) !important;
}

.bg-gradient-gold {
  background: linear-gradient(135deg, #d69e2e 0%, #b7791f 100%) !important;
}

/* ========== 卡片方正 ========== */
.taro-view,
[class*="rounded-2xl"] {
  border-radius: 0.5rem !important;
}

[class*="rounded-xl"] {
  border-radius: 0.375rem !important;
}

[class*="rounded-3xl"] {
  border-radius: 0.75rem !important;
}

/* ========== 按钮方正 ========== */
button,
.taro-button,
[class*="rounded-xl"] {
  border-radius: 0.25rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
}

/* ========== 输入框方正 ========== */
input,
textarea,
.taro-input {
  border-radius: 0.25rem !important;
  border: 1px solid #e2e8f0 !important;
  font-size: 16px !important;
}

/* ========== 阴影优化 ========== */
.shadow-card {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

.shadow-primary {
  box-shadow: 0 4px 12px rgba(197, 48, 48, 0.2) !important;
}

/* ========== 背景色 ========== */
.bg-background {
  background-color: #f7fafc !important;
}

.bg-card {
  background-color: #ffffff !important;
}

.bg-muted {
  background-color: #edf2f7 !important;
}

/* ========== 文字颜色 ========== */
.text-foreground {
  color: #1a202c !important;
}

.text-muted-foreground {
  color: #718096 !important;
}

/* ========== 间距优化 ========== */
.gap-2 { gap: 0.75rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.25rem !important; }

/* ========== 字号优化 ========== */
.text-4xl { font-size: 2.5rem !important; }
.text-3xl { font-size: 2rem !important; }
.text-2xl { font-size: 1.5rem !important; }
.text-xl { font-size: 1.25rem !important; }
.text-lg { font-size: 1.125rem !important; }
