body {
    overflow-x: hidden;
}

/* Sidebar styles */
.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 48px 0 0;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
    transition: all 0.3s;
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto;
}

.sidebar .nav-link {
    font-weight: 400;
    color: #eaeaea;
    transition: color 0.3s ease, font-weight 0.3s ease;
}

.sidebar .nav-link:hover {
    color: #b5b3b1;
}

.sidebar .nav-link.active {
    color: #05a9fa;
    font-weight: 500;
}

.sidebar .nav-link.active {
    border-left: 3px solid #05a9fa;
    padding-left: 13px;
    /* Adjust padding to account for the border */
}

.sidebar-heading {
    font-size: .70rem;
    text-transform: uppercase;
}

/* Toggle button styles */
#sidebarToggle {
    position: fixed;
    top: 10px;
    left: 20px;
    z-index: 999;
}

#sidebarToggle::before {
    content: 'Django-Chat';
    /* content: '☰'; */
}

/* Main content styles */
.main-content {
    transition: margin-left 0.3s;
    padding: 20px;
}

/* Shrink sidebar styles */
@media (min-width: 768px) {
    .sidebar-shrink {
        margin-left: -250px;
    }

    .main-content-shrink {
        margin-left: 0;
    }
}

/* Responsive styles */
@media (max-width: 767.98px) {
    .sidebar {
        margin-left: -250px;
    }

    .sidebar.active {
        margin-left: 0;
    }

    .main-content {
        margin-left: 0;
    }

    #sidebarToggle {
        display: none;
    }
}


.hide {
    display: none;
}

.show {
    display: block;
}