/* 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;
  }
}
