.card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.card:hover {
  border-color: rgba(59, 130, 246, 0.3);
}

.cardHeader {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  color: inherit;
}

.headerContent {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.7);
}

.valueRow {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.value {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
}

.change {
  font-size: 0.875rem;
  font-weight: 500;
}

.positive {
  color: #34d399;
}

.negative {
  color: #f87171;
}

.subLabel {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.expandIcon {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  transition: transform 0.2s ease;
  margin-top: 0.25rem;
}

.expandIcon.expanded {
  transform: rotate(180deg);
}

/* Breakdown Section */
.breakdown {
  padding: 0 1rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: slideDown 0.2s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.breakdownTitle {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
  margin: 0.75rem 0 0.5rem;
}

.linkList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.linkItem {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.375rem 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  font-size: 0.8125rem;
}

.linkHref {
  color: rgba(255, 255, 255, 0.8);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

.linkCount {
  font-weight: 600;
  color: var(--color-primary-accent);
  margin-left: 0.5rem;
  flex-shrink: 0;
}

.noData {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
  font-style: italic;
  margin: 0.5rem 0;
}
