/* Scan Results page styles */

.report { max-width: 800px; margin: 0 auto; }

.report-header {
  padding: 6rem 0 3rem;
  text-align: center;
}
.report-date {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.report-header h1 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.report-intro {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}

/* Summary table */
.summary-section { padding: 3rem 0; }
.summary-section h2 { margin-bottom: 0.75rem; }
.summary-note {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
.summary-note strong { color: var(--red); }

.project-desc {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.project-desc code {
  font-family: var(--mono);
  font-size: 0.8125rem;
  background: rgba(255,255,255,0.06);
  padding: 1px 5px;
  border-radius: 3px;
}

.summary-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.summary-table th {
  text-align: left;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}
.summary-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.summary-table tr:hover td {
  background: rgba(255,255,255,0.02);
}
.summary-table .project-name {
  font-weight: 600;
  color: var(--text);
}
.summary-table .num { font-family: var(--mono); font-size: 0.8125rem; }
.num-critical { color: var(--red); font-weight: 700; }
.num-high { color: var(--yellow); font-weight: 600; }
.num-safe { color: var(--green); }
.num-zero { color: var(--text-muted); }

.badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}
.badge-ready { background: rgba(63,185,80,0.15); color: var(--green); }
.badge-not-ready { background: rgba(248,81,73,0.15); color: var(--red); }

/* Results per project */
.results-section { padding: 3rem 0; }
.results-section h2 { margin-bottom: 2rem; }

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.project-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.project-card-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
}
.project-card-header a {
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.project-stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  font-family: var(--mono);
  font-size: 0.8125rem;
}
.project-stats span { color: var(--text-muted); }
.project-stats .stat-val { font-weight: 600; }

.finding-list { list-style: none; }
.finding-list li {
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
}
.finding-list li:first-child { border-top: none; padding-top: 0; }
.finding-algo {
  font-family: var(--mono);
  font-weight: 600;
}
.finding-file {
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 0.75rem;
}
.finding-fix {
  color: var(--cyan);
  font-size: 0.8125rem;
}

/* Takeaways */
.takeaways { padding: 3rem 0; border-top: 1px solid var(--border); }
.takeaways h2 { margin-bottom: 1.5rem; }
.takeaways ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.takeaways li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.takeaways li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}
.takeaways li:last-child::before { background: var(--green); }
.takeaways li strong { color: var(--text); }

/* Methodology */
.methodology {
  padding: 3rem 0 5rem;
  border-top: 1px solid var(--border);
}
.methodology h2 { margin-bottom: 1rem; }
.methodology p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.methodology .install-bar { margin-top: 1.5rem; }

/* Responsive */
@media (max-width: 768px) {
  .report-header { padding: 4rem 0 2rem; }
  .report-header h1 { font-size: 1.625rem; }
  .project-stats { flex-wrap: wrap; gap: 0.75rem; }
  .summary-table { font-size: 0.75rem; }
  .summary-table th, .summary-table td { padding: 0.5rem; }
}
