.pwa-install-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  padding: 12px 12px 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(23, 55, 116, 0.18);
  font-family: "Poppins", system-ui, sans-serif;
  animation: pwa-banner-in 0.25s ease-out;
}

.pwa-install-icon {
  flex: none;
  width: 44px;
  height: 44px;
}

.pwa-install-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.pwa-install-text strong {
  color: #173774;
  font-size: 0.92rem;
}

.pwa-install-text span {
  color: #64748b;
  font-size: 0.8rem;
}

.pwa-install-action {
  flex: none;
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: #173774;
  color: #ffffff;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.pwa-install-action:hover {
  background: #294d98;
}

.pwa-install-close {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
}

.pwa-install-close:hover {
  background: #f1f5f9;
  color: #173774;
}

@keyframes pwa-banner-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .pwa-install-banner { animation: none; }
}

.pwa-offline-body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #edf3ff;
  font-family: "Poppins", system-ui, sans-serif;
  box-sizing: border-box;
}

.pwa-offline {
  max-width: 420px;
  padding: 36px 28px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(23, 55, 116, 0.12);
  text-align: center;
}

.pwa-offline-logo {
  width: 160px;
  height: auto;
}

.pwa-offline h1 {
  margin: 20px 0 8px;
  color: #173774;
  font-size: 1.5rem;
}

.pwa-offline p {
  margin: 0 0 24px;
  color: #64748b;
  line-height: 1.5;
}

.pwa-offline-retry {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  background: #173774;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}
