/* Mobile Navigation Bar CSS
 * Created: <?php echo date('Y-m-d'); ?>
 * Description: Styles for the mobile-friendly navigation bar that appears at the bottom of the screen on small devices
 */

.mobile-nav {
    display: none; /* Hidden by default, will be shown on mobile via media query */
}

/* Show the mobile navigation on small screens only */
@media (max-width: 767.98px) {
    .mobile-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: #fff;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        height: 60px;
        padding: 5px 0;
        border-top: 1px solid #eaeaea;
    }
    
    body {
        padding-bottom: 65px; /* Add padding to body to prevent content from being hidden behind the nav */
    }
    
    .ak-mobile-nav-btns {
        display: flex;
        width: 100%;
        justify-content: space-around;
        align-items: center;
    }
    
    .ak-mobile-nav-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: #666;
        text-decoration: none;
        font-size: 0.7rem;
        padding: 5px;
        transition: color 0.2s ease;
    }
    
    .ak-mobile-nav-btn.active {
        color: #007bff; /* Highlight active item */
    }
    
    .ak-mobile-nav-btn i {
        font-size: 1.4rem;
        margin-bottom: 3px;
    }
    
    /* Add a little animation for tap effect */
    .ak-mobile-nav-btn:active {
        transform: scale(0.95);
    }
}

/* RTL Support for Arabic */
[dir="rtl"] .ak-mobile-nav-btns {
    flex-direction: row-reverse;
}
