@use '../../../styles/mixins';

.root {
  overflow-x: hidden;
  overflow-y: hidden;
  height: 100%;
  padding: 1rem;
}

.graph {
  margin-bottom: 1rem;
  opacity: 1;
  transition: opacity 0.3s ease;

  &:last-of-type {
    margin-bottom: 0;
  }

  &.hidden {
    margin: 0;
    opacity: 0;
  }
}

.charts {
  display: flex;
  flex-direction: column;
}

.ready {
  overflow-y: scroll !important;
}

.balanceSection {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
}

.balanceTitle {
  font-size: 0.9375rem;
  font-weight: var(--font-weight-semibold);
}

.availableReward {
  display: flex;
  flex-direction: column;
  align-items: center;

  margin-bottom: 0.5rem;

  line-height: 1.6875rem;
}

.rewardValue {
  font-size: 1.875rem;
}

.decimalPart {
  font-size: 1.375rem;
}

.integer {
  font-size: 1rem;
}

.decimalUsdPart {
  font-size: 0.6875rem;
}

.toncoinIcon {
  margin-inline: 0 0.5rem;
  font-size: 1.5rem;
  color: var(--color-primary);
}

.textBottom {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}
