.header__user-widget {
    position: relative;

    flex-wrap: nowrap;

    font-size: 14px;
    line-height: 1.4;
}

.header__user-widget .user {
    display: flex;
    align-items: center;
}

.header__user-widget .user__name {
    display: block;
    overflow: hidden;

    max-width: 280px;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.header__user-widget .user__name::first-letter {
    color: #ff004c;
}

.header__user-widget .user__avatar {
    display: block;

    width: 28px;
    min-width: 28px;
    height: 28px;
    margin: 0 12px 0 0;

    border-radius: 50%;
    background-color: rgba(0, 0, 0, .03);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
}

.header__current-user {
    flex-direction: row-reverse;

    margin: 14px 0;

    cursor: pointer;
}

.header__user-widget .header__current-user .user__avatar {
    width: 32px;
    height: 32px;
    margin: 0 0 0 10px;
}

@media (max-width: 1180px) {
    .header__current-user .user__name {
        display: none;
    }
}

.header__user-widget-list {
    background: #f6f5f3;
}

.header__user-widget-menu {
    position: absolute;
    z-index: 9000;
    right: -16px;

    display: none;

    margin: 0;

    border: 1px solid rgba(0, 0, 0, .06);
    background: #fff;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, .4);

    animation: user_widget_animation .1s ease-out;
    animation-fill-mode: forwards;
}

.header__user-widget_open .header__user-widget-menu {
    display: block;
}

.header__user-widget .multi-session-list {
    padding: 4px 0;
}

.header__user-widget .multi-session-list__item {
    display: flex;
    align-items: center;

    box-sizing: border-box;
    max-width: 280px;
    padding: 4px 24px 4px 13px;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.header__user-widget .multi-session-list__item,
.header__user-widget .multi-session-list__item:visited,
.header__user-widget .multi-session-list__item:active {
    text-decoration: none;

    color: #000;
}

.header__user-widget .multi-session-list__item:hover {
    text-decoration: none;

    color: #000;
    background: rgba(0, 0, 0, .05);
}

.header__user-widget .multi-session-list__item_type_add-user::before {
    display: block;

    width: 28px;
    min-width: 28px;
    height: 28px;
    margin: 0 12px 0 0;

    content: '';

    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyOHB4IiBoZWlnaHQ9IjI4cHgiIHZpZXdCb3g9IjAgMCAyOCAyOCI+PHBhdGggZD0iTTEzLjI4LDggTDE0LjcyLDggTDE0LjcyLDEzLjI4IEwyMCwxMy4yOCBMMjAsMTQuNzIgTDE0LjcyLDE0LjcyIEwxNC43MiwyMCBMMTMuMjgsMjAgTDEzLjI4LDE0LjcyIEw4LDE0LjcyIEw4LDEzLjI4IEwxMy4yOCwxMy4yOCBMMTMuMjgsOCBaIiBmaWxsLW9wYWNpdHk9IjAuNSI+PC9wYXRoPjxwYXRoIGQ9Ik0yOCwxNCBDMjgsNi4yNjgwMTM1IDIxLjczMTk4NjUsMCAxNCwwIEM2LjI2ODAxMzUsMCAwLDYuMjY4MDEzNSAwLDE0IEMwLDIxLjczMTk4NjUgNi4yNjgwMTM1LDI4IDE0LDI4IEMyMS43MzE5ODY1LDI4IDI4LDIxLjczMTk4NjUgMjgsMTQgWiBNMSwxNCBDMSw2LjgyMDI5ODI1IDYuODIwMjk4MjUsMSAxNCwxIEMyMS4xNzk3MDE3LDEgMjcsNi44MjAyOTgyNSAyNywxNCBDMjcsMjEuMTc5NzAxNyAyMS4xNzk3MDE3LDI3IDE0LDI3IEM2LjgyMDI5ODI1LDI3IDEsMjEuMTc5NzAxNyAxLDE0IFoiIGZpbGwtb3BhY2l0eT0iMC4xNSI+PC9wYXRoPjwvc3ZnPg==);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
}

@-moz-keyframes user_widget_animation {
    from {
        opacity: 0;

        transform: translateY(10px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }
}

@-webkit-keyframes user_widget_animation {
    from {
        opacity: 0;

        transform: translateY(10px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }
}

@-o-keyframes user_widget_animation {
    from {
        opacity: 0;

        transform: translateY(10px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }
}

@keyframes user_widget_animation {
    from {
        opacity: 0;

        transform: translateY(10px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }
}
