/* Mobile Bottom Navigation Bar */
.navbar-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e0e0e0;
    padding: 0;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
    z-index: 1030;
}

body.dark-theme .navbar-mobile {
    background: #2a2a2a;
    border-top-color: #444;
}

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

.nav-mobile-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    height: 100%;
    flex: 1;
    transition: all 0.2s ease;
    cursor: pointer;
}

body.dark-theme .nav-mobile-item {
    color: #999;
}

.nav-mobile-item:hover,
.nav-mobile-item.active {
    color: #007bff;
}

body.dark-theme .nav-mobile-item.active {
    color: #4da3ff;
}

.nav-mobile-icon {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.nav-mobile-label {
    font-size: 0.65rem;
    font-weight: 500;
}

/* Adjust body padding for mobile nav */
body {
    padding-bottom: 60px;
}

/* Theme Toggle - moved to navbar */
.theme-toggle {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 60px);
    padding: 1rem;
}

/* Hide desktop navbar */
.navbar-desktop {
    display: none;
}

@media (min-width: 768px) {
    .navbar-mobile {
        display: none;
    }
    
    .navbar-desktop {
        display: block;
    }
    
    body {
        padding-bottom: 0;
    }
}
