.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  background-color: #fff;
  .logo {
    height: 40px;
    img {
      height: 100%;
    }
  }
}
.app-header-left {
  display: flex;
  align-items: center;
  .line {
    margin: 0 20px;
    height: 30px;
    border-left: 2px solid var(--main-color);
  }
  .app-name {
    font-size: 28px;
    font-family: Source Han Sans CN;
    color: #333;
    font-weight: 500;
    line-height: 30px;
    white-space: nowrap;
  }
}
.app-header-nav {
  margin: 0 40px;
  flex: 1;
  height: 100%;
  .ant-menu {
    --ant-menu-horizontal-line-height: 66px;
    --ant-font-size: 16px;
    --ant-font-weight: 500;
    --ant-menu-active-bar-height: 0;
  }
}

.app-header-right {
  display: flex;
  .user {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #666;
    border-radius: 21px;
    padding: 4px;
    p {
      margin: 0 10px;
    }
    &:hover {
      background-color: rgba(219, 219, 219, 0.23);
      box-shadow: 2px 1px 8px 1px #e4e8eb;
    }
  }
  .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 50%;
      overflow: hidden;
    }
    &:hover {
      background-color: rgba(60, 64, 67, 0.08);
    }
  }
}
.app-header-user {
  min-width: 256px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.app-header-user-avatar {
  margin-bottom: 6px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
.app-header-user-main {
  h3 {
    color: #202124;
    font: 500 16px/22px Helvetica, Arial, sans-serif;
    letter-spacing: 0.29px;
    margin: 0;
    text-align: center;
    text-overflow: ellipsis;
    overflow: hidden;
  }
  p {
    color: #5f6368;
    font: 400 14px/19px Helvetica, Arial, sans-serif;
    letter-spacing: normal;
    text-align: center;
    text-overflow: ellipsis;
    overflow: hidden;
  }
}
.app-header-user-buttons {
  padding-top: 16px;
}
