.pwa-install-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 10050;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0d6e7a 0%, #0a5560 100%);
  color: #fff;
  box-shadow: 0 12px 32px rgba(13, 110, 122, 0.35);
  animation: pwaSlideUp 0.35s ease;
}

.pwa-install-banner[hidden] {
  display: none !important;
}

.pwa-install-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.pwa-install-copy {
  flex: 1;
  min-width: 0;
}

.pwa-install-copy strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.pwa-install-copy span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  opacity: 0.92;
  line-height: 1.35;
}

.pwa-install-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.pwa-install-btn {
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  background: #fff;
  color: #0d6e7a;
}

.pwa-install-btn:hover {
  background: #eefaf8;
}

.pwa-install-dismiss {
  border: none;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.pwa-install-dismiss:hover {
  background: rgba(255, 255, 255, 0.25);
}

@keyframes pwaSlideUp {
  from { transform: translateY(16px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 640px) {
  .pwa-install-banner {
    flex-wrap: wrap;
    bottom: max(12px, env(safe-area-inset-bottom));
  }

  .pwa-install-actions {
    width: 100%;
    justify-content: flex-end;
  }
}
