/* PWA Installation Banner V3 */
#pwa-v3-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 999999;
    padding: 16px;
    display: none; /* Hidden by default */
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#pwa-v3-banner.show {
    display: flex;
    transform: translateY(0);
}

.pwa-content {
    display: flex;
    align-items: center;
    flex: 1;
}

.pwa-logo {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    margin-right: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.pwa-text {
    flex: 1;
}

.pwa-title {
    font-weight: 700;
    font-size: 16px;
    color: #333;
    margin: 0;
    display: block;
}

.pwa-desc {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.pwa-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

#pwa-install-btn {
    background: #ffcc00;
    color: #333;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(255, 204, 0, 0.4);
    white-space: nowrap;
}

#pwa-close-btn {
    background: none;
    border: none;
    color: #999;
    font-size: 28px;
    cursor: pointer;
    padding: 10px 15px; /* Increased hitbox for mobile */
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.1s ease;
}

#pwa-close-btn:active {
    transform: scale(0.8);
    color: #333;
}

/* iOS Specific Instructions Styling */
.pwa-ios-instructions {
    font-size: 12px;
    color: #444;
    font-style: italic;
    margin-top: 4px;
    display: block;
}

.pwa-ios-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin: 0 2px;
}

/* Standalone Mode - Top Right Share Button V3 */
#pwa-v3-share-btn {
    position: fixed;
    top: 90px;
    left: 20px;
    background: #ffcc00;
    color: #333;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 9999999;
    border: 2px solid #fff;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#pwa-v3-share-btn:active {
    transform: scale(0.9);
}

#pwa-v3-share-btn svg {
    width: 24px;
    height: 24px;
}

/* Banner styles continued... */
