.coin {
  padding: calc(var(--spacer) / 2);
  padding-top: calc(var(--spacer) / 1.5);
}

.coin:last-child {
  border-left: 1px solid var(--border-color);
}

.token {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: calc(var(--spacer) / 2);
}

.icon {
  composes: box from '@shared/atoms/Box.module.css';
  padding: calc(var(--spacer) / 2);
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  background-color: var(--background-body);
  margin: 0;
  margin-right: calc(var(--spacer) / 4);
  fill: var(--font-color-text);
}

.icon svg {
  width: 100%;
  height: 100%;
}

.coin:last-child .icon {
  fill: var(--brand-violet);
}

.tokenName {
  font-size: var(--font-size-base);
  color: var(--font-color-text);
  margin-bottom: 0;
}

.weight {
  width: 100%;
  margin-bottom: 0;
  text-transform: uppercase;
  font-size: var(--font-size-small);
  color: var(--color-secondary);
}

.data {
  position: relative;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  margin: auto 0;
}

.max {
  position: absolute;
  right: var(--spacer);
  top: calc(var(--spacer) / 2.5);
}

.weight strong {
  color: var(--font-color-text);
}

@media screen and (min-width: 41rem) {
  .token {
    justify-content: center;
  }
  .data {
    margin: auto;
    max-width: 12rem;
  }
}
