/* 电厂采购价格分析平台 - 清新现代企业级 UI */

:root {
  --bg-primary: #f2f7fa;
  --bg-card: #ffffff;
  --bg-subtle: #f6fafd;
  --accent-primary: #0284c7;
  --accent-primary-hover: #0369a1;
  --accent-teal: #0d9488;
  --accent-green: #059669;
  --accent-yellow: #d97706;
  --accent-red: #dc2626;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border: #e2ebf3;
  --border-strong: #cbd8e6;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow: 0 6px 24px rgba(14, 116, 144, 0.06), 0 1px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.12);
  --radius: 14px;
  --transition: 0.18s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
  background: linear-gradient(180deg, #e7f3fa 0%, #f2f7fa 280px, #f6f9fc 100%);
  color: var(--text-primary);
  min-height: 100vh;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── 滚动条 ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }

/* ── 导航栏 ── */
.navbar {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
  position: sticky; top: 0; z-index: 100;
  padding: 0 28px;
  height: 62px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: var(--shadow-sm);
}
.navbar-brand {
  display: flex; align-items: center; gap: 12px;
  font-size: 16px; font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.2px;
}
.navbar-logo-img {
  height: 32px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}
.navbar-divider {
  width: 1px;
  height: 22px;
  background: var(--border-strong);
  display: inline-block;
}
.navbar-brand .title span { color: var(--accent-primary); }
.navbar-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; color: var(--text-secondary);
}
.live-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: 999px;
  background: #ecfdf5; border: 1px solid #a7f3d0;
  color: var(--accent-green); font-weight: 600; font-size: 12px;
}
.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-green);
  display: inline-block;
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ── 主容器 ── */
.main-container { max-width: 1320px; margin: 0 auto; padding: 28px 24px 56px; }

