.pwa-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  padding: 12px 12px 12px 14px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  font-family: Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  color: #222222;
}

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

.pwa-banner-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  flex-shrink: 0;
}

.pwa-banner-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  line-height: 1.3;
}

.pwa-banner-text span {
  color: #666666;
  font-size: 13px;
}

.pwa-banner-install {
  flex-shrink: 0;
  border: 0;
  border-radius: 6px;
  padding: 8px 14px;
  background: #f06b68;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.pwa-banner-close {
  flex-shrink: 0;
  border: 0;
  background: transparent;
  color: #999999;
  font-size: 22px;
  line-height: 1;
  padding: 4px;
  cursor: pointer;
}

/* Cada plataforma muestra solo su texto y sus controles */
.pwa-banner-android,
.pwa-banner-ios,
.pwa-banner--ios .pwa-banner-install {
  display: none;
}

.pwa-banner--android .pwa-banner-android,
.pwa-banner--ios .pwa-banner-ios {
  display: inline;
}

/* Icono de "Compartir" de Safari */
.pwa-share-icon {
  display: inline-block;
  width: 14px;
  height: 16px;
  vertical-align: -3px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 18' fill='none' stroke='%23007aff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 1v11M3.5 4.5 7 1l3.5 3.5M4.5 7.5H2v9.5h10V7.5H9.5'/%3E%3C/svg%3E");
}
