/* Base Styles */
:root {
  --primary-color: #3a86ff;
  --secondary-color: #8338ec;
  --accent-color: #ff006e;
  --light-bg: #f8f9fa;
  --dark-bg: #212529;
  --text-color: #343a40;
  --light-text: #f8f9fa;
  --border-color: #dee2e6;
  --success-color: #38b000;
  --warning-color: #ffbe0b;
  --danger-color: #d90429;
  --info-color: #3a86ff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-bg);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  line-height: 1.2;
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 2rem;
  color: var(--primary-color);
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

ul, ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Header & Footer */
header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--light-text);
  padding: 3rem 0;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.date {
  font-style: italic;
  opacity: 0.8;
}

footer {
  background-color: var(--dark-bg);
  color: var(--light-text);
  padding: 2rem 0;
  margin-top: 3rem;
  text-align: center;
}

/* Sections */
section {
  margin-bottom: 3rem;
  padding-bottom: 1rem;
}

.text-content {
  margin: 2rem 0;
}

/* Summary Box */
.summary-box, .conclusion-box {
  background-color: #fff;
  border-left: 5px solid var(--primary-color);
  padding: 1.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

/* Charts */
.chart-container {
  margin: 2rem 0;
}

.chart-wrapper {
  background-color: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.full-width-chart {
  width: 100%;
  height: auto;
  margin: 1rem 0;
  border-radius: 4px;
}

.chart-description {
  font-style: italic;
  color: #666;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

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

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

.data-table th {
  background-color: var(--light-bg);
  font-weight: 600;
}

.data-table tr:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.02);
}

.data-table tr:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Status Indicators */
.status {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
}

.status.achieved {
  background-color: var(--success-color);
  color: white;
}

.status.high {
  background-color: var(--info-color);
  color: white;
}

.status.medium {
  background-color: var(--warning-color);
  color: var(--text-color);
}

.status.low {
  background-color: var(--danger-color);
  color: white;
}

/* Source Citation */
.source {
  font-size: 0.85rem;
  color: #666;
  font-style: italic;
  margin-top: 0.5rem;
}

/* Factors Grid */
.factors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.factor-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-top: 4px solid var(--secondary-color);
}

.factor-card h3 {
  margin-top: 0;
  color: var(--secondary-color);
}

/* References */
.references-list {
  background-color: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.references-list ul {
  list-style-type: square;
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .factors-grid {
    grid-template-columns: 1fr;
  }
  
  .container {
    width: 95%;
  }
}