/* ── 搜索区域 ── */
.search-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 40px 32px 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.search-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #0ea5e9, #14b8a6, #10b981);
}
.search-title {
  text-align: center;
  margin-bottom: 26px;
}
.search-title h1 {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.search-title p { color: var(--text-secondary); font-size: 13.5px; }

.search-box {
  display: flex; gap: 10px;
  max-width: 820px; margin: 0 auto 16px;
  align-items: center;
  justify-content: center;
}
.search-input-wrap { flex: 1; position: relative; }
.search-icon {
  position: absolute; left: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted); font-size: 15px; pointer-events: none;
}
.search-input {
  width: 100%; height: 48px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 15px;
  padding: 0 16px 0 44px;
  transition: var(--transition);
  outline: none;
}
.search-input:focus {
  border-color: var(--accent-primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.14);
}
.search-input::placeholder { color: #94a3b8; }

.filter-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 820px;
  margin: 0 auto 18px;
}
.filter-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.select-box {
  height: 38px; padding: 0 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  color: var(--text-primary);
  font-size: 13px;
  cursor: pointer; outline: none;
  min-width: 165px;
  transition: var(--transition);
}
.select-box:focus { border-color: var(--accent-primary); background: #fff; }

.qty-input {
  height: 38px; width: 88px; padding: 0 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  color: var(--text-primary);
  font-size: 13px; text-align: center;
  outline: none; transition: var(--transition);
}
.qty-input:focus { border-color: var(--accent-primary); background: #fff; }
.qty-label { color: var(--text-secondary); font-size: 13px; white-space: nowrap; }

.btn-search {
  height: 48px; padding: 0 28px;
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  border: none; border-radius: 12px;
  color: #fff; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: var(--transition);
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}
.btn-search:hover {
  background: linear-gradient(135deg, #0369a1, #0284c7);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.3);
}
.btn-search:active { transform: translateY(0); }
.btn-search:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* 热搜词 - 严格居中 */
.hot-keywords {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 820px;
  margin: 0 auto;
}
.hot-label { font-size: 12.5px; color: var(--text-muted); font-weight: 500; }
.hot-tag {
  padding: 5px 13px; border-radius: 999px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0369a1; font-size: 12px; font-weight: 500;
  cursor: pointer; transition: var(--transition);
}
.hot-tag:hover {
  background: #e0f2fe;
  border-color: #7dd3fc;
  transform: translateY(-1px);
}

/* ── 加载动画 ── */
.loading-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(242, 247, 250, 0.85);
  z-index: 999;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 18px; backdrop-filter: blur(5px);
}
.loading-overlay.show { display: flex; }
.spinner {
  width: 44px; height: 44px;
  border: 3px solid #dbeafe;
  border-top-color: var(--accent-primary);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { color: var(--text-primary); font-size: 14px; font-weight: 600; }
.loading-platforms { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.platform-chip {
  padding: 4px 12px; border-radius: 999px; font-size: 12px;
  background: #fff; border: 1px solid var(--border);
  color: var(--text-secondary); box-shadow: var(--shadow-sm);
}
.platform-chip.active { border-color: #bae6fd; color: var(--accent-primary); background: #f0f9ff; }

/* ── 结果区域 ── */
#results-section { display: none; }
#results-section.show { display: block; }

.alert-banner {
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.alert-banner.warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #b45309;
}
.alert-banner.info {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0369a1;
}
.alert-banner.success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
}

/* 统计卡片 */
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px; margin-bottom: 20px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.stat-card:hover { border-color: #bae6fd; box-shadow: var(--shadow); }
.stat-label { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; font-weight: 500; }
.stat-value { font-size: 22px; font-weight: 700; color: var(--text-primary); }
.stat-value.green { color: var(--accent-green); }
.stat-value.red { color: var(--accent-red); }
.stat-value.yellow { color: var(--accent-yellow); }
.stat-value.blue { color: var(--accent-primary); }
.stat-unit { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* 标签页 */
.tabs {
  display: flex; gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 5px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}
.tab-btn {
  flex: 1; min-width: 130px; padding: 10px 18px;
  background: transparent; border: none; border-radius: 8px;
  color: var(--text-secondary); font-size: 13.5px; font-weight: 600;
  cursor: pointer; transition: var(--transition);
  white-space: nowrap;
}
.tab-btn:hover { color: var(--text-primary); background: var(--bg-subtle); }
.tab-btn.active {
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  color: #fff;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.22);
}
.tab-content { display: none; }
.tab-content.active { display: block; }

/* 按钮 */
.btn-sm {
  padding: 6px 12px; border-radius: 8px; font-size: 12px; font-weight: 500;
  background: #fff;
  border: 1px solid var(--border-strong);
  color: var(--text-secondary); cursor: pointer;
  transition: var(--transition);
}
.btn-sm:hover { border-color: var(--accent-primary); color: var(--accent-primary); background: #f0f9ff; }

/* 数据表格 */
.table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.table-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
}
.table-title { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.table-actions { display: flex; gap: 8px; }

.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  padding: 11px 16px;
  text-align: left; font-size: 12px; font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  cursor: pointer; user-select: none;
  white-space: nowrap;
}
.data-table th:hover { color: var(--accent-primary); }
.data-table th.sorted-asc::after { content: ' ↑'; color: var(--accent-primary); }
.data-table th.sorted-desc::after { content: ' ↓'; color: var(--accent-primary); }
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px; vertical-align: middle;
  color: var(--text-primary);
}
.data-table tr:hover td { background: #f8fcff; }
.data-table tr:last-child td { border-bottom: none; }

/* 平台标签 */
.platform-badge {
  display: inline-block; padding: 3px 9px;
  border-radius: 6px; font-size: 11.5px; font-weight: 600;
  white-space: nowrap;
}
.badge-1688 { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
.badge-baidu { background: #f0f9ff; color: #0369a1; border: 1px solid #bae6fd; }
.badge-ehsy { background: #f0fdfa; color: #0f766e; border: 1px solid #99f6e4; }
.badge-huicong { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.badge-jd { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.badge-zcm { background: #f5f3ff; color: #6d28d9; border: 1px solid #ddd6fe; }
.badge-sim { background: #fefce8; color: #a16207; border: 1px solid #fde68a; }

.price-cell { font-weight: 700; color: var(--accent-green); font-size: 14px; }
.price-range { font-size: 11px; color: var(--text-muted); font-weight: 400; }

.btn-link {
  color: var(--accent-primary); text-decoration: none; font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: 6px;
  border: 1px solid #bae6fd;
  background: #f0f9ff;
  transition: var(--transition);
  display: inline-block;
}
.btn-link:hover { background: #e0f2fe; }

/* 图表与调价API信息栏 */
.chart-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.chart-header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  margin-bottom: 16px;
}
.chart-title { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.chart-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.time-range-btns { display: flex; gap: 4px; background: var(--bg-subtle); padding: 3px; border-radius: 9px; border: 1px solid var(--border); }
.time-btn {
  padding: 5px 11px; border-radius: 6px; font-size: 12px; font-weight: 500;
  background: transparent; border: none;
  color: var(--text-secondary); cursor: pointer;
  transition: var(--transition);
}
.time-btn.active {
  background: #fff;
  color: var(--accent-primary);
  box-shadow: var(--shadow-sm);
}

.api-metrics-bar {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px; margin-bottom: 16px;
}
.metric-pill {
  background: var(--bg-subtle); border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 14px;
}
.metric-pill-label { font-size: 11.5px; color: var(--text-muted); margin-bottom: 2px; }
.metric-pill-value { font-size: 15px; font-weight: 700; color: var(--text-primary); }

.chart-container { position: relative; height: 340px; }

.chart-analysis {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 10px; padding: 14px 18px;
  font-size: 13px; color: var(--text-secondary);
  line-height: 1.8;
}
.chart-analysis strong { color: var(--text-primary); }

/* 预算分析 */
.budget-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px; margin-bottom: 20px;
}
.budget-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition); position: relative; overflow: hidden;
}
.budget-card:hover { box-shadow: var(--shadow); }
.budget-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
}
.budget-card.conservative::before { background: var(--accent-red); }
.budget-card.recommended::before { background: var(--accent-teal); }
.budget-card.aggressive::before { background: var(--accent-yellow); }

.budget-label { font-size: 12px; color: var(--text-secondary); margin-bottom: 8px; font-weight: 600; }
.budget-unit-price { font-size: 13px; color: var(--text-secondary); margin-bottom: 4px; }
.budget-total { font-size: 28px; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.5px; }
.budget-card.conservative .budget-total { color: var(--accent-red); }
.budget-card.recommended .budget-total { color: var(--accent-teal); }
.budget-card.aggressive .budget-total { color: var(--accent-yellow); }
.budget-desc { font-size: 12px; color: var(--text-muted); line-height: 1.6; }

.trend-info {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.trend-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px; margin-top: 12px;
}
.trend-item {
  background: var(--bg-subtle); border-radius: 10px; padding: 12px;
  text-align: center; border: 1px solid var(--border);
}
.trend-item-label { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.trend-item-value { font-size: 17px; font-weight: 700; color: var(--text-primary); }

.advice-box {
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  border-radius: var(--radius); padding: 16px 18px;
  display: flex; gap: 12px; align-items: flex-start;
}
.advice-icon { font-size: 20px; }
.advice-text { font-size: 13.5px; color: #115e59; line-height: 1.8; }
.advice-text strong { color: #0f766e; }

/* 最近搜索快捷标签 */
.history-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 20px;
  margin-top: 24px;
  box-shadow: var(--shadow-sm);
}
.history-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.section-title { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.history-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.history-tag {
  padding: 5px 14px; border-radius: 999px; font-size: 12px; font-weight: 500;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--text-secondary); cursor: pointer;
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 6px;
}
.history-tag:hover { border-color: #7dd3fc; color: var(--accent-primary); background: #f0f9ff; }
.history-time { font-size: 11px; color: var(--text-muted); }

/* 数量输入区 */
.qty-section {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-bottom: 16px;
  padding: 14px 18px;
  background: var(--bg-card);
  border-radius: var(--radius); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.qty-section label { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.qty-section input {
  width: 100px; padding: 7px 10px;
  background: var(--bg-subtle); border: 1px solid var(--border-strong);
  border-radius: 8px; color: var(--text-primary);
  font-size: 14px; text-align: center; outline: none;
}
.qty-section input:focus { border-color: var(--accent-primary); background: #fff; }
.btn-calc {
  padding: 7px 16px; border-radius: 8px; font-size: 13px; font-weight: 600;
  background: var(--accent-teal); border: none;
  color: #fff; cursor: pointer; transition: var(--transition);
}
.btn-calc:hover { background: #0f766e; }

/* 平台成功/失败状态 */
.platform-status { display: flex; gap: 6px; flex-wrap: wrap; }
.pstatus {
  font-size: 11.5px; padding: 3px 9px; border-radius: 6px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 4px;
}
.pstatus.ok { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.pstatus.empty { background: var(--bg-subtle); color: var(--text-secondary); border: 1px solid var(--border); }
.pstatus.unconfigured { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; cursor: pointer; }
.pstatus.fail { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* API配置弹窗 */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(15, 23, 42, 0.35); z-index: 1000;
  align-items: center; justify-content: center;
  backdrop-filter: blur(4px); padding: 16px;
}
.modal-overlay.show { display: flex; }
.modal-card {
  background: #ffffff; border: 1px solid var(--border);
  border-radius: 16px; width: 100%; max-width: 580px;
  max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg);
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px; border-bottom: 1px solid var(--border);
}
.modal-header h3 { font-size: 16px; font-weight: 700; color: var(--text-primary); }
.modal-close {
  background: transparent; border: none; color: var(--text-muted);
  font-size: 22px; cursor: pointer; line-height: 1;
}
.modal-close:hover { color: var(--text-primary); }
.modal-body { padding: 20px 22px; }
.api-group {
  background: var(--bg-subtle); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 16px; margin-bottom: 14px;
}
.api-group-title { font-size: 13.5px; font-weight: 600; margin-bottom: 6px; display: flex; align-items: center; justify-content: space-between; }
.api-group-desc { font-size: 12px; color: var(--text-secondary); margin-bottom: 10px; line-height: 1.6; }
.form-row { margin-bottom: 10px; }
.form-row label { display: block; font-size: 12px; font-weight: 500; color: var(--text-secondary); margin-bottom: 4px; }
.form-input {
  width: 100%; padding: 8px 12px; border-radius: 8px;
  background: #ffffff; border: 1px solid var(--border-strong);
  color: var(--text-primary); font-size: 13px; outline: none;
}
.form-input:focus { border-color: var(--accent-primary); box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12); }
.modal-footer {
  padding: 14px 22px; border-top: 1px solid var(--border);
  display: flex; justify-content: flex-end; gap: 10px; background: var(--bg-subtle);
}

/* 未查到公开报价时的专业空状态卡片 */
.no-data-card {
  background: var(--bg-card);
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius);
  padding: 38px 28px;
  text-align: center;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.no-data-icon {
  font-size: 38px;
  margin-bottom: 12px;
}
.no-data-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.no-data-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 18px;
  line-height: 1.7;
}
.no-data-tips {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 10px;
  max-width: 600px;
  margin: 0 auto;
  padding: 16px 20px;
  text-align: left;
}
.no-data-tips .tip-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.no-data-tips ul {
  padding-left: 18px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 12.5px;
  line-height: 1.85;
}

.text-green { color: var(--accent-green); }
.text-red { color: var(--accent-red); }
.text-yellow { color: var(--accent-yellow); }
.text-cyan { color: var(--accent-primary); }
.text-muted { color: var(--text-muted); }
.divider { border: none; border-top: 1px solid var(--border); margin: 20px 0; }

@media (max-width: 768px) {
  .main-container { padding: 14px; }
  .navbar { padding: 0 14px; }
  .search-section { padding: 24px 16px; }
  .search-box { flex-direction: column; }
  .btn-search { width: 100%; }
  .navbar-brand .title { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .budget-grid { grid-template-columns: 1fr; }
  .data-table th, .data-table td { padding: 9px 10px; font-size: 12px; }
}
