/* Mobile Bottom Navigation Bar Styles */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 50;
    padding: 8px 0;
    display: flex;
    justify-content: space-around;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
    /* Hide on desktop by default */
    display: none;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    width: 25%;
    position: relative;
}

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

.mobile-nav-item i {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.mobile-nav-item span {
    font-size: 0.7rem;
    font-weight: 500;
    text-align: center;
}

.mobile-nav-item.active {
    color: #10B981; /* Primary color */
}

.mobile-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background-color: #10B981;
    border-radius: 50%;
}

/* Add padding to the bottom of the page to account for the nav bar */
@media (max-width: 768px) {
    body {
        padding-bottom: 70px;
    }

    /* Adjust footer padding */
    footer {
        padding-bottom: calc(1.5rem + 70px);
    }

    /* Show the bottom navigation only on mobile */
    .mobile-bottom-nav {
        display: flex;
    }
}

/* Animation for active state */
.mobile-nav-item.active i {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Glassmorphic effect */
.mobile-bottom-nav {
    background: rgba(26, 26, 26, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
