.learning-bottom-nav {
    display: none;
}

@media (max-width: 900px) {
    .learning-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 65px;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-top: 1px solid var(--border);
        z-index: 1000;
        justify-content: space-around;
        align-items: center;
        padding-bottom: env(safe-area-inset-bottom);
    }

    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #64748b;
        gap: 4px;
        flex: 1;
        height: 100%;
        transition: all 0.2s ease;
    }

    .bottom-nav-item.active {
        color: #2563eb;
    }

    .bottom-nav-icon {
        width: 24px;
        height: 24px;
    }

    .bottom-nav-icon svg {
        width: 100%;
        height: 100%;
    }

    .bottom-nav-item.active .bottom-nav-icon svg {
        stroke-width: 2.2;
    }

    .bottom-nav-text {
        font-size: 10px;
        font-weight: 600;
    }

    /* Hide sidebar on mobile for learning pages */
    .sidebar {
        display: none !important;
    }

    /* Adjust main content padding to account for bottom nav */
    .dashboard-main,
    .study-problems-main,
    .lectures-main,
    .codeshield-main,
    .ctf-dashboard-main {
        padding-bottom: 80px !important;
    }
}