.root {
  margin-bottom: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 0.0625rem solid var(--color-borders);
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 0.5rem;

  font-weight: var(--font-weight-medium);
}

.title {
  margin-right: 2rem;

  font-size: 1rem;
  line-height: 1.875rem;
  color: var(--text-color);
  text-transform: lowercase;

  &:first-letter {
    text-transform: uppercase;
  }
}

.caption {
  font-size: 0.75rem;
  text-align: right;
}

.table {
  width: 100%;
}

.tableCell {
  width: 50%;
}

.tableHeading {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
}

.tableValue {
  font-size: 1.25rem;
  font-weight: var(--font-weight-medium);
}

.tableSecondaryValue {
  margin-inline-start: 0.25rem;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.value {
  font-size: 0.6875rem;
  color: var(--color-text-green);

  &.negative {
    color: var(--color-error);
  }
}

.decimalPart {
  font-size: 0.875rem;
}

.decimalUsdPart {
  font-size: 0.6875rem;
}

.toncoin {
  margin-inline: -0.125rem 0.3125rem;
  color: var(--color-primary);
}
