/* v1.10.2 -- Unified floating PWA install button */
.pwa-install-float {
    position: fixed;
    bottom: 60px;
    right: 20px;
    z-index: 9999;
    display: none;
    align-items: center;
    gap: 8px;
    background-color: #0d6efd;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: background-color 0.2s ease, transform 0.2s ease;
    line-height: 1.4;
    white-space: nowrap;
}

.pwa-install-float:hover {
    background-color: #0b5ed7;
    transform: translateY(-1px);
}

.pwa-install-float:active {
    transform: translateY(0);
}

.pwa-install-float i {
    font-size: 16px;
}

.pwa-install-float.installed {
    background-color: #198754;
    cursor: default;
    pointer-events: none;
}

.pwa-install-float.installed:hover {
    transform: none;
}

.pwa-install-float--close {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: #fff;
    color: #6c757d;
    border: none;
    border-radius: 50%;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    padding: 0;
    transition: color 0.2s ease;
}

.pwa-install-float--close:hover {
    color: #dc3545;
}

@media (max-width: 576px) {
    .pwa-install-float {
        bottom: 50px;
        right: 16px;
        padding: 8px 14px;
        font-size: 13px;
    }

    .pwa-install-float i {
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .pwa-install-float {
        padding: 8px 12px;
        font-size: 12px;
    }
}
