/* Amy SteelInsights Report Theme */
:root {
  --bg: #0a121f;
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.08);
  --accent: #2F80ED;
  --text: #e0e0e0;
  --text-strong: #ffffff;
  --text-muted: #a0aec0;
  --radius: 12px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.75;
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 24px;
  -webkit-font-smoothing: antialiased;
}

/* ===== 报告表头 – 添加背景图片 ===== */
.report-header {
  text-align: center;
  padding: 60px 24px 30px;          /* 增加内边距让文字不贴边 */
  margin-bottom: 30px;
  border-bottom: 2px solid var(--accent);
  
  /* 背景图片设置 */
  background-image: url('/reports/bannar.png');   /* 请根据实际文件名调整扩展名 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  border-radius: 8px 8px 0 0;       /* 可选：顶部圆角 */
}

/* 添加半透明遮罩提高文字可读性（可选） */
.report-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 31, 0.65);  /* 深色半透明遮罩，可根据图片亮度调整 */
  border-radius: inherit;
  z-index: 1;
}

/* 让文字在遮罩之上 */
.report-header .brand,
.report-header .title,
.report-header .date {
  position: relative;
  z-index: 2;
}

.report-header .brand {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 6px;
}

.report-header .title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-strong);
  margin: 0;
  line-height: 1.3;
}

.report-header .date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* 其余样式保持不变 */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-strong);
  font-weight: 700;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

h2 {
  font-size: 1.5rem;
  border-left: 4px solid var(--accent);
  padding-left: 12px;
}

h3 { font-size: 1.2rem; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

strong { color: var(--text-strong); font-weight: 600; }

p { margin: 0 0 1em; }

blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin: 24px 0;
  color: var(--text-muted);
  font-style: italic;
  background: rgba(47,128,237,0.05);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

ul, ol { padding-left: 24px; margin: 12px 0; }
li { margin-bottom: 8px; }

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
  backdrop-filter: blur(10px);
}

.card.info { border-left: 4px solid var(--accent); }
.card.warning { border-left: 4px solid #FF9800; }
.card.alert { border-left: 4px solid #EA4335; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
}

th {
  background: rgba(47,128,237,0.2);
  color: var(--text-strong);
  font-weight: 600;
  text-align: left;
  padding: 12px 16px;
  font-size: 0.9rem;
}

td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--card-border);
  color: var(--text);
}

tr:last-child td { border-bottom: none; }

.report-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--card-border);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.report-footer .footer-brand {
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.report-footer a { color: var(--accent); }