/* 支付窗口样式 */
.payment-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.payment-modal-content {
  background: white;
  border-radius: 16px;
  width: 500px;
  max-width: 90%;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.payment-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.payment-modal-header h3 {
  font-size: 18px;
  color: #2c3e50;
}

.close-btn {
  background: none;
  border: none;
  font-size: 20px;
  color: #999;
  cursor: pointer;
}

.payment-modal-body {
  padding: 20px;
}

.order-info {
  background: #f5f6fa;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.order-info p {
  margin: 5px 0;
  color: #666;
}

.order-info .amount {
  font-size: 16px;
  margin-top: 10px;
}

.order-info .price {
  color: #ff6b35;
  font-size: 24px;
  font-weight: 700;
}

.payment-methods h4 {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.method-buttons {
  display: flex;
  gap: 15px;
}

.method-btn {
  flex: 1;
  padding: 20px;
  border: 2px solid #ddd;
  border-radius: 12px;
  background: white;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.method-btn i {
  font-size: 32px;
  color: #666;
}

.method-btn span {
  font-size: 14px;
  color: #666;
}

.method-btn.active {
  border-color: #ff6b35;
  background: #fff5f0;
}

.method-btn.active i {
  color: #ff6b35;
}

.method-btn.active span {
  color: #ff6b35;
}

.cash-input, .scanner-input {
  margin-top: 20px;
}

.cash-input label, .scanner-input label {
  display: block;
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.cash-input input, .scanner-input input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
}

.change-display {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  color: #666;
}

.change-display span:last-child {
  color: #27ae60;
  font-weight: 600;
}

.scanner-input .tip {
  font-size: 12px;
  color: #999;
  margin-top: 5px;
}

.payment-modal-footer {
  display: flex;
  gap: 10px;
  padding: 20px;
  border-top: 1px solid #eee;
}

.payment-modal-footer button {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}