/* PWA install banner */
.pwa-install-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1200;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: #17428c;
  color: #fff;
  box-shadow: 0 16px 40px rgba(23, 66, 140, 0.28);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.pwa-install-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.pwa-install-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1 1 180px;
  min-width: 0;
}

.pwa-install-text strong {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
}

.pwa-install-text span {
  font-size: 0.84rem;
  line-height: 1.35;
  opacity: 0.88;
}

.pwa-install-actions {
  display: flex;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.pwa-install-actions button {
  appearance: none;
  border: 0;
  border-radius: 9px;
  padding: 0.55rem 0.9rem;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}

.pwa-install-dismiss {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
}

.pwa-install-accept {
  background: #fff;
  color: #17428c;
}

@media (min-width: 720px) {
  .pwa-install-banner {
    left: auto;
    right: 1.25rem;
    bottom: 1.25rem;
    width: min(420px, calc(100vw - 2.5rem));
  }
}
