.bottom-nav-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 2px solid var(--third-color-heavy);
    z-index: 1000;
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.1);
    padding-bottom: max(env(safe-area-inset-bottom), 0.5rem);
    display: none;
}

.bottom-nav-container.show {
    display: block;
}

.bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 70px;
    max-width: 100%;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ccc;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 8px 0;
    flex: 1;
    border-radius: 12px;
    margin: 0 4px;
    position: relative;
}

/* Inactive state - disabled design */
.nav-item i {
    font-size: 24px;
    margin-bottom: 4px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: #d0d0d0;
    opacity: 0.6;
}

.nav-item span {
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    color: #777777;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Active state */
.nav-item.active {
    background: rgba(255, 89, 0, 0.08);
}

.nav-item.active i {
    color: var(--third-color-heavy);
    opacity: 1;
}

.nav-item.active span {
    color: var(--third-color-heavy);
}

.nav-item.active::before {
    content: '';
    position: absolute;
    top: -4px;
    width: 30px;
    height: 3px;
    background: var(--third-color-heavy);
    border-radius: 2px;
}

/* Hover state */
.nav-item:hover:not(.active) i {
    opacity: 0.8;
    color: #999;
}

.nav-item:hover:not(.active) span {
    color: #999;
}

/* Badge for notifications (optional) */
.nav-item .badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--third-color-heavy);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

/* Adjust main content bottom padding on mobile */
@media (max-width: 767.98px) {
    .bottom-nav-container {
       
        border-radius: 20px;
    }

    html {
        scroll-padding-bottom: 78px;
    }

    body {
        padding-bottom: 78px;
    }

    main {
        padding-bottom: 20px;
    }

    .bottom-nav-container.show {
        display: block;
    }
}

/* Hide on desktop */
@media (min-width: 768px) {
    .bottom-nav-container {
        display: none !important;
    }

    body {
        padding-bottom: 0 !important;
    }

    main {
        padding-bottom: 0 !important;
    }
}
