/**
 * LEDS Mobile Bottom Menu
 * Menu fixo na parte inferior para dispositivos mobile
 */

/* Menu Bottom - Apenas Mobile */
.leds-bottom-menu {
    display: none;
}

@media (max-width: 768px) {
    .leds-bottom-menu {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 56px;
        background: #000000;
        z-index: 9998;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
        justify-content: space-around;
        align-items: center;
    }
    
    .leds-bottom-menu-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        text-decoration: none;
        color: #ffffff;
        padding: 8px 4px;
        transition: opacity 0.2s ease;
        flex: 1;
        max-width: 100%;
        min-width: 0;
    }
    
    .leds-bottom-menu-item:active {
        opacity: 0.7;
    }
    
    .leds-bottom-menu-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }
    
    .leds-bottom-menu-icon svg {
        width: 24px;
        height: 24px;
        display: block;
    }
    
    .leds-bottom-menu-icon svg path,
    .leds-bottom-menu-icon svg circle,
    .leds-bottom-menu-icon svg rect {
        fill: currentColor;
    }
    
    .leds-bottom-menu-text {
        font-weight: 500;
        font-size: 12px;
        line-height: 132%;
        text-align: center;
        color: #ffffff;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
    
    /* Distribuição automática dos itens */
    .leds-bottom-menu-item {
        width: 100%;
    }
    
    /* Ajuste para evitar sobreposição com conteúdo */
    body {
        padding-bottom: 56px;
    }
    
    /* Ajuste para quando há drawer aberto */
    body.drawer-open .leds-bottom-menu {
        z-index: 9997;
    }
}

/* Desktop - Esconder completamente */
@media (min-width: 769px) {
    .leds-bottom-menu {
        display: none !important;
    }
    
    body {
        padding-bottom: 0 !important;
    }
}

