/* Macro Impact Panel - Institutional Style */

.macro-impact-panel {
  background: #0a0e1a;
  border: 1px solid #1a1f2e;
  border-radius: 6px;
  overflow: hidden;
}

.macro-impact-header {
  padding: 12px 16px;
  border-bottom: 1px solid #1a1f2e;
}

.macro-impact-title {
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
  letter-spacing: 0.3px;
}

.macro-impact-subtitle {
  font-size: 10px;
  color: #64748b;
  margin-top: 2px;
}

.macro-impact-list {
  padding: 8px;
  max-height: 480px;
  overflow-y: auto;
}

.macro-impact-item {
  padding: 10px 12px;
  margin-bottom: 6px;
  background: #0f1419;
  border: 1px solid #1a1f2e;
  border-radius: 6px;
  transition: all 100ms ease;
}

.macro-impact-item:hover {
  background: #141920;
  border-color: #252d3d;
}

.macro-impact-item.active {
  background: rgba(16, 185, 129, 0.06);
  border-color: #10b981;
}

.macro-impact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.macro-impact-event {
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.macro-impact-item.active .macro-impact-event {
  color: #10b981;
}

.macro-impact-badge {
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1px solid;
  margin-left: 8px;
}

.macro-impact-badge.high {
  background: rgba(239, 68, 68, 0.06);
  border-color: #dc2626;
  color: #ef4444;
}

.macro-impact-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.macro-stat {
  text-align: center;
  padding: 6px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}

.macro-stat-label {
  font-size: 9px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.macro-stat-value {
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
  font-variant-numeric: tabular-nums;
}

.macro-stat-value.positive {
  color: #10b981;
}

.macro-stat-value.negative {
  color: #ef4444;
}

.macro-impact-empty {
  padding: 40px 20px;
  text-align: center;
  color: #64748b;
  font-size: 11px;
}
