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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: #0f172a;
  color: #e2e8f0;
}

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

.header {
  margin-bottom: 2rem;
}

.header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #60a5fa;
}

.subtitle {
  color: #94a3b8;
}

.loading {
  text-align: center;
  padding: 4rem;
  font-size: 1.25rem;
  color: #94a3b8;
}

.error {
  background: #7f1d1d;
  color: #fca5a5;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.org-chart {
  overflow-x: auto;
  padding-bottom: 2rem;
}

.org-node {
  margin-bottom: 1.5rem;
}

.node-card {
  background: #1e293b;
  border-radius: 8px;
  padding: 1.25rem;
  border-left: 4px solid #60a5fa;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 400px;
  position: relative;
}

.node-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #60a5fa;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: bold;
  flex-shrink: 0;
}

.node-info {
  flex: 1;
}

.node-info h3 {
  color: #e2e8f0;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.node-title {
  color: #60a5fa;
  font-size: 0.875rem;
  margin-bottom: 0.125rem;
}

.node-dept {
  color: #94a3b8;
  font-size: 0.75rem;
}

.reports-badge {
  background: #34d399;
  color: #0f172a;
  padding: 0.25rem 0.625rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.reports-container {
  border-left: 2px solid #334155;
  padding-left: 1rem;
  margin-top: 1rem;
}

.empty-state {
  text-align: center;
  padding: 4rem;
  color: #94a3b8;
  font-size: 1.1rem;
}
