/* Popup styling */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.popup.hidden {
  display: none;
}

.popup-content {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  width: 90%;
  max-width: 450px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.3s ease;
}

.popup-content h2 {
  margin-top: 0;
}

.popup-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.pwa-install-options-button {
  flex: 1;
  margin: 0 0.25rem;
  padding: 0.75rem;
  font-size: 1rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: 0.2s ease;
}

#install-btn {
  background: #E90073;
  color: white;
}

#install-btn:hover {
  opacity: 0.7;
}

#close-popup {
  background: #ddd;
}

#close-popup:hover {
  background: #ccc;
}


#error-message, #info-message {
  margin-top: 50px;
  width: 90%;
  max-width: 450px;
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  animation: fadeInUp 0.3s ease;
}


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