/* --- Stili Generici Mobile (App Globale) --- */
@media screen and (max-width: 767px) {
    body {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        background-size: cover;
        padding-bottom: 70px;
    }

    .main-app-container {
        max-width: 100% !important;
        padding: 0 10px;
        box-sizing: border-box;
    }

    /* --- Quadratino Fluttuante PWA (Smartphone) --- */
    .pwa-mobile-float-btn {
        position: fixed !important;
        top: 30px !important;
        right: 5px !important;
        background: #4A148C;
        color: white;
        border: none;
        width: 56px;
        height: 56px;
        border-radius: 14px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        box-shadow: 0 4px 12px rgba(74, 20, 140, 0.4);
        cursor: pointer;
        z-index: 1999;
        transition: transform 0.2s, background 0.2s;
    }

    .pwa-mobile-float-btn .float-icon {
        font-size: 1.2rem;
        line-height: 1;
    }

    .pwa-mobile-float-btn .float-text {
        font-size: 0.55rem;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

    .pwa-mobile-float-btn:active {
        transform: scale(0.92);
        background: #6a1bb2;
    }
    /* Nascondi il pulsante desktop su schermi mobile */
    #pwa-install-pc-btn {
        display: none !important;
    }
}
}
