/* Garante que o botão tenha o mesmo estilo dos outros */
.compartilhar-botoes a.instalar-app {
    background-color: #ff9800;
    display: none; /* Começa escondido */
    align-items: center;
    justify-content: center;
}

/* Quando disponível para instalação */
.compartilhar-botoes a.instalar-app.available {
    display: flex;
    animation: pulse 2s infinite;
}

/* Efeito de pulsação */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Estilo quando instalado */
.compartilhar-botoes a.instalar-app.installed {
    background-color: #4CAF50 !important;
    animation: none;
}










.pwa-install-card {
  background: linear-gradient(135deg, #dd4815 0%, #e66e47 100%);
  color: white;
  border-radius: var(--border-radius-md);
  margin: 0 15px 15px;
  padding: 16px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: relative;
  display: none; /* Hidden by default */
}

.pwa-install-card.show {
  display: block;
}

.pwa-install-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,.1)' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.3;
}

.pwa-install-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.pwa-install-text {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.pwa-install-icon {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pwa-install-message {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
}

.pwa-install-buttons {
  display: flex;
  gap: 10px;
}

.pwa-install-button {
  background-color: white;
  color: var(--primary-color);
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.pwa-install-button:hover {
  transform: translateY(-2px);
  background-color: var(--gray-100);
}

.pwa-install-dismiss {
  background-color: transparent;
  color: white;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.pwa-install-dismiss:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .pwa-install-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

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


