.install-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.install-overlay:not(.hidden) {
  opacity: 1;
  pointer-events: auto;
}

.install-box {
  max-width: 380px;
  background: #202020;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 0 25px rgba(0,0,0,0.6);
  color: #f5f5f5;                 /* Light text for dark background */
  font-family: system-ui, sans-serif;
  text-align: center;
}

.install-box h2 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 0.5em;
}

.install-box p {
  color: #ddd;
  margin: 0.5em 0;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background: #444;
  border-radius: 5px;
  overflow: hidden;
  margin: 16px 0;
  box-shadow: inset 0 0 4px rgba(0,0,0,0.4);
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #0a84ff, #40b3ff);
  transition: width 0.3s ease;
}

@keyframes pulse-text {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

#install-status {
  animation: pulse-text 1.5s infinite ease-in-out;
}