/* Site header/banner styles */
.site-header{
  display:flex;
  align-items:center;
  padding:12px 0;
  background:#0f1720;
  color:#fff;
  box-shadow:0 1px 4px rgba(0,0,0,.3);
}
.banner-inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 20px;
}
.header-left{ display:flex; align-items:center; gap:10px; }
.site-title-line1{ font-weight:700; font-size:14px; }
.site-title-line2{ font-size:12px; opacity:0.9; }
.header-right{ display:flex; gap:8px; }
.nav-tab{ color:#cfd6df; padding:8px 12px; border-radius:6px; background:transparent; text-decoration:none; }
.nav-tab:hover{ background:#1f6fff22; color:#fff; }

/* Active tab visual (will be added by client-side when/if needed) */
.nav-tab.active{ background:#1f6fff55; color:#fff; }

/* Make main content slightly padded */
body {
  background-color: #1d1f21;
  color: #1d1f21;
  margin: 0;
}

main#page-content{ 
  padding:12px 16px; 
  background-color: #1d1f21;
  color: #1d1f21;
}

/* Summary Page Styles */
.summary-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background-color: #1d1f21;
  color: #1d1f21;
}

.page-header {
  text-align: center;
  margin-bottom: 30px;
  padding: 20px 0;
  border-bottom: 2px solid #404040;
}

.page-title {
  color: #ffffff;
  font-size: 2.2em;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-subtitle {
  color: #cccccc;
  font-size: 1.1em;
  margin: 0;
  font-style: italic;
}

.metrics-row {
  margin-bottom: 30px;
}

.metric-card {
  background: linear-gradient(135deg, #0f2658 0%, #193666 100%);
  color: white;
  padding: 25px 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  transition: transform 0.2s ease;
  height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.metric-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.metric-value {
  font-size: 2.5em;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: #fff;
  line-height: 1;
}

.metric-label {
  font-size: 0.95em;
  margin: 0;
  opacity: 0.9;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.charts-row {
  margin-bottom: 30px;
}

.chart-title {
  color: #ffffff;
  font-size: 1.3em;
  margin-bottom: 15px;
  font-weight: 600;
  border-left: 4px solid #3b82f6;
  padding-left: 15px;
}

.placeholder-text {
  color: #cccccc;
  font-style: italic;
  text-align: center;
  padding: 40px 20px;
  background: #2a2a2a;
  border-radius: 8px;
  border: 2px dashed #555555;
}

.table-section {
  margin-bottom: 30px;
  background: #2a2a2a;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  color: #ffffff;
}

.download-section {
  background: #2a2a2a;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  border: 1px solid #404040;
  color: #ffffff;
}

.download-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.download-btn {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1em;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(59, 130, 246, 0.3);
}

.download-btn:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.5);
}

/* Responsive design */
@media (max-width: 768px) {
  .summary-page {
    padding: 15px;
  }
  
  .page-title {
    font-size: 1.8em;
  }
  
  .metric-card {
    margin-bottom: 15px;
  }
  
  .metric-value {
    font-size: 2em;
  }
  
  .download-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .download-btn {
    width: 100%;
    max-width: 280px;
  }
}
