/* PWA Sticky Floating Banner */
#install-banner {
    background: var(--primary-text) !important;
    color: white !important;
    padding: 12px 20px;
    display: none; /* Ativado via JS */
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Lógica de Empuxo para Desktop e Mobile */
body.pwa-active {
    margin-top: 54px; /* Empurra todo o site para baixo */
}

body.pwa-active header.desktop-only {
    top: 54px; /* Ajusta o navbar sticky para ficar abaixo do banner */
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.banner-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: white;
    padding: 2px;
}

/* Forçar exibição apenas de um texto por vez */
.text-desktop { display: inline-block !important; }
.text-mobile { display: none !important; }

.btn-text-desktop { display: inline-block !important; }
.btn-text-mobile { display: none !important; }

#install-button {
    background: white !important;
    border: none !important;
    color: var(--primary-text) !important;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.8rem;
    cursor: pointer;
    text-transform: uppercase;
}

/* Ajustes Mobile */
@media (max-width: 768px) {
    #install-banner {
        justify-content: space-between;
        padding: 12px 15px;
    }
    
    .text-desktop { display: none !important; }
    .text-mobile { display: inline-block !important; font-size: 0.9rem; }
    
    .btn-text-desktop { display: none !important; }
    .btn-text-mobile { display: inline-block !important; }
    
    #install-button {
        padding: 6px 15px;
    }
}
