/* Updated styling to match design images */
.page-content {
  background-color: #f5f5f5;
  padding: 12px;
}

.order-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order-item {
  background-color: #fff;
  padding: 12px;
  border-radius: 8px;
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.order-number {
  font-size: 14px;
  color: #000;
  font-weight: 500;
}

.btn-unpaid {
  padding: 3px 10px;
  background-color: #fff;
  color: #ff4757;
  border: 1px solid #ff4757;
  border-radius: 3px;
  font-size: 12px;
}

.order-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.tag {
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 12px;
  color: #fff;
}

.tag.seller {
  background-color: #ff4757;
}

.tag.buyer {
  background-color: #00a6ff;
}

.order-detail {
  margin-bottom: 12px;
}

.store-name {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #000;
}

.order-info {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #666;
  margin-bottom: 4px;
}

.service-fee {
  font-size: 12px;
  color: #666;
}

.btn-pay {
  width: 100%;
  padding: 10px;
  background-color: #ff4757;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-pay:hover {
  opacity: 0.9;
}

.btn-pay:active {
  transform: scale(0.98);
}

/* 添加支付凭证显示样式 */
.payment-proof-section {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}

.payment-proof-label {
  font-size: 12px;
  color: #666;
  margin-bottom: 8px;
}

.payment-proof-img {
  max-width: 150px;
  max-height: 150px;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s;
  border: 1px solid #e0e0e0;
}

.payment-proof-img:hover {
  transform: scale(1.05);
}

.payment-proof-time {
  font-size: 11px;
  color: #999;
  margin-top: 6px;
}

/* 支付凭证大图模态框 */
.payment-proof-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 10000;
}

.modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 40px;
  height: 40px;
}

.modal-image {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
}
