/* v6.0.004 (老板 09-15): 头部共用 CSS (grid + curves 共用)
   从 common.css 抽出, 源出一处, 两页头部字号 / Tab / userLink / loginOverlay 永远一致
   对应模板: templates/_header.html (由 site_config.render_header 渲染)
   文件: /opt/etf/app/static/css/_header.css
*/

/* H1 标题 */
h1 { color: #2563eb; margin: 0; }

/* 页面 Tab 切换 (v5.7.16+) */
.page-tabs { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.page-tabs-inner { display: flex; border-bottom: 2px solid #e5e7eb; }
.page-tab {
  background: transparent; color: #6b7280; padding: 10px 18px;
  border: none; border-bottom: 3px solid transparent;
  cursor: pointer; font-size: 15px; font-weight: 500;
  margin: 0; margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.page-tab:hover { background: transparent; color: #374151; }
.page-tab.active { color: #2563eb; border-bottom-color: #2563eb; font-weight: 600; }
#dateLabelText { font-size: 13px; color: #374151; white-space: nowrap; padding-bottom: 8px; }

/* 用户头像 (右上角) */
#userLink { display: block; align-items: center; gap: 6px; font-size: 13px; color: #374151; text-decoration: none; }
#userAvatar { width: 24px; height: 24px; border-radius: 50%; }
#userNick { color: #374151; }

/* 登录覆盖页 */
#loginOverlay { display: none; position: fixed; inset: 0; background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); z-index: 9999; padding: 40px; align-items: center; justify-content: center; flex-direction: column; text-align: center; }
#loginOverlay h1 { color: #2563eb; margin: 0 0 12px; }
#loginOverlay p { color: #6b7280; margin: 0 0 24px; font-size: 16px; }
#qrcode { margin: 0 auto 24px; display: inline-block; padding: 16px; background: white; border: 1px solid #e5e7eb; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
#qrcode img { display: block; width: 220px; height: 220px; }
#loginHintDesktop { color: #6b7280; }
#wxLoginBtn { display: none; padding: 12px 32px; background: #07c160; color: white; border-radius: 999px; text-decoration: none; font-size: 16px; font-weight: 500; margin-top: 16px; }
#scanHint { margin-top: 16px; color: #9ca3af; font-size: 12px; line-height: 1.6; }
#scanHint button { color: #2563eb; background: none; border: none; padding: 0; font-weight: 600; text-decoration: underline; cursor: pointer; font-size: 12px; font-family: inherit; }
