.container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: rgba(6, 10, 9, 0.84);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}

.summaryGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.summaryCard {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(118, 185, 0, 0.08), rgba(0, 212, 255, 0.04)), rgba(12, 16, 16, 0.86);
}

.summaryLabel {
  color: var(--color-text-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.summaryValue {
  color: var(--color-text);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.summaryValuePositive {
  color: var(--color-primary-light);
}

.summaryValueNeutral {
  color: var(--color-accent-cyan);
}

.summaryCardHighlight {
  border-color: rgba(143, 212, 0, 0.36);
  background:
    linear-gradient(180deg, rgba(143, 212, 0, 0.18), rgba(118, 185, 0, 0.08)),
    rgba(12, 18, 12, 0.94);
  box-shadow: 0 0 0 1px rgba(143, 212, 0, 0.12), 0 16px 34px rgba(118, 185, 0, 0.16);
}

.summaryValueHighlight {
  color: #d9ff72;
  text-shadow: 0 0 18px rgba(143, 212, 0, 0.28);
}

.summaryHint {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.85rem;
}

.chartsRow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.tokenBreakdownRow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.chartSection {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.chartTitle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  white-space: nowrap;
}

.chartIcon {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  flex-shrink: 0;
}

:global(.recharts-wrapper) {
  background: transparent !important;
}

:global(.recharts-surface) {
  background: transparent !important;
}

:global(.recharts-layer) {
  background: transparent !important;
}

:global(.recharts-rectangle) {
  background: transparent !important;
}

:global(.recharts-bar-rectangle) {
  background: transparent !important;
}

:global(.recharts-active-bar) {
  opacity: 0.8;
}

:global(.recharts-text) {
  fill: var(--color-text-secondary);
  font-size: 12px;
}

:global(.recharts-cartesian-axis-tick-value) {
  fill: var(--color-text-secondary);
}

:global(.recharts-legend-item-text) {
  color: var(--color-text-secondary) !important;
}

:global(.recharts-tooltip-wrapper) {
  z-index: 100;
}

:global(.recharts-pie-label-text) {
  fill: white !important;
}

:global(.recharts-bar-cursor) {
  display: none !important;
}

:global(.recharts-tooltip-cursor) {
  display: none !important;
  fill: none !important;
}

@media (max-width: 1200px) {
  .summaryGrid,
  .chartsRow,
  .tokenBreakdownRow {
    grid-template-columns: 1fr;
  }
}
