:host {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  min-height: 200px;
}

.row {
  display: flex;
}

.list {
  max-height: 500px;
  overflow: auto;
}

.amount {
  color: rgb(49, 119, 49);
}

.negative {
  color: rgb(202, 62, 62);
}

.actions {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding-left: 8px;
  align-items: center;

  .name {
    font-weight: bold;
  }

  &__buttons {
    display: flex;
    flex-direction: row;
    padding-right: 2px;
    button {
      margin: 4px 2px;
    }
  }
}

.balance {
  
  color: #fff;
  padding: 12px;
  text-align: center;
  font-size: 1.5rem;

  &.pos {
    background-color: rgb(49, 119, 49);
  }

  &.neg {
    background-color: rgb(202, 62, 62);
  }
}