.detail {
  display: grid;
  grid-template-columns: 
    4rem
    1fr
    minmax(auto, 30%);
}

.icon {
    align-self: center;
    height: 4rem;
    width: 4rem;
}

.amount {
    display: flex;
    justify-content: flex-end;
    overflow: hidden;
}