/* PWA Install Button Styles - Sticky Bottom Left */
.pwa-install-container {
    display: none; /* Hidden by default, shown by JS */
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
}

.btn-install-pwa {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: rgba(109, 40, 217, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(109, 40, 217, 0.3);
    border-radius: 20px;
    color: #6d28d9;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    font-size: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

body[data-theme="dark"] .btn-install-pwa {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
    color: #a78bfa;
}

.btn-install-pwa i {
    font-size: 1.4rem;
    color: #6d28d9;
}

body[data-theme="dark"] .btn-install-pwa i {
    color: #a78bfa;
}

.btn-install-pwa:hover {
    background: #6d28d9;
    color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 45px rgba(109, 40, 217, 0.4);
}

.btn-install-pwa:hover i {
    color: white;
}

body[data-theme="dark"] .btn-install-pwa:hover {
    background: #7c3aed;
    box-shadow: 0 15px 45px rgba(124, 58, 237, 0.5);
}

/* Mobile: Show only icon at bottom left */
@media (max-width: 768px) {
    .pwa-install-container {
        bottom: 20px;
        left: 20px;
    }

    .btn-install-pwa {
        padding: 16px;
        border-radius: 50%;
        width: 56px;
        height: 56px;
        justify-content: center;
        gap: 0;
        background: #6d28d9;
        color: white;
        border: none;
        box-shadow: 0 10px 30px rgba(109, 40, 217, 0.5);
    }

    .btn-install-pwa span {
        display: none; /* Hide text on mobile */
    }

    .btn-install-pwa i {
        color: white;
        font-size: 1.6rem;
    }
}
