/* style.css - 现代简约明亮风格（Clean Light Theme）政务写实质感 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@600;700;900&family=Noto+Sans+SC:wght@400;500;600;700&display=swap');

:root {
  --bg-main: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-card-subtle: #F1F5F9;
  --border-color: #E2E8F0;
  --border-strong: #CBD5E1;
  --accent-red: #B91C1C;
  --accent-red-light: #FEF2F2;
  --accent-blue: #1D4ED8;
  --accent-gold: #B45309;
  --text-main: #0F172A;
  --text-sub: #475569;
  --text-muted: #64748B;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
  user-select: none;
}

.font-serif-sc {
  font-family: 'Noto Serif SC', serif;
}

/* 移动端安全边距 */
.safe-area-bottom {
  padding-bottom: env(safe-area-inset-bottom, 12px);
}

/* 简约卡片 */
.clean-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04), 0 1px 2px -1px rgba(0, 0, 0, 0.04);
}

.clean-card-interactive {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
  transition: all 0.15s ease-in-out;
}

.clean-card-interactive:active {
  transform: scale(0.985);
  background: #F8FAFC;
  border-color: #CBD5E1;
}

/* 触控反馈 */
.btn-touch {
  transition: all 0.12s ease;
}
.btn-touch:active {
  transform: scale(0.97);
  filter: brightness(0.95);
}

/* 政务印章标签 */
.seal-tag {
  border: 1.5px solid var(--accent-red);
  color: var(--accent-red);
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
  border-radius: 3px;
  padding: 1px 5px;
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.5px;
}

/* 顶部与底部导航栏 */
.header-glass {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #E2E8F0;
}

.nav-glass {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid #E2E8F0;
}

.tab-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.tab-bar-item.active {
  color: var(--accent-red);
  font-weight: 700;
}

/* 弹窗遮罩 */
.modal-overlay {
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}
