/* Popup d'installation PWA */
#install-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#install-popup.show {
  opacity: 1;
  visibility: visible;
}

.install-popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.install-popup-content {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  max-width: 400px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

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

.install-popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 30px;
  color: #999;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 30px;
  height: 30px;
}

.install-popup-close:hover {
  color: #333;
}

.install-popup-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.install-popup-content h3 {
  margin: 0 0 15px;
  font-size: 24px;
  color: #333;
  font-weight: 600;
}

.install-popup-content p {
  margin: 0 0 25px;
  color: #666;
  font-size: 16px;
  line-height: 1.5;
}

.install-popup-buttons {
  display: flex;
  gap: 10px;
  flex-direction: column;
}

.install-popup-btn {
  padding: 14px 24px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.install-popup-btn-primary {
  background: #1A73E8;
  color: white;
}

.install-popup-btn-primary:hover {
  background: #1557b0;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(26, 115, 232, 0.3);
}

.install-popup-btn-secondary {
  background: #f1f3f4;
  color: #666;
}

.install-popup-btn-secondary:hover {
  background: #e8eaed;
}

/* Responsive */
@media (max-width: 480px) {
  .install-popup-content {
    padding: 25px 20px;
  }
  
  .install-popup-content h3 {
    font-size: 20px;
  }
  
  .install-popup-content p {
    font-size: 14px;
  }
}