.dashboard-sidebar {
    width: 270px;
    background: #0f172a;
    color: #fff;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 16px;
    min-height: 900px;
    height: 900px;
}
ul.sub-menu li {
    list-style-type: none;
}
.community-head-wrap {
    margin-bottom: 0px !important;
    margin-top: 10px !important;
}
.cc-channel-request-item {
    margin-top: 10px;
}
button.cc-join-channel-btn{
    box-shadow: none !important;
}

button#viewAllChannels, button#createChannelBtn{
    background: transparent !important;
    color: black !important;
    border-bottom: 1px solid black;
    padding: 0px;
    border-radius: 0px;
    box-shadow: none;
        font-weight: 400;
}
button.cc-join-channel-btn:hover {
    background: transparent !important;
}
li.menu-item.active .sub-menu a {
    background: transparent !important;
    color: white;
}
h3.community-sidebar-heading {
    font-size: 20px;
}
.dashboard-sidebar {
  position: sticky;
  top: 0;              /* distance from top when sticking */
  height: 100vh;       /* full viewport height */
  overflow-y: auto;    /* scroll inside sidebar if content grows */
}
button.sidebar-toggle {
    display: none;
}
.top-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.sidebar-logo {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 22px;
}
a, a:focus, a:hover, a:visited {
    text-decoration: none;
}
.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-menu li {
    margin: 14px 0;
}
ul.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
}
.sidebar-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    display: block;
    padding: 10px 15px;
    border-radius: 8px;
    transition: 0.3s;
}
ul.sidebar-menu a svg {
    fill: white;
}
ul.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
}
.sidebar-menu li.active a, .sidebar-menu a:hover {
    background: #EBF3FF;
    border-radius: 30px;
}
.sidebar-menu li.active a, .sidebar-menu a:hover {
    color: #001229;
}
.sidebar-upgrade {
    margin-top: 20px;
    background: #1e293b;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    background: linear-gradient(135deg, #ADD1FF, #E6F0FE, #FFFFFF);
}
.sidebar-upgrade img {
    margin-top: -94px;
}
.sidebar-upgrade p {
    color: #000000;
    font-weight: 600;
    font-family: "Inter", Sans-serif;
    font-size: 16px;
    margin: 0px;
    margin-bottom: 5px;
}
p.unlock {
    font-weight: 500;
}
.btn-upgrade {
    display: inline-block;
    background: #001229;
    color: white;
    width: 100%;
    padding: 8px 15px;
    font-family: "Inter", Sans-serif;
    border-radius: 30px;
    font-weight: 600;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .dashboard-sidebar {
        position: fixed;
        top: 0;
        left: -250px;
        width: 220px;
        height: 100%;
        transition: left 0.3s ease;
        z-index: 1000;
        padding-top: 60px;
    }
        button.sidebar-toggle {
        display: block;
        position: relative;
        width: fit-content;
        top: 0;
    }
    .sidebar-toggle.active {
  content: "×";
  padding: 0px;
        background: none !important;
        color:white !important;
}
        .sidebar-toggle {
        position: fixed;
        background: none !important;
        left: 10px;
        z-index: 1100;
        color: black !important;
        border: none;
        padding: 0px;
        font-size: 22px;
        border-radius: 0px;
        cursor: pointer;
    }
    .dashboard-sidebar.active {
    left: 0; /* show when active */
  }
   .dashboard-content {
    margin-left: 0; /* no fixed margin on mobile */
    padding: 20px;
  }
    .sidebar-toggle {
        font-size: 24px;
        transition: all 0.3s 
ease;
    }
}