/* PWA Install Banner - Shared Styles */
.pwa-install-banner {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #ffffff;
    border: 2px solid #6f42c1;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 10px 30px -5px rgba(111, 66, 193, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 10005;
    max-width: 380px;
    width: calc(100vw - 48px);
    animation: pwaSlideInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transition: all 0.3s ease;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Dark mode support if variables are present */
[data-theme="dark"] .pwa-install-banner {
    background: #1f2937;
    border-color: #9461f0;
    color: #f9fafb;
    box-shadow: 0 10px 40px -5px rgba(148, 97, 240, 0.4);
}

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

.pwa-install-banner .pwa-icon {
    width: 44px;
    height: 44px;
    background: rgba(111, 66, 193, 0.08);
    color: #6f42c1;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.pwa-install-banner .pwa-content {
    flex: 1;
}

.pwa-install-banner .pwa-content h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
}

[data-theme="dark"] .pwa-install-banner .pwa-content h4 {
    color: #f9fafb;
}

.pwa-install-banner .pwa-content p {
    margin: 2px 0 0;
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.3;
}

[data-theme="dark"] .pwa-install-banner .pwa-content p {
    color: #9ca3af;
}

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

.pwa-install-banner .btn-pwa-install {
    background: #6f42c1;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.pwa-install-banner .btn-pwa-install:hover {
    background: #502b92;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(111, 66, 193, 0.3);
}

.pwa-install-banner .btn-pwa-close {
    background: transparent;
    border: none;
    color: #9ca3af;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.pwa-install-banner .btn-pwa-close:hover {
    background: #f3f4f6;
    color: #111827;
}

[data-theme="dark"] .pwa-install-banner .btn-pwa-close:hover {
    background: #374151;
    color: #f9fafb;
}

@media (max-width: 480px) {
    .pwa-install-banner {
        bottom: 16px;
        right: 16px;
        padding: 12px;
        gap: 12px;
    }
    .pwa-install-banner .pwa-icon {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
    .pwa-install-banner .pwa-content h4 {
        font-size: 0.85rem;
    }
    .pwa-install-banner .pwa-content p {
        font-size: 0.75rem;
    }
}
