/* Base Styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

/* Infographic Styles */
.infographic {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.infographic h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #b91c1c;
  margin-bottom: 1rem;
  text-align: center;
}

.infographic h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #e75556;
  margin: 1.5rem 0 0.75rem 0;
}

.infographic p {
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Stat Box */
.stat-box {
  background: linear-gradient(135deg, #e75556 0%, #b91c1c 100%);
  color: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  margin: 2rem 0;
}

.stat-number {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.125rem;
  opacity: 0.9;
}

/* Timeline */
.timeline {
  margin: 2rem 0;
  padding-left: 2rem;
  border-left: 3px solid #3b82f6;
}

.timeline-item {
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 0.5rem;
  width: 1rem;
  height: 1rem;
  background: #3b82f6;
  border-radius: 50%;
  border: 3px solid white;
}

.year {
  font-size: 1.25rem;
  font-weight: bold;
  color: #1e3a8a;
  margin-bottom: 0.25rem;
}

.event {
  color: #6b7280;
}

/* Checklist */
.checklist {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.checklist li {
  padding: 1rem;
  margin-bottom: 0.5rem;
  background: #f0fdf4;
  border-left: 4px solid #22c55e;
  border-radius: 4px;
  font-size: 1.125rem;
}

/* Comparison */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.compare-item {
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
}

.compare-item.good {
  background: #dcfce7;
  border: 2px solid #22c55e;
}

.compare-item.bad {
  background: #fee2e2;
  border: 2px solid #ef4444;
}

.compare-item h3 {
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
}

/* Article Card */
.article-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Admin Panel */
.admin-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #374151;
}

.form-group input[type="text"],
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 1rem;
}

.form-group textarea {
  min-height: 300px;
  font-family: 'Monaco', 'Courier New', monospace;
}

/* Editor Toolbar */
.editor-toolbar {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: #f3f4f6;
  border-radius: 6px;
}

.editor-toolbar button {
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.875rem;
}

.editor-toolbar button:hover {
  background: #e5e7eb;
}
