/**
 * Install Banner Styles
 * Banner de instalación en la parte superior
 */

#ispm-install-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
  color: #FFFFFF;
  padding: 16px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-100%);
  transition: transform 0.3s ease-out;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

#ispm-install-banner.show {
  transform: translateY(0);
}

#ispm-install-banner .banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

#ispm-install-banner .banner-text {
  flex: 1;
  min-width: 200px;
}

#ispm-install-banner .banner-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px 0;
  line-height: 1.3;
}

#ispm-install-banner .banner-subtitle {
  font-size: 14px;
  margin: 0;
  opacity: 0.95;
  line-height: 1.4;
}

#ispm-install-banner .banner-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

#ispm-install-banner .btn-install {
  background: #00C853;
  color: #FFFFFF;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 48px;
  min-width: 140px;
  box-shadow: 0 2px 8px rgba(0, 200, 83, 0.3);
}

#ispm-install-banner .btn-install:hover {
  background: #00B248;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 200, 83, 0.4);
}

#ispm-install-banner .btn-install:active {
  transform: translateY(0);
}

#ispm-install-banner .btn-close {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 24px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.2s ease;
  opacity: 0.8;
  flex-shrink: 0;
}

#ispm-install-banner .btn-close:hover {
  background: rgba(255, 255, 255, 0.2);
  opacity: 1;
}

/* Responsive */
@media (max-width: 640px) {
  #ispm-install-banner {
    padding: 14px 16px;
  }
  
  #ispm-install-banner .banner-content {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  
  #ispm-install-banner .banner-title {
    font-size: 16px;
  }
  
  #ispm-install-banner .banner-subtitle {
    font-size: 13px;
  }
  
  #ispm-install-banner .banner-actions {
    width: 100%;
    justify-content: space-between;
  }
  
  #ispm-install-banner .btn-install {
    flex: 1;
    min-width: auto;
  }
}

/* Animación de entrada */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

#ispm-install-banner.show {
  animation: slideDown 0.3s ease-out;
}
