:root {
    --bs-bottom-nav-z-index: 1030;
    --bs-bottom-nav-height: 64px;
}

.mobile-bottom-nav {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100%;
    height: var(--bs-bottom-nav-height);
    background-color: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.03);
    z-index: var(--bs-bottom-nav-z-index);
    padding-bottom: env(safe-area-inset-bottom, 0);
    will-change: transform;
    box-sizing: content-box;
}

.mobile-nav-item {
    color: rgba(0, 0, 0, 0.45);
    flex: 1;
    height: 100%;
    padding: 6px 0;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.15s ease;
}

.mobile-nav-item:active {
    transform: scale(0.92);
}

.mobile-nav-item.active, .mobile-nav-item:hover {
    color: var(--primary-color, #dd0027);
}

.mobile-nav-item i {
    font-size: 1.3rem;
    display: block;
    text-align: center;
    margin-bottom: 2px;
}

.mobile-nav-label {
    font-size: 0.68rem;
    display: block;
    text-align: center;
}

.navbar.fixed-top {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 1030 !important;
}

body {
    padding-top: 75px !important;
}

@media (max-width: 575.98px) {
    body {
        padding-top: 60px !important;
        padding-bottom: var(--bs-bottom-nav-height) !important;
    }
}

@media (min-width: 576px) {
    .mobile-bottom-nav {
        display: none !important;
    }
}
