.user {
  position: relative;
  display: flex;
  padding: 11px;
  height: 64px;
  justify-content: center;
  background-color: #fff;
  border-radius: 32px;  
  border: 1px solid #C0C0C0;

  .avatar {
    width: 38px;
    height: 38px;
    color: var(--blue-1);
    border: 1px solid var(--blue-1);
    background: #fff;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    overflow: hidden;
    .initials {
    }
    img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  .name{
    margin: 8px 4px 0 12px;
    color: #2D2D2D
  }
  .toggle{
    height: 24px;
    width: 24px;
    background: url("~src/assets/images/icons/arrow_drop_down_grey_24dp.svg") no-repeat center;
    margin-top: 7px;
  }

  .dropdown {
    display: none;
  }

  &:hover {
    .dropdown {
      display: block;
      width: 250px;
      right: 12px;
      top: 42px;
      z-index: 1;
      ul {
        display: flex;
        flex-direction: column;
        margin: 0;
        padding: 0;
        list-style: none;
        border-radius: 12px;
        li {
          display: block;
          padding: 12px 20px;
          color: #2D2D2D;
          cursor: pointer;
          border-bottom: #E0E0E0 solid 1px;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
          &:first-child {
            border-radius: 8px 8px 0 0;
          }
          &:last-child {
            border-radius: 0 0 8px 8px;
            a, span {
              border-bottom: none;
            }
          }
          &:hover {
            background-color: #f7f7f7;
          }
        }
      }

      &.hidden {
        display: none;
      }


    }

  }
}
@media screen and (max-width: 960px) {
  .user {
    .avatar {
      background-color: var(--white);
    }
  }
}
