

:root {
    --leftbar-width: 80px; /* ширина меню */
    --leftbar-offset: 15px;
    --leftbar-submenu-width: 220px; /* ширина внутреннего меню */
    --bg-color: transparent; /* фон меню */
    --icon-bg-color: #FFF;  /* фон иконки в обычном состоянии */
    --icon-bg-hover-color: #FFF;   /* фон иконки при наведении */
    --icon-bg-active-color: #FFF;  /* фон активной иконки */
    --icon-title-color: #000;  /* цвет подписей иконок */
    --icon-title-color: #000;  /* цвет подписей иконок при наведении */
    --icon-title-color: #000;  /* цвет подписей иконок в активном состоянии */
    --submenu-bg-color: #FFF;   /* фон внутреннего меню */
    --submenu-title-color: #000;  /* цвет заголовка внутреннего меню */
    --submenu-link-color: #7B7676;  /* цвет ссылки внутреннего меню */
    --submenu-link-hover-color: #FFF;  /* цвет ссылки внутреннего меню при наведении*/
    --submenu-link-bg-hover-color: #4D4E6E;  /* фон ссылки внутреннего меню при наведении */
    --counter-bg-color: #1E213D;  /* цвет счетчика */
    --notifications-title: 'Уведомления';  /* подпись иконки "Уведомления" */

}

@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');

#gcAccountUserMenu {
    display: none;
}

.gc-account-leftbar .gc-account-user-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gc-account-leftbar .gc-account-user-menu .menu-item:not(.menu-item-profile:not(.default)) .menu-item-icon{
    display: none;
}

.gc-account-leftbar .gc-account-user-menu li {
    box-shadow: 4px 4px 25px 0px rgba(0, 0, 0, 0.05);
    border-bottom: none;
    transition: .3s;
}
.gc-account-leftbar .gc-account-user-menu li a {
    border-radius: 10px;
    overflow: hidden;
}
.gc-account-leftbar .gc-account-user-menu li.menu-item-profile a {
    padding: 10px 0;
    height: auto;
}
.gc-account-leftbar .gc-account-user-menu .menu-item.selected a {
    border-radius: 10px 0 0 10px;
}
.gc-account-leftbar .gc-account-user-menu .menu-item.selected:after {
    content: '';
    height: 100%;
    position: absolute;
    right: calc(0px - var(--leftbar-offset) - 10px);
    top: 0;
    bottom: 0;
    left: 100%;
    background: var(--icon-bg-color);
    transition: .3s;
}
.gc-account-leftbar .gc-account-user-menu li a path,
.gc-account-user-submenu-bar .gc-account-user-submenu li a,
.gc-account-leftbar .gc-account-user-menu li svg > * {
    transition: .3s;
}

.gc-main-content.with-left-menu {
    margin-left: calc(var(--leftbar-width) + var(--leftbar-offset) * 2);
}

.with-left-menu .gc-into-main-content {
    left: calc(var(--leftbar-width) + var(--leftbar-offset) * 2);
}

.gc-account-leftbar {
    width: auto;  
    height: auto;
    padding: var(--leftbar-offset);
    background: var(--bg-color);
    font-family: 'Lato', sans-serif !important;
}

.gc-account-leftbar .gc-account-user-submenu-bar div.user-balance {
    margin: 18px;
}

.gc-account-leftbar .gc-account-user-submenu-bar-notifications_button_small {
    width: 400px;
}

.menu-item-profile .menu-item-icon {
    width: 43px;
    height: 43px;
    border-radius: 50%;
}

.gc-account-leftbar .menu-item-label {
    display: none;
}

.gc-account-leftbar .gc-account-user-menu li.menu-item-notifications_button_small a {
    height: var(--leftbar-width);
}

.gc-account-leftbar .gc-account-user-menu li a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    background: var(--icon-bg-color);
    width: var(--leftbar-width);
    height: var(--leftbar-width);
    padding: 10px 0;
}

.gc-account-leftbar .menu-item a::after {
    content: attr(title);
    color: var(--icon-title-color);
    font-size: 11px;
    font-weight: normal;
}

.gc-account-leftbar .menu-item.menu-item-notifications_button_small a::after{
    content: var(--notifications-title);
}

.gc-account-leftbar .gc-account-user-menu li a:hover {
    background-color: var(--icon-bg-hover-color);
}

.gc-account-leftbar .gc-account-user-menu li.active a,
.gc-account-leftbar .gc-account-user-menu li.selected a {
    background-color: var(--icon-bg-active-color);
} 

