/* Updated styling to match design images with proper spacing and borders */
.page-container {
  background-color: #f5f5f5;
}

.payment-section {
  background-color: #fff;
  padding: 0;
  min-height: calc(100vh - 50px);
}

.payment-list {
  display: flex;
  flex-direction: column;
}

.payment-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
  min-height: 60px;
}

.payment-item:last-child {
  border-bottom: none;
}

.payment-label {
  font-size: 15px;
  color: #333;
  flex-shrink: 0;
}

.payment-label::before {
  content: "*";
  color: #ff4757;
  margin-right: 2px;
}

.payment-value {
  font-size: 15px;
  color: #333;
  text-align: right;
}

.qr-code {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 4px;
  display: block; /* Added from updates */
  pointer-events: none; /* Added from updates */
}

.qr-code.wechat {
  background-color: #09bb07;
  padding: 8px;
}

/* Added styles for editable input fields */
.payment-input {
  border: none;
  background: transparent;
  font-size: 15px;
  color: #333;
  text-align: right;
  outline: none;
  flex: 1;
  padding: 0;
  min-width: 0;
}

.payment-input::placeholder {
  color: #ccc;
}

/* Added styles for image upload functionality */
.image-upload-wrapper {
  position: relative;
  display: inline-block;
}

.file-input {
  display: none;
}

.upload-label {
  position: relative;
  cursor: pointer;
  display: block;
}

.upload-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 4px;
}

.upload-label:hover .upload-overlay {
  opacity: 1;
}

.camera-icon {
  width: 32px;
  height: 32px;
  color: white;
}
