.nav-menu {
    height: 100vh;
    z-index: -100;
    background-color: #202123;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-section-top {
    margin-bottom: 40px;
}

.menu-section-middle {
    /* Styles for the middle section container, if any specific ones are needed beyond padding. */
}

.logo {
    padding: 0 16px;
    margin-bottom: 40px;
}

.logo img {
    width: 100px;
    height: auto;
}

.main-nav-links, .menu-section-middle {
    padding: 0 16px;
}

.nav-item {
    display: flex;
    width: 100% ;
    align-items: center;
    padding: 10px 16px;
    margin-bottom: 4px;
    color: #A0A0A0; /* Цвет для неактивных ссылок */
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    border-radius: 4px;
    transition: background-color 0.2s ease-in-out;
}

.nav-item:hover {
    background-color: rgba(30, 231, 151, 0.1);
}

.nav-item.active {
    background-color: #20362E;
    padding-left: 12px;
    color: #FFFFFF; /* Цвет для активной ссылки */
}

.nav-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    filter: invert(45%) sepia(0%) saturate(1%) hue-rotate(242deg) brightness(45%) contrast(80%); /* Обычный цвет: #727272 */
}

.nav-item.active .nav-icon {
    filter: invert(57%) sepia(85%) saturate(410%) hue-rotate(99deg) brightness(100%) contrast(92%); /* Активный цвет: #1ee797 */
}

.nav-text {
    line-height: 20px;
}

.menu-section-bottom {
    padding: 0 16px;
    margin-top: 20px; /* Отступ перед секцией пользователя */
}

.user-info {
    display: flex;
    align-items: center;
    padding: 10px;
    position: relative;
}

.avatar img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 12px;
    object-fit: cover;
}

.user-details {
    flex-grow: 1;
}

.username {
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.user-menu {
    position: relative;
}

.user-menu button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.more-options-icon {
    width: 20px;
    height: 20px;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.more-options-icon:hover {
    opacity: 1;
}

.user-dropdown {
    position: absolute;
    bottom: 100%;
    right: 0;
    background-color: #202123;
    border: 1px solid #26282B;
    border-radius: 4px;
    min-width: 120px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    padding: 8px 0;
}

.user-dropdown a {
    display: block;
    padding: 8px 16px;
    color: #FFFFFF;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
}

.user-dropdown a:hover {
    background-color: #26282B;
}