/* Default Template Styles */
:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --accent-color: #3b82f6;
  --text-color: #1f2937;
  --background-color: #ffffff;
  --border-color: #e5e7eb;
  --success-color: #059669;
  --warning-color: #d97706;
  --error-color: #dc2626;
  --info-color: #2563eb;
}

body {
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.5;
  color: var(--text-color);
  background-color: var(--background-color);
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: Inter, system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.25;
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

th, td {
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  text-align: left;
}

th {
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
}

tr:nth-child(even) {
  background-color: #f9fafb;
}

/* Status Indicators */
.status {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.status-success {
  background-color: #dcfce7;
  color: var(--success-color);
}

.status-warning {
  background-color: #fef3c7;
  color: var(--warning-color);
}

.status-error {
  background-color: #fee2e2;
  color: var(--error-color);
}

.status-info {
  background-color: #dbeafe;
  color: var(--info-color);
}

/* Sections */
.section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
}

.section-title {
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-color);
}

/* Findings */
.finding {
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-left: 4px solid var(--primary-color);
  background-color: #f8fafc;
}

.finding-critical {
  border-left-color: var(--error-color);
}

.finding-high {
  border-left-color: var(--warning-color);
}

.finding-medium {
  border-left-color: var(--info-color);
}

.finding-low {
  border-left-color: var(--success-color);
}

/* Recommendations */
.recommendation {
  margin-bottom: 1rem;
  padding: 1rem;
  background-color: #f8fafc;
  border-radius: 0.25rem;
}

.recommendation-priority {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Appendix */
.appendix {
  font-size: 0.875rem;
  color: #6b7280;
}

.appendix-title {
  font-size: 1.25rem;
  color: var(--text-color);
  margin-bottom: 1rem;
}

/* Print Styles */
@media print {
  body {
    font-size: 12pt;
  }

  .container {
    max-width: none;
    padding: 0;
  }

  .section {
    break-inside: avoid;
    border: none;
    padding: 0;
  }

  .finding, .recommendation {
    break-inside: avoid;
  }
} 