#purchase-revorder-detail {
  background: #f5f7fa;
  min-height: 100vh;
}

/* 顶部标题栏 */
#purchase-revorder-detail .detail-title-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 0.88rem;
  line-height: 0.88rem;
  text-align: center;
  font-size: 0.32rem;
  font-weight: 600;
  color: #303133;
  background: #fff;
  border-bottom: 1px solid #f0f2f5;
  z-index: 100;
}

#purchase-revorder-detail .detail-content {
  padding-top: 0.88rem;
}

/* 描述卡片 */
#purchase-revorder-detail .detail-card {
  background: #fff;
  margin-bottom: 0.2rem;
  overflow: hidden;
}

#purchase-revorder-detail .detail-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.28rem 0.32rem;
  border-bottom: 1px solid #f0f2f5;
}

#purchase-revorder-detail .detail-code {
  font-size: 0.32rem;
  font-weight: 600;
  color: #303133;
}

#purchase-revorder-detail .detail-status {
  font-size: 0.22rem;
  padding: 0.06rem 0.16rem;
  border-radius: 0.2rem;
}

#purchase-revorder-detail .detail-status.status-B {
  background: #e6f7ff;
  color: #0079fd;
}

#purchase-revorder-detail .detail-status.status-C {
  background: #f0f9eb;
  color: #67c23a;
}

#purchase-revorder-detail .detail-status.status-O,
#purchase-revorder-detail .detail-status.status-P {
  background: #f4f4f5;
  color: #909399;
}

#purchase-revorder-detail .detail-status.status-Q {
  background: #fef0f0;
  color: #f56c6c;
}

#purchase-revorder-detail .detail-card-body {
  padding: 0.16rem 0.32rem;
}

#purchase-revorder-detail .detail-item {
  display: flex;
  align-items: center;
  padding: 0.16rem 0;
  border-bottom: 1px solid #f5f5f5;
}

#purchase-revorder-detail .detail-item:last-child {
  border-bottom: none;
}

#purchase-revorder-detail .detail-label {
  font-size: 0.26rem;
  color: #909399;
  flex-shrink: 0;
  width: 1.4rem;
}

#purchase-revorder-detail .detail-value {
  font-size: 0.26rem;
  color: #303133;
  flex: 1;
  text-align: right;
  word-break: break-all;
}

/* 商品明细区域 */
#purchase-revorder-detail .detail-section-title {
  font-size: 0.28rem;
  font-weight: 500;
  color: #303133;
  padding: 0.24rem 0.32rem;
  border-bottom: 1px solid #f0f2f5;
  background: #fff;
}

/* 表格容器（横向滚动） */
#purchase-revorder-detail .detail-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#purchase-revorder-detail .detail-table {
  width: 100%;
  min-width: 12rem;
  border-collapse: collapse;
  font-size: 0.22rem;
}

#purchase-revorder-detail .detail-table thead th {
  color: #606266;
  font-weight: 500;
  padding: 0.16rem 0.12rem;
  text-align: center;
  border-bottom: 1px solid #ebeef5;
  white-space: nowrap;
  background: #fff;
}

#purchase-revorder-detail .detail-table tbody td {
  color: #303133;
  padding: 0.16rem 0.12rem;
  text-align: center;
  border-bottom: 1px solid #ebeef5;
  white-space: nowrap;
  background: #fff;
}

#purchase-revorder-detail .detail-total {
  padding: 0.2rem 0.32rem;
  font-size: 0.26rem;
  font-weight: 500;
  color: #303133;
  background: #fff;
  border-top: 2px solid #ebeef5;
  text-align: left;
}

#purchase-revorder-detail .detail-table .detail-empty {
  color: #909399;
  padding: 0.6rem 0;
  background: #fff;
}
