/* ============================================
   VEHYLY - Wallet & Payment Styles
   ============================================ */

/* Wallet Card */
.wallet-card {
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

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

.wallet-header h3 {
  margin: 0;
  font-size: 20px;
  color: #404040;
}

.refresh-wallet-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: background 0.2s;
}

.refresh-wallet-btn:hover {
  background: #f0f0f0;
}

/* Balance Grid */
.balance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.balance-item {
  padding: 16px;
  background: #f8f9fa;
  border-radius: 8px;
}

.balance-item.main {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 24px;
}

.balance-label {
  font-size: 13px;
  opacity: 0.8;
  margin-bottom: 8px;
}

.balance-amount {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 16px;
}

.balance-amount-small {
  font-size: 24px;
  font-weight: bold;
  color: #404040;
}

.balance-note {
  font-size: 12px;
  color: #666;
  margin-top: 8px;
}

.auto-withdraw-notice {
  background: rgba(255,255,255,0.2);
  padding: 12px;
  border-radius: 6px;
  font-size: 13px;
  margin-top: 12px;
}

/* Buttons */
.withdraw-btn,
.tap-payment-btn,
.history-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 12px;
}

.withdraw-btn {
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  color: #667eea;
  border: 2px solid rgba(255,255,255,0.3);
}

.withdraw-btn:hover:not(:disabled) {
  background: rgba(255,255,255,0.9);
}

.withdraw-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.tap-payment-btn {
  background: #10b981;
  color: white;
}

.tap-payment-btn:hover {
  background: #059669;
}

.history-btn {
  background: transparent;
  color: #667eea;
  border: 2px solid #667eea;
}

.history-btn:hover {
  background: #667eea;
  color: white;
}

/* TAP Payment Modal */
.tap-modal {
  max-width: 500px;
}

.tap-form {
  padding: 20px 0;
}

.tap-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #404040;
  margin-bottom: 8px;
  margin-top: 16px;
}

.amount-input-group {
  display: flex;
  align-items: center;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 12px 16px;
  transition: border-color 0.2s;
}

.amount-input-group:focus-within {
  border-color: #667eea;
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
}

.currency-symbol {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  margin-right: 8px;
}

.amount-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 32px;
  font-weight: bold;
  outline: none;
  color: #404040;
}

.description-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}

.description-input:focus {
  border-color: #667eea;
}

/* Breakdown */
.tap-breakdown {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 16px;
  margin-top: 20px;
}

.breakdown-title {
  font-size: 13px;
  font-weight: 600;
  color: #666;
  margin-bottom: 12px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
}

.breakdown-row.muted {
  color: #999;
  font-size: 13px;
}

.breakdown-row.total {
  border-top: 2px solid #e9ecef;
  margin-top: 8px;
  padding-top: 12px;
  font-weight: bold;
  font-size: 16px;
  color: #667eea;
}

.confirm-tap-btn {
  width: 100%;
  padding: 16px;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 20px;
  transition: background 0.2s;
}

.confirm-tap-btn:hover:not(:disabled) {
  background: #5568d3;
}

.confirm-tap-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Withdraw Modal */
.withdraw-modal {
  max-width: 500px;
}

.withdraw-balance-info {
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 8px;
  color: white;
  margin-bottom: 20px;
}

.available-label {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 8px;
}

.available-amount {
  font-size: 42px;
  font-weight: bold;
}

.quick-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.quick-amount-btn {
  padding: 10px;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.quick-amount-btn:hover {
  background: #667eea;
  color: white;
  border-color: #667eea;
}

.withdraw-summary {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 16px;
  margin-top: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
}

.summary-row.total {
  border-top: 2px solid #e9ecef;
  margin-top: 8px;
  padding-top: 12px;
  font-weight: bold;
  font-size: 18px;
  color: #10b981;
}

.summary-note {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e9ecef;
  font-size: 13px;
  line-height: 1.6;
  color: #666;
}

.confirm-withdraw-btn {
  width: 100%;
  padding: 16px;
  background: #10b981;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 20px;
  transition: background 0.2s;
}

.confirm-withdraw-btn:hover:not(:disabled) {
  background: #059669;
}

.confirm-withdraw-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.withdraw-notice {
  text-align: center;
  font-size: 13px;
  color: #666;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e9ecef;
}

/* Appointment Payment Modal */
.appointment-payment-modal {
  max-width: 600px;
}

.appointment-summary {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}

.appointment-summary .summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #e9ecef;
}

