/* Bottom Navigation Bar */
.bottom-nav {
    position: fixed !important;
    bottom: 0 !important;
    left: 0;
    right: 0;
    background: #fff;
    display: flex !important;
    justify-content: space-evenly;
    align-items: center;
    padding: 8px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999999;
    max-width: 100%;
    margin: 0 auto;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    height: 60px;
}

.bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    text-decoration: none;
    min-width: 64px;
    max-width: 80px;
    flex: 1;
    margin: 0 4px;
}

.bottom-nav .nav-item i {
    font-size: 20px;
    margin-bottom: 4px;
}

.bottom-nav .nav-item span {
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    width: 100%;
}

.bottom-nav .nav-item.active {
    color: #086be4;
}

/* Responsive Design */
@media (min-width: 768px) {
    .bottom-nav {
        max-width: 768px;
        border-radius: 10px 10px 0 0;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (min-width: 992px) {
    .bottom-nav {
        max-width: 992px;
    }
}

@media (min-width: 1200px) {
    .bottom-nav {
        max-width: 1200px;
    }
}

/* Extra small screens: ensure all nav items fit on 320px */
@media (max-width: 340px) {
    .bottom-nav {
        padding: 4px 0;
        height: 50px;
    }
    .bottom-nav .nav-item {
        min-width: 40px;
        max-width: 60px;
        margin: 0 1px;
    }
    .bottom-nav .nav-item i {
        font-size: 16px;
        margin-bottom: 2px;
    }
    .bottom-nav .nav-item span {
        font-size: 9px;
    }
}

/* Add padding to body to prevent content from being hidden */
body {
    padding-bottom: 70px !important;
}

/* Ensure modals and dropdowns appear above the navigation */
.modal, .dropdown-menu {
    z-index: 10000000;
} 