@keyframes ota-progress {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(300%);
  }
}

#update-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13, 71, 161, 0.95);
  z-index: 9999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  padding: 24px;
}

#update-overlay p.title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 8px;
}

#update-overlay p.subtitle {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 16px;
}

#update-overlay .progress-track {
  width: min(280px, 80vw);
  height: 8px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  overflow: hidden;
}

#update-progress-bar {
  height: 100%;
  width: 0%;
  background: white;
  border-radius: 999px;
  transition: width 0.2s ease;
}
