/* Mobile Bottom Navigation */
.bottom-nav {
    display: none;
}

.mobile-drawer-overlay {
    display: none;
}

.mobile-drawer {
    display: none;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 70px;
        /* Space for bottom nav */
    }

    /* Hide Desktop Header on Mobile */
    .main-header {
        display: none !important;
    }

    /* Floating Actions adjustment for mobile */
    .floating-actions {
        bottom: 150px;
        /* Push up above nav */
        right: 20px;
    }

    .floating-faq {
        display: flex;
        bottom: 70px;
        /* Push up above nav */
        left: 20px;
    }

    .bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1040;
        height: 60px;
        justify-content: space-around;
        align-items: center;
        padding: 0 10px;
    }

    .nav-item-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #6c757d;
        text-decoration: none;
        font-size: 0.75rem;
        flex: 1;
        height: 100%;
        transition: color 0.2s;
        background: none;
        border: none;
        padding: 0;
    }

    .nav-item-mobile i {
        font-size: 1.25rem;
        margin-bottom: 4px;
    }

    .nav-item-mobile.active,
    .nav-item-mobile:hover {
        color: var(--primary);
    }

    /* Drawer Styles */
    .mobile-drawer-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1050;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }

    .mobile-drawer-overlay.show {
        opacity: 1;
        visibility: visible;
    }

    .mobile-drawer {
        display: block;
        position: fixed;
        bottom: -100%;
        left: 0;
        right: 0;
        background: white;
        z-index: 1060;
        border-radius: 20px 20px 0 0;
        transition: bottom 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
        max-height: 85vh;
        overflow-y: auto;
        box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.15);
    }

    .mobile-drawer.show {
        bottom: 0;
    }

    .drawer-header {
        padding: 1.5rem 1.5rem 0.5rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: sticky;
        top: 0;
        background: white;
        z-index: 10;
        border-bottom: 1px solid #f0f0f0;
    }

    .drawer-handle {
        width: 40px;
        height: 5px;
        background: #e0e0e0;
        border-radius: 10px;
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
    }

    .drawer-content {
        padding: 1rem 1.5rem 2rem;
    }

    .drawer-menu-group {
        margin-bottom: 1.5rem;
    }

    .drawer-menu-title {
        font-size: 0.85rem;
        text-transform: uppercase;
        color: #999;
        font-weight: 700;
        margin-bottom: 0.75rem;
        letter-spacing: 0.5px;
    }

    .drawer-menu-item {
        display: flex;
        align-items: center;
        padding: 0.75rem 0;
        color: var(--text-dark);
        text-decoration: none;
        border-bottom: 1px solid #f8f9fa;
        font-size: 0.95rem;
    }

    .drawer-menu-item:last-child {
        border-bottom: none;
    }

    .drawer-menu-item i {
        width: 25px;
        color: var(--primary);
        margin-right: 10px;
    }

    /* Active State Indicator */
    .nav-item-mobile.active::after {
        content: '';
        display: block;
        width: 6px;
        height: 6px;
        background: var(--primary);
        border-radius: 50%;
        margin-top: 4px;
        position: absolute;
        bottom: 5px;
    }
}