﻿#pwa-banner {
    position: fixed;
    top: -100px; 
    bottom: unset;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    padding: 1rem 1rem 0; /* ← padding no topo agora */
    transition: top 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

    #pwa-banner.visible {
        top: 0; /* ← era bottom: 0 */
    }

#pwa-banner-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 0.75rem 1rem;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
    max-width: 480px;
    width: 100%;
}

    #pwa-banner-inner img {
        width: 48px;
        height: 48px;
        border-radius: 10px;
        flex-shrink: 0;
    }

    #pwa-banner-inner div {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    #pwa-banner-inner strong {
        font-size: 0.9rem;
        color: #111;
    }

    #pwa-banner-inner span {
        font-size: 0.78rem;
        color: #6b7280;
    }

#pwa-install-btn {
    background: #000;
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

    #pwa-install-btn:hover {
        background: #333;
    }

#pwa-dismiss-btn {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    transition: color 0.2s;
}

    #pwa-dismiss-btn:hover {
        color: #111;
    }