.appointment-summary .summary-row:last-child {
  border-bottom: none;
}

.appointment-summary .summary-row.total {
  border-top: 2px solid #e9ecef;
  margin-top: 8px;
  padding-top: 12px;
  font-weight: bold;
  font-size: 18px;
  color: #667eea;
}

.payment-options h3 {
  font-size: 16px;
  margin-bottom: 16px;
  color: #404040;
}

.payment-option {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.payment-option:hover {
  border-color: #667eea;
}

.payment-option.selected {
  border-color: #667eea;
  background: #f0f4ff;
}

.payment-option input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.payment-option label {
  cursor: pointer;
  display: block;
}

.option-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.option-icon {
  font-size: 24px;
}

.option-title {
  font-size: 16px;
  font-weight: 600;
  color: #404040;
}

.recommended-badge {
  margin-left: auto;
  background: #10b981;
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.option-description {
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
}

.option-amount {
  font-size: 20px;
  font-weight: bold;
  color: #667eea;
}

.option-breakdown {
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  padding: 12px;
  border-radius: 6px;
  margin-top: 8px;
  font-size: 13px;
}

.option-breakdown div {
  padding: 4px 0;
}

.payment-policies {
  background: #fff9e6;
  border: 1px solid #ffd93d;
  border-radius: 8px;
  padding: 16px;
  margin-top: 20px;
}

.payment-policies h4 {
  margin: 0 0 12px 0;
  font-size: 14px;
  color: #404040;
}

.payment-policies ul {
  margin: 0;
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.8;
  color: #666;
}

.payment-policies li {
  margin-bottom: 6px;
}

.confirm-payment-btn {
  width: 100%;
  padding: 16px;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 20px;
  transition: background 0.2s;
}

.confirm-payment-btn:hover {
  background: #5568d3;
}

/* Stripe Payment Modal */
.stripe-payment-modal {
  max-width: 450px;
}

.payment-summary {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 600;
  color: #404040;
}

.deposit-notice {
  margin-top: 12px;
  padding: 12px;
  background: #10b981;
  color: white;
  border-radius: 6px;
  font-size: 13px;
  text-align: center;
}

.stripe-form {
  padding: 20px 0;
}

.stripe-card-element {
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}

.stripe-card-element:focus-within {
  border-color: #667eea;
}

.card-errors {
  color: #fa755a;
  font-size: 13px;
  margin-top: 8px;
  min-height: 20px;
}

.pay-btn {
  width: 100%;
  padding: 16px;
  background: #10b981;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.pay-btn:hover:not(:disabled) {
  background: #059669;
}

.pay-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.secure-notice {
  text-align: center;
  font-size: 12px;
  color: #666;
  margin-top: 12px;
}

/* Transaction History */
.history-modal {
  max-width: 600px;
  max-height: 80vh;
}

.transaction-list {
  max-height: 500px;
  overflow-y: auto;
}

.transaction-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid #e9ecef;
  transition: background 0.2s;
}

.transaction-item:hover {
  background: #f8f9fa;
}

.tx-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.tx-details {
  flex: 1;
}

.tx-description {
  font-size: 14px;
  font-weight: 600;
  color: #404040;
  margin-bottom: 4px;
}

.tx-date {
  font-size: 12px;
  color: #999;
}

.tx-amount {
  font-size: 16px;
  font-weight: bold;
  flex-shrink: 0;
}

.tx-amount.positive {
  color: #10b981;
}

.tx-amount.negative {
  color: #ef4444;
}

.no-transactions,
.loading,
.error {
  text-align: center;
  padding: 40px;
  color: #999;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 600px) {
  .balance-grid {
    grid-template-columns: 1fr;
  }
  
  .balance-item.main {
    grid-column: 1;
  }
  
  .quick-amounts {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .payment-option {
    padding: 12px;
  }
}

/* ============================================
   ✅ NUEVO: STRIPE CONNECT & MÉTODO DE RETIRO
   ============================================ */

/* Selector de método */
.method-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.method-option:hover {
  border-color: #667eea;
  background: #f8f9fa;
}

.method-option input[type="radio"]:checked + label {
  color: #667eea;
}

.method-option input[type="radio"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

/* Botones de cuenta */
.text-btn {
  background: none;
  border: none;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 13px;
  transition: opacity 0.2s;
}

.text-btn:hover {
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 600px) {
  .method-option {
    flex-direction: column;
    align-items: flex-start;
  }
}

/**********************************
 * ESTILOS METÁLICOS - WALLET
 **********************************/

/* Wallet container metálica */
.wallet-container {
  background: linear-gradient(145deg, #ffffff, #f0f0f0) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15), inset 0 2px 4px rgba(255,255,255,1) !important;
}

/* Balance card metálica */
.balance-card, .wallet-balance {
  background: linear-gradient(145deg, #5ab0ff, #2979ff) !important;
  box-shadow: 0 8px 24px rgba(41,121,255,0.4), inset 0 2px 4px rgba(255,255,255,0.3) !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
}

/* Transaction card metálica */
.transaction-card, .wallet-transaction {
  background: linear-gradient(145deg, #ffffff, #f0f0f0) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,1) !important;
}

.transaction-card:hover, .wallet-transaction:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.15), inset 0 2px 4px rgba(255,255,255,1) !important;
  transform: translateY(-2px);
}

/* Transaction type badges metálicos */
.transaction-type {
  background: linear-gradient(145deg, #f0f0f0, #e0e0e0) !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,1) !important;
}

.transaction-type.income {
  background: linear-gradient(145deg, #d1fae5, #a7f3d0) !important;
}

.transaction-type.expense {
  background: linear-gradient(145deg, #fed7aa, #fdba74) !important;
}

/* Wallet actions metálicas */
.wallet-actions {
  background: linear-gradient(180deg, #f8f8f8, #e8e8e8) !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1) !important;
}

/* Withdraw button metálico */
.withdraw-btn, .wallet-withdraw {
  background: linear-gradient(145deg, #5ab0ff, #2979ff) !important;
  box-shadow: 0 4px 12px rgba(41,121,255,0.3), inset 0 1px 0 rgba(255,255,255,0.5) !important;
}

.withdraw-btn:hover, .wallet-withdraw:hover {
  box-shadow: 0 6px 16px rgba(41,121,255,0.4), inset 0 1px 0 rgba(255,255,255,0.6) !important;
}

/* Earnings summary metálica */
.earnings-summary {
  background: linear-gradient(145deg, #f8f8f8, #e8e8e8) !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1) !important;
}

/* Earnings stats metálicas */
.earnings-stat {
  background: linear-gradient(145deg, #ffffff, #f0f0f0) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,1) !important;
}

.earnings-stat:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.15), inset 0 2px 4px rgba(255,255,255,1) !important;
  transform: translateY(-2px);
}

/* Payment method card metálica */
.payment-method-card {
  background: linear-gradient(145deg, #ffffff, #f0f0f0) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,1) !important;
}

.payment-method-card.selected {
  background: linear-gradient(145deg, #e8f4ff, #d0e7ff) !important;
  border-color: #2979FF !important;
  box-shadow: 0 4px 12px rgba(41,121,255,0.3), inset 0 1px 0 rgba(255,255,255,1) !important;
}

/* Payout history metálica */
.payout-history {
  background: linear-gradient(145deg, #ffffff, #f0f0f0) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,1) !important;
}

/* Status badges metálicos */
.status-badge {
  background: linear-gradient(145deg, #f0f0f0, #e0e0e0) !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,1) !important;
}

.status-badge.pending {
  background: linear-gradient(145deg, #fed7aa, #fdba74) !important;
}

.status-badge.completed {
  background: linear-gradient(145deg, #d1fae5, #a7f3d0) !important;
}

.status-badge.failed {
  background: linear-gradient(145deg, #fecaca, #fca5a5) !important;
}

/* Wallet modal metálica */
.wallet-modal {
  background: linear-gradient(145deg, #ffffff, #f0f0f0) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), inset 0 2px 4px rgba(255,255,255,1) !important;
}

/* Wallet form inputs metálicos */
.wallet-form input, .wallet-form select {
  background: linear-gradient(145deg, #ffffff, #f0f0f0) !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,1) !important;
}

.wallet-form input:focus, .wallet-form select:focus {
  box-shadow: 0 0 0 3px rgba(41,121,255,0.2), 0 2px 6px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,1) !important;
}

/* ============================================
   ESTILOS FALTANTES PARA MODALES - AGREGADO
   ============================================ */

/* Modal container (lo que faltaba) */
.ve-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

/* Modal content mejorado */
.ve-modal-content {
  background: #ffffff;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Modal header */
.ve-modal-header {
  padding: 20px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ve-modal-header h2,
.ve-modal-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

/* Close button */
.ve-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  color: #666;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.ve-modal-close:hover {
  background: #f3f4f6;
}

/* Withdraw modal */
.withdraw-modal { max-width: 480px; }
.withdraw-balance-info {
  padding: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
}
.available-amount { font-size: 32px; font-weight: 700; }
.withdraw-form { padding: 20px; }
.withdraw-label { display: block; font-weight: 600; margin-bottom: 8px; }
.ve-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 16px;
}
.ve-input:focus {
  border-color: #2979FF;
  box-shadow: 0 0 0 3px rgba(41, 121, 255, 0.1);
}
.method-option {
  padding: 12px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 8px;
  cursor: pointer;
}
.method-option:hover { border-color: #2979FF; }
.confirm-withdraw-btn, .confirm-tap-btn {
  width: 100%;
  padding: 14px;
  background: #2979FF;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}
.confirm-withdraw-btn:disabled { background: #d1d5db; cursor: not-allowed; }
.tap-payment-modal { max-width: 450px; }
.tap-payment-form { padding: 20px; }
.history-modal { max-width: 600px; }
.transaction-item {
  display: flex;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid #e5e7eb;
}

/* ============================================
   ESTILOS PARA BOTÓN TAP TO PAY - AGREGADO
   ============================================ */

/* Botón TAP que SÍ funciona */
.tap-pay-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.tap-pay-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.tap-pay-btn:active {
  transform: translateY(0);
}

.tap-pay-btn:disabled {
  background: #d1d5db;
  cursor: not-allowed;
  box-shadow: none;
}

/* Botón de historial */
.history-btn {
  width: 100%;
  padding: 14px;
  background: white;
  color: #374151;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.history-btn:hover {
  border-color: #2979FF;
  color: #2979FF;
  background: #f0f9ff;
}

/* Contenedor de acciones wallet */
.wallet-actions {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 640px) {
  .tap-pay-btn {
    font-size: 15px;
    padding: 14px;
  }
}

/* ============================================
   TAP TO PAY V2 - APPLE PAY + QR CODE
   ============================================ */

/* Tap Modal */
.tap-modal {
  max-width: 500px;
  width: 90%;
}

.tap-content {
  padding: 20px;
}

.tap-icon {
  font-size: 64px;
  text-align: center;
  margin-bottom: 10px;
}

.tap-description {
  text-align: center;
  color: #666;
  margin-bottom: 20px;
}

/* Amount Input */
.amount-input-section {
  margin-bottom: 20px;
}

.amount-input-section label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.amount-input-group {
  display: flex;
  align-items: center;
  background: #f5f5f5;
  border: 2px solid #ddd;
  border-radius: 12px;
  padding: 12px 16px;
  transition: border-color 0.2s;
}

.amount-input-group:focus-within {
  border-color: #000;
  background: #fff;
}

.amount-input-group .currency {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-right: 8px;
}

.amount-input-group input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 32px;
  font-weight: 600;
  color: #000;
  outline: none;
}

.amount-input-group input::placeholder {
  color: #ccc;
}

/* Quick Amounts */
.quick-amounts {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.quick-btn {
  flex: 1;
  min-width: 60px;
  padding: 12px;
  border: 2px solid #ddd;
  background: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.quick-btn:hover {
  border-color: #000;
  transform: translateY(-2px);
}

.quick-btn:active {
  transform: translateY(0);
}

/* Service Note */
.service-note-section {
  margin-bottom: 24px;
}

.service-note-section label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.service-note-section input {
  width: 100%;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.service-note-section input:focus {
  border-color: #000;
  outline: none;
}

/* Payment Methods Section */
.payment-methods-section {
  margin-top: 24px;
}

.payment-methods-section h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #333;
}

/* Payment Request Button (Apple Pay / Google Pay) */
.payment-request-button {
  margin-bottom: 16px;
}

#payment-request-button {
  display: none;
}

/* Payment Divider */
.payment-divider {
  display: flex;
  align-items: center;
  margin: 16px 0;
  color: #999;
  font-size: 14px;
}

.payment-divider::before,
.payment-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #ddd;
}

.payment-divider span {
  padding: 0 12px;
}

/* Payment Method Buttons */
.payment-method-btn {
  width: 100%;
  padding: 16px;
  border: 2px solid #000;
  background: #000;
  color: #fff;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.payment-method-btn:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.payment-method-btn:active {
  transform: translateY(0);
}

.payment-method-btn.secondary {
  background: #fff;
  color: #000;
  border-color: #ddd;
}

.payment-method-btn.secondary:hover {
  background: #f5f5f5;
  border-color: #000;
}

/* Card Form Section */
.card-form-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #eee;
}

.payment-method-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #666;
  font-size: 14px;
}

.lock-icon {
  font-size: 20px;
}

.card-element {
  padding: 16px;
  border: 2px solid #ddd;
  border-radius: 8px;
  background: #fff;
  margin-bottom: 8px;
  transition: border-color 0.2s;
}

.card-element:focus-within {
  border-color: #000;
}

.card-errors {
  color: #d32f2f;
  font-size: 14px;
  margin-bottom: 12px;
  min-height: 20px;
}

.commission-note {
  background: #f5f5f5;
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
  color: #666;
  margin-bottom: 16px;
  line-height: 1.6;
}

.commission-note span {
  font-weight: 600;
  color: #000;
}

.tap-charge-btn {
  width: 100%;
  padding: 16px;
  border: none;
  background: #000;
  color: #fff;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.tap-charge-btn:hover:not(:disabled) {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tap-charge-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* QR Payment Modal */
.qr-payment-modal {
  max-width: 450px;
  width: 90%;
}

.qr-content {
  padding: 20px;
  text-align: center;
}

.qr-amount {
  font-size: 48px;
  font-weight: 700;
  color: #000;
  margin-bottom: 8px;
}

.qr-note {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

.qr-instruction {
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
}

.qr-code-container {
  background: #fff;
  border: 2px solid #eee;
  border-radius: 12px;
  padding: 20px;
  margin: 0 auto 24px;
  display: inline-block;
}

#qrCodeCanvas {
  display: flex;
  justify-content: center;
  align-items: center;
}

#qrCodeCanvas canvas,
#qrCodeCanvas img {
  border-radius: 8px;
}

.qr-fallback {
  padding: 20px;
  background: #f5f5f5;
  border-radius: 8px;
}

/* QR Instructions */
.qr-instructions {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}

.instruction-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  text-align: left;
  font-size: 14px;
  color: #333;
}

.instruction-step:not(:last-child) {
  border-bottom: 1px solid #eee;
}

.step-icon {
  font-size: 24px;
  width: 32px;
  text-align: center;
}

/* QR Link Section */
.qr-link-section {
  margin-top: 20px;
  text-align: left;
}

.qr-link-section label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  margin-bottom: 8px;
}

.link-copy-group {
  display: flex;
  gap: 8px;
}

.link-copy-group input {
  flex: 1;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 13px;
  font-family: monospace;
  background: #f5f5f5;
}

.copy-btn {
  padding: 12px 16px;
  border: 2px solid #000;
  background: #000;
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.copy-btn:hover {
  background: #333;
  transform: translateY(-2px);
}

/* QR Waiting */
.qr-waiting {
  margin-top: 24px;
  padding: 20px;
  background: #f0f9ff;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #e0e0e0;
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.qr-waiting p {
  margin: 0;
  color: #666;
  font-size: 14px;
}

/* Success Modal */
.tap-success {
  max-width: 400px;
  width: 90%;
  text-align: center;
  padding: 32px;
}

.success-icon {
  font-size: 80px;
  margin-bottom: 16px;
  animation: bounceIn 0.5s;
}

@keyframes bounceIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.tap-success h2 {
  font-size: 24px;
  margin-bottom: 16px;
  color: #000;
}

.success-amount {
  font-size: 48px;
  font-weight: 700;
  color: #4caf50;
  margin-bottom: 12px;
}

.tap-success p {
  color: #666;
  margin-bottom: 16px;
}

.transaction-id {
  font-family: monospace;
  font-size: 12px;
  color: #999;
  background: #f5f5f5;
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 24px;
}

.done-btn {
  width: 100%;
  padding: 16px;
  border: none;
  background: #000;
  color: #fff;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.done-btn:hover {
  background: #333;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 480px) {
  .amount-input-group input {
    font-size: 24px;
  }
  
  .quick-btn {
    font-size: 13px;
    padding: 10px;
  }
  
  .qr-amount {
    font-size: 36px;
  }
  
  .success-amount {
    font-size: 36px;
  }
  
  .link-copy-group {
    flex-direction: column;
  }
  
  .copy-btn {
    width: 100%;
  }
}
