/* AsianSomoy PWA App Install Banner & Push Prompt Styles */

/* 1. Floating PWA App Install Banner (Mobile Only - Top / Header - Frosted Glass UI) */
#pwa-app-install-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #1e293b;
    border-bottom: 2px solid #dc2626;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    z-index: 9999999;
    animation: pwaSlideDown 0.35s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hind Siliguri", sans-serif;
}

/* Strictly Hide PWA Install Banners on Desktop Screens */
@media (min-width: 769px) {
    #pwa-app-install-banner,
    #asiansomoy-pwa-install-banner {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

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

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

.pwa-install-container {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    gap: 12px;
}

.pwa-install-logo img {
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    display: block;
    object-fit: cover;
}

.pwa-install-info {
    flex: 1;
    min-width: 0;
}

.pwa-install-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.pwa-install-desc {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pwa-install-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pwa-btn-install {
    background: #0284c7;
    color: #ffffff;
    border: none;
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    white-space: nowrap;
}

.pwa-btn-install:hover {
    background: #0369a1;
}

.pwa-btn-install:active {
    transform: scale(0.96);
}

.pwa-btn-close {
    background: transparent;
    border: none;
    font-size: 20px;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pwa-btn-close:hover {
    color: #475569;
}


