/* packageH/stock/details/details.wxss */
.inventory-details {
  padding: 30rpx;
}

.details {
  padding: 24rpx;
  margin-top: 20rpx;
  border-radius: 11.002rpx;
  background: white;
}

.details-title {
  position: relative;
  padding-left: 11.002rpx;
  width: 100%;
  overflow: hidden;
  font-size: 30rpx;
  text-align: left;
  color: #333;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.details-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto 0;
  width: 4rpx;
  height: 27.002rpx;
  border-radius: 4rpx;
  background-color: #fb6b68;
}

/* 明细列表 */
.detail-list {
  font-size: 24rpx;
}

.detail-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-content: flex-start;
  padding: 22rpx 0;
  border-bottom: 2rpx solid #efefef;
}

.detail-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.detail-item view {
  flex-grow: 1;
  text-align: left;
}

.detail-title {
  width: 606rpx;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-date {
  margin-top: 22rpx;
  color: #8c8c8c;
}

.detail {
  flex-shrink: 0;
  padding-left: 10rpx;
  line-height: 15rpx;
}

.detail.detail-positive {
  color: #f15353;
}

.detail.detail-negative {
  color: #0cb156;
}
