/* Megacity — PWA Install Banner */

#pwa-install-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #1A2490;
    color: #fff;
    padding: 14px 16px;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,.35);
    min-width: 300px;
    max-width: calc(100vw - 32px);
    transition: transform .4s cubic-bezier(.34,1.56,.64,1), opacity .4s ease;
    opacity: 0;
}

#pwa-install-banner.pwa-banner--visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.pwa-banner__icon img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    flex-shrink: 0;
}

.pwa-banner__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pwa-banner__text strong {
    font-size: .9rem;
    font-weight: 700;
    white-space: nowrap;
}

.pwa-banner__text span {
    font-size: .78rem;
    color: rgba(255,255,255,.72);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pwa-banner__btn {
    background: #E63212;
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: opacity .2s;
}

.pwa-banner__btn:hover { opacity: .85; }

.pwa-banner__close {
    background: rgba(255,255,255,.15);
    color: #fff;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: .75rem;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}

.pwa-banner__close:hover { background: rgba(255,255,255,.25); }

@media (max-width: 400px) {
    #pwa-install-banner { bottom: 12px; padding: 12px 14px; gap: 10px; }
    .pwa-banner__text strong { font-size: .85rem; }
}
