/* Mobile Bottom Bar - Frontend Styles */

/* Hide on desktop, show on mobile */
.mobile-bottom-bar {
    display: none;
}

@media screen and (max-width: 768px) {
    .mobile-bottom-bar {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 99999;
        direction: rtl;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
    }
    
    .mbb-container {
        display: flex;
        width: 100%;
    }
    
    .mbb-button {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 8px 5px;
        text-decoration: none;
        transition: opacity 0.2s ease;
        min-height: 60px;
    }
    
    .mbb-button:hover,
    .mbb-button:focus {
        opacity: 0.9;
        text-decoration: none;
    }
    
    .mbb-button:active {
        opacity: 0.8;
    }
    
    .mbb-icon {
        width: 24px;
        height: 24px;
        object-fit: contain;
        margin-bottom: 4px;
        filter: brightness(0) invert(1);
    }
    
    .mbb-text {
        font-size: 11px;
        font-weight: 500;
        text-align: center;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
        padding: 0 2px;
    }
    
    /* Add padding to body so content doesn't hide behind the bar */
    body {
        padding-bottom: 70px !important;
    }
}

/* Very small screens */
@media screen and (max-width: 360px) {
    .mbb-button {
        padding: 6px 3px;
        min-height: 55px;
    }
    
    .mbb-icon {
        width: 20px;
        height: 20px;
    }
    
    .mbb-text {
        font-size: 10px;
    }
}