.gc-account-leftbar .gc-account-user-submenu-bar li.menu-item-help a, 
.gc-account-leftbar .gc-account-user-submenu-bar li.menu-item-delimiter a {
    border-top: none;
}

.gc-account-leftbar .gc-account-user-submenu-bar {
    margin: var(--leftbar-offset) 0;
    padding: 20px;
    left: calc(var(--leftbar-width) + var(--leftbar-offset) * 2);
    height: calc(100% -  var(--leftbar-offset) * 2);
    background: var(--submenu-bg-color);
    border-radius: 10px;
    box-shadow: 4px 4px 25px 0px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.gc-account-leftbar .gc-account-user-submenu-bar:not(.gc-account-user-submenu-bar-notifications_button_small){	
    width: var(--leftbar-submenu-width);
}

.gc-account-leftbar .gc-account-user-submenu-bar-notifications_button_small .header + div {
    max-height: 700px;
    overflow-y: scroll;
}

.gc-account-user-submenu-bar h3 {
    color: var(--submenu-title-color);
    margin: 0 0 15px 18px;
    padding: 0;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    font-family: 'Lato', sans-serif !important;
}

.gc-account-user-submenu-bar .gc-account-user-submenu li a {
    padding: 7px 18px 8px;
    border-radius: 7px;
    margin-bottom: 10px;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    text-transform: none;
    color: var(--submenu-link-color);
}

.gc-account-user-submenu-bar .gc-account-user-submenu li a:hover {
    background: var(--submenu-link-bg-hover-color);
    color: var(--submenu-link-hover-color);
    text-decoration: none;
}

.gc-account-leftbar .menu-item .notify-count {
    bottom: auto;
    top: 13px;
    right: 17px;
}
.gc-account-leftbar .menu-item .notify-count, 
.gc-account-user-submenu-bar .gc-account-user-submenu li .notify-count {
    background-color: var(--counter-bg-color) !important;
    width: auto;
    min-width: auto;
    padding: 3px 5px;
    border-radius: 3px;
    font-size: 9px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
}
.gc-account-leftbar .gc-account-user-menu li.menu-item-notifications_button_small .notify-count {
    bottom: auto;
    right: 17px;
}

.gc-fade-wrapper .gc-fade {
    left: 0;
}

@media (max-width: 768px) {
    :root {
        --leftbar-offset: 10px;
    }
    .gc-account-leftbar .gc-account-user-menu {
        margin-bottom: 0;
    }
    .gc-account-leftbar.expanded {
        height: auto;
        top: 0;
        bottom: auto;
    }

    .gc-main-content.with-left-menu {
        margin-left: 0;
    }

    .gc-account-leftbar .gc-account-user-menu {
        width: var(--leftbar-width);
    }

    .gc-account-leftbar .toggle-link {
        background: #fff;
    }

    .gc-page-nav-items-menu a {
        background: var(--bg-color);        
        color: var(--icon-title-color);
    }

    .gc-account-leftbar .gc-account-user-menu {
        background: var(--bg-color);
    }
}

@media (max-height: 850px) {
    .gc-account-leftbar .gc-account-user-menu li a,
    .gc-account-leftbar .gc-account-user-menu li.menu-item-notifications_button_small a {
        height: 70px;
    }
    .gc-account-leftbar .gc-account-user-submenu-bar-notifications_button_small .header + div {
        max-height: 600px;
    }
}

@media (max-height: 750px) {
    :root {
        --leftbar-offset: 8px;
    }
    .gc-account-leftbar .gc-account-user-menu li a,
    .gc-account-leftbar .gc-account-user-menu li.menu-item-notifications_button_small a {
        height: 60px;
    }
    .gc-account-leftbar .gc-account-user-submenu-bar-notifications_button_small .header + div {
        max-height: 500px;
    }
    .gc-account-leftbar .menu-item .notify-count {
        top: 8px;
    }
    .gc-account-leftbar .gc-account-user-menu {
        gap: 8px;
    }
}

@media (max-height: 650px) {
    :root {
        --leftbar-offset: 8px;
    }
    .gc-account-leftbar .gc-account-user-menu li a,
    .gc-account-leftbar .gc-account-user-menu li.menu-item-notifications_button_small a {
        height: 50px;
    }
    .gc-account-leftbar .gc-account-user-submenu-bar-notifications_button_small .header + div {
        max-height: 420px;
    }
    .gc-account-leftbar .menu-item .notify-count {
        top: 5px;
    }
    .gc-account-leftbar .gc-account-user-menu {
        gap: 5px;
    }
    .gc-account-user-submenu-bar .gc-account-user-submenu li a {
        margin-bottom: 0px;
    }
}
