.va-pwa-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  z-index: 999999;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 40px 12px 12px;
  background: #fff;
  color: #1f2937;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18), 0 2px 6px rgba(0, 0, 0, .08);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.35;
  opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
  max-width: 480px;
  margin: 0 auto;
}
.va-pwa-android { bottom: 12px; transform: translateY(120%); }
.va-pwa-ios { bottom: calc(16px + env(safe-area-inset-bottom)); transform: translateY(120%); }
.va-pwa-banner.va-pwa-show { opacity: 1; transform: translateY(0); }

.va-pwa-icon { width: 48px; height: 48px; border-radius: 12px; flex: 0 0 48px; object-fit: cover; }
.va-pwa-text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.va-pwa-text strong { font-size: 15px; }
.va-pwa-text span { color: #4b5563; }
.va-pwa-text svg { vertical-align: -3px; color: #2563eb; }

.va-pwa-cta,
.va-pwa-install-btn {
  background: var(--va-pwa-color, #1e3a8a);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}
.va-pwa-install-btn { padding: 12px 24px; font-size: 16px; }

.va-pwa-close {
  position: absolute;
  top: 6px;
  right: 8px;
  background: none;
  border: 0;
  font-size: 22px;
  line-height: 1;
  color: #9ca3af;
  cursor: pointer;
  padding: 4px;
}

/* Panah penunjuk ke tombol Bagikan Safari (bawah tengah) */
.va-pwa-ios::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  margin-left: -8px;
  border: 8px solid transparent;
  border-bottom: 0;
  border-top-color: #fff;
}

.va-pwa-standalone .va-pwa-install-btn { display: none !important; }
