/* PWA install banner & button */
.pwa-install-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

/* --- Floating banner --- */
.pwa-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1075;
  transform: translateY(110%);
  transition: transform .35s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
.pwa-banner.show { transform: translateY(0); }
.pwa-banner-inner {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin: 0 auto 1rem;
  max-width: 720px;
  padding: .9rem 1rem;
  background: #ffffff;
  border: 1px solid rgba(13,33,55,.12);
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(13,33,55,.22);
}
.pwa-icon {
  width: 52px; height: 52px; flex: 0 0 52px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 3px 10px rgba(13,33,55,.18);
}
.pwa-copy { flex: 1 1 auto; min-width: 0; }
.pwa-copy-title { font-weight: 700; font-size: .98rem; color: #0d2137; line-height: 1.25; }
.pwa-copy-sub { font-size: .8rem; color: #6c757d; line-height: 1.3; margin-top: 2px; }
.pwa-actions { display: flex; align-items: center; gap: .4rem; flex: 0 0 auto; }
.pwa-btn {
  border: 0; cursor: pointer;
  font-weight: 600; font-size: .85rem;
  padding: .55rem 1rem; border-radius: 9px;
  transition: background-color .15s ease;
}
.pwa-btn-install { background: #0d2137; color: #fff; }
.pwa-btn-install:hover { background: #17324f; }
.pwa-btn-dismiss { background: transparent; color: #6c757d; }
.pwa-btn-dismiss:hover { background: rgba(13,33,55,.06); color: #0d2137; }

/* --- iOS instructions tooltip --- */
.pwa-ios-tip {
  position: fixed;
  left: 50%;
  bottom: 5.25rem;
  transform: translateX(-50%) translateY(10px);
  z-index: 1076;
  width: 92%;
  max-width: 360px;
  background: #0d2137;
  color: #fff;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  text-align: center;
  font-size: .85rem;
  line-height: 1.5;
  box-shadow: 0 12px 30px rgba(0,0,0,.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.pwa-ios-tip.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.pwa-ios-tip .bi { color: #ffd166; }
@media (max-width: 480px) {
  .pwa-banner-inner { max-width: 96%; }
}
