:root {
  --primary-color: #4CAF50;
  --text-color: #333;
  --bg-color: #f8f9fa;
  --card-bg: #fff;
  --shadow: 0 2px 4px rgba(0,0,0,0.1);
  --border-radius: 12px;
}

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  padding: 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.main-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 20px;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
}

h1 {
  font-size: 2em;
  color: var(--primary-color);
  margin-bottom: 1em;
  text-align: center;
}

h2 {
  font-size: 1.2em;
  color: var(--primary-color);
  margin-bottom: 1em;
  padding-bottom: 0.5em;
  border-bottom: 2px solid var(--primary-color);
}

pre {
  font-family: 'Consolas', monospace;
  font-size: 0.9em;
  white-space: pre-wrap;
  background: #f8f9fa;
  padding: 10px;
  border-radius: 6px;
  margin: 0;
}

.project-summary {
  background: #f8f9fa;
  border-left: 4px solid var(--primary-color);
  padding: 1em;
  margin: 1em 0;
  font-size: 0.95em;
  line-height: 1.6;
}

.project-summary a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.project-summary a:hover {
  text-decoration: underline;
}

/* Status indicators */
.status-ok {
  color: #28a745;
}

.status-warning {
  color: #ffc107;
}

.status-error {
  color: #dc3545;
}

/* Loading animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 480px) {
  body {
    padding: 10px;
  }
  
  .card {
    padding: 15px;
  }
  
  h1 {
    font-size: 1.5em;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

.stats-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 15px;
  transition: transform 0.2s ease;
}

.stats-card:hover {
  transform: translateY(-2px);
}

.stats-card h2 {
  font-size: 1.1em;
  margin-bottom: 0.5em;
  color: var(--primary-color);
  border-bottom: 1px solid var(--primary-color);
  padding-bottom: 0.3em;
}

.stats-card pre {
  font-size: 0.85em;
  margin: 0;
  padding: 8px;
  background: #f8f9fa;
  border-radius: 6px;
  white-space: pre-line;
  line-height: 1.5;
}

.card pre {
  font-size: 0.85em;
  margin: 0;
  padding: 8px;
  background: #f8f9fa;
  border-radius: 6px;
  white-space: pre-line;
  line-height: 1.5;
}
