/* PWA Application Menu Styles */
.pwa-app-menu {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: #fff !important;
    border-top: 1px solid #e0e0e0 !important;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1) !important;
    z-index: 9999 !important;
    padding: 8px 0 !important;
    display: block !important;
    width: 100% !important;
}

.pwa-menu-container {
    max-width: 100% !important;
    margin: 0 auto !important;
}

.pwa-menu-items {
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    padding: 0 10px !important;
}

.pwa-menu-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-decoration: none !important;
    color: #6c757d !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    min-width: 60px !important;
    position: relative !important;
}

.pwa-menu-item:hover {
    color: #007bff !important;
    background-color: #f8f9fa !important;
    text-decoration: none !important;
}

.pwa-menu-item.active {
    color: #007bff !important;
    background-color: #e3f2fd !important;
}

.pwa-menu-item.whatsapp-btn {
    color: #25d366 !important;
}

.pwa-menu-item.whatsapp-btn:hover {
    color: #25d366 !important;
    background-color: #e8f5e8 !important;
}

.pwa-menu-item i {
    font-size: 20px !important;
    margin-bottom: 4px !important;
}

.pwa-menu-item span {
    font-size: 11px !important;
    font-weight: 500 !important;
    text-align: center !important;
    line-height: 1.2 !important;
}

/* Show PWA menu only on mobile devices */
@media (max-width: 768px) {
    .pwa-app-menu {
        display: block !important;
    }
    
    body {
        padding-bottom: 80px !important;
    }
}

/* Hide PWA menu on desktop */
@media (min-width: 769px) {
    .pwa-app-menu {
        display: none !important;
    }
    
    body {
        padding-bottom: 0 !important;
    }
}

/* Force show on small mobile devices */
@media (max-width: 480px) {
    .pwa-app-menu {
        display: block !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 9999 !important;
    }
    
    body {
        padding-bottom: 80px !important;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .pwa-app-menu {
        background: #1a1a1a !important;
        border-top-color: #333 !important;
    }
    
    .pwa-menu-item {
        color: #ccc !important;
    }
    
    .pwa-menu-item:hover {
        background-color: #333 !important;
    }
    
    .pwa-menu-item.active {
        background-color: #1e3a5f !important;
    }
}
