/**
 * Install Instructions Modal Styles
 * Modal con instrucciones de instalación para Android/iOS
 */

#ispm-install-instructions {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  animation: fadeIn 0.3s ease-out;
}

#ispm-install-instructions .modal-content {
  background: #FFFFFF;
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease-out;
}

#ispm-install-instructions .modal-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid #E5E7EB;
}

#ispm-install-instructions .modal-title {
  font-size: 24px;
  font-weight: 700;
  color: #1F2937;
  margin: 0;
  line-height: 1.3;
}

#ispm-install-instructions .modal-subtitle {
  font-size: 14px;
  color: #6B7280;
  margin: 8px 0 0 0;
}

#ispm-install-instructions .modal-body {
  padding: 24px;
}

#ispm-install-instructions .step {
  margin-bottom: 32px;
}

#ispm-install-instructions .step:last-child {
  margin-bottom: 0;
}

#ispm-install-instructions .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #0066FF;
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

#ispm-install-instructions .step-text {
  font-size: 18px;
  color: #1F2937;
  line-height: 1.6;
  margin: 0 0 12px 0;
}

#ispm-install-instructions .step-text strong {
  color: #0066FF;
  font-weight: 700;
}

#ispm-install-instructions .step-image {
  width: 100%;
  max-width: 300px;
  height: 200px;
  background: #F3F4F6;
  border: 2px dashed #D1D5DB;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px auto;
  color: #9CA3AF;
  font-size: 14px;
  text-align: center;
  padding: 20px;
}

#ispm-install-instructions .step-image::before {
  content: '📷 Imagen placeholder';
}

#ispm-install-instructions .modal-footer {
  padding: 16px 24px 24px;
  border-top: 1px solid #E5E7EB;
}

#ispm-install-instructions .btn-understood {
  width: 100%;
  background: #00C853;
  color: #FFFFFF;
  border: none;
  padding: 16px 24px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 60px;
  box-shadow: 0 2px 8px rgba(0, 200, 83, 0.3);
}

#ispm-install-instructions .btn-understood:hover {
  background: #00B248;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 200, 83, 0.4);
}

#ispm-install-instructions .btn-understood:active {
  transform: translateY(0);
}

/* Animaciones */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 640px) {
  #ispm-install-instructions {
    padding: 16px;
  }
  
  #ispm-install-instructions .modal-content {
    max-height: 95vh;
  }
  
  #ispm-install-instructions .modal-header {
    padding: 20px 20px 12px;
  }
  
  #ispm-install-instructions .modal-title {
    font-size: 20px;
  }
  
  #ispm-install-instructions .modal-body {
    padding: 20px;
  }
  
  #ispm-install-instructions .step-text {
    font-size: 16px;
  }
  
  #ispm-install-instructions .step-image {
    height: 150px;
  }
}
