/* Modal de Método de Pago */
#paymentMethodModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 99999;
}

#paymentMethodModal[style*="display: flex"],
#paymentMethodModal[style*="display:flex"] {
  display: flex !important;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#paymentMethodModal .modal-content {
  position: relative;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  max-width: 500px;
  width: 90%;
  z-index: 100000;
  animation: slideUp 0.3s ease;
  margin: 2rem;
}

#paymentMethodModal .modal-close:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  transform: rotate(90deg);
}

.payment-option:hover {
  border-color: #667eea !important;
  background: #f8f8ff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  #paymentMethodModal .modal-content {
    max-width: 95% !important;
    margin: 1rem;
    max-height: 85vh;
    overflow-y: auto;
  }
  
  #paymentMethodModal .payment-option {
    padding: 1rem !important;
    min-height: auto !important;
  }
  
  #paymentMethodModal .modal-header h2 {
    font-size: 1.25rem !important;
  }
  
  #paymentMethodModal .modal-body {
    padding: 1rem !important;
  }
}
/* Estilos para Modal de Envío */
#shippingMethodModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 99999;
}

#shippingMethodModal[style*="display: flex"],
#shippingMethodModal[style*="display:flex"] {
  display: flex !important;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

#shippingMethodModal .modal-content {
  position: relative;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  max-width: 500px;
  width: 90%;
  z-index: 100000;
  animation: slideUp 0.3s ease;
  margin: 2rem;
}

#shippingMethodModal .modal-close:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  transform: rotate(90deg);
}

.shipping-option:hover {
  border-color: #ff6b6b !important;
  background: #fff5f5 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.15);
}

@media (max-width: 768px) {
  #shippingMethodModal .modal-content {
    max-width: 95% !important;
    margin: 1rem;
    max-height: 85vh;
    overflow-y: auto;
  }
  
  #shippingMethodModal .shipping-option {
    padding: 1rem !important;
    min-height: auto !important;
  }
}

/* Estilos para Modal de Transferencia */
#transferModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 99999;
}

#transferModal[style*="display: flex"],
#transferModal[style*="display:flex"] {
  display: flex !important;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

#transferModal .modal-content {
  position: relative;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  max-width: 550px;
  width: 90%;
  z-index: 100000;
  animation: slideUp 0.3s ease;
  margin: 2rem;
  max-height: 90vh;
  overflow-y: auto;
}

#transferModal .modal-close:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  transform: rotate(90deg);
}

#dropZone {
  transition: all 0.3s ease;
}

#dropZone:hover {
  border-color: #667eea !important;
  background: #f3f4f6 !important;
}

#dropZone.dragover {
  border-color: #667eea !important;
  background: #f3f4f6 !important;
}

#proofFile {
  display: none;
}

@media (max-width: 768px) {
  #transferModal .modal-content {
    max-width: 95% !important;
    margin: 1rem;
  }
  
  #transferModal .modal-body {
    padding: 1rem !important;
  }
  
  #transferModal h3 {
    font-size: 1.1rem !important;
  }
}