/* ─── PWA Install Banner ─── */
#pwa-install-banner {
    position: fixed;
    bottom: -120px;
    left: 0;
    right: 0;
    z-index: 99999;
    padding: 0 1rem 1rem;
    transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

#pwa-install-banner.pwa-banner-visible {
    bottom: 0;
    pointer-events: auto;
}

.pwa-banner-content {
    max-width: 480px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.97), rgba(30, 41, 59, 0.97));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    box-shadow: 0 -4px 30px rgba(99, 102, 241, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.pwa-banner-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.pwa-banner-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.pwa-banner-info div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pwa-banner-info strong {
    color: #f1f5f9;
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pwa-banner-info span {
    color: #94a3b8;
    font-size: 0.78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pwa-banner-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.pwa-btn-install {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0.55rem 1.1rem;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    white-space: nowrap;
}

.pwa-btn-install:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.pwa-btn-install:active {
    transform: scale(0.97);
}

.pwa-btn-dismiss {
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.55rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    white-space: nowrap;
}

.pwa-btn-dismiss:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
}

@media (max-width: 420px) {
    .pwa-banner-content {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .pwa-banner-info {
        justify-content: center;
    }

    .pwa-banner-actions {
        width: 100%;
        justify-content: center;
    }
}