.qep-account-menu {
  position: relative;
  display: inline-flex;
}

.qep-account-menu__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.qep-account-menu__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-transform: uppercase;
}

.qep-account-menu__avatar--header {
  width: 23.493px;
  height: 23.493px;
  border-radius: var(--radius-full, 4893.92px);
  background: var(--Component-colors-Components-Avatars-avatar-bg, #F2F4F7);
  color: var(--colors-foreground-fg-quarterary-500, #667085);
  text-align: center;
  font-size: 8.81px;
  font-style: normal;
  font-weight: 600;
  line-height: 13.704px;
  transition: transform .25s ease, opacity .25s ease;
  border-radius: 50%;
  overflow: hidden;
}

.qep-account-menu__avatar--header img{
  border-radius: 50%;
  overflow: hidden;
}

.qep-account-menu__trigger:hover .qep-account-menu__avatar--header,
.qep-account-menu.is-open .qep-account-menu__avatar--header {
  /*transform: scale(1.04);*/
}

.qep-account-menu__popover {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 999;
  width: 324px;
  padding: 12px;
  border-radius: var(--radius-2xl, 16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--Background-bg-secondary-subtle, #142438);
  box-shadow: 0 95px 80px 0 rgba(0, 0, 0, 0.12), 0 39.689px 33.422px 0 rgba(0, 0, 0, 0.09), 0 21.219px 17.869px 0 rgba(0, 0, 0, 0.07), 0 11.895px 10.017px 0 rgba(0, 0, 0, 0.06), 0 6.318px 5.32px 0 rgba(0, 0, 0, 0.05), 0 2.629px 2.214px 0 rgba(0, 0, 0, 0.03);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(.98);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity .26s ease, transform .32s cubic-bezier(.22, 1, .36, 1), visibility .26s ease;
}

.qep-account-menu.is-open .qep-account-menu__popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.qep-account-menu__section {
  padding: 12px 0;
}

.qep-account-menu__section + .qep-account-menu__section {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.qep-account-menu__section--profile {
  padding-top: 4px;
  padding-bottom: 12px;
}

.qep-account-menu__section--nav,
.qep-account-menu__section--logout {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.qep-account-menu__profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qep-account-menu__avatar--popover {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full, 9999px);
  border: 0.75px solid var(--Component-colors-Components-Avatars-avatar-contrast-border, rgba(0, 0, 0, 0.08));
  background: var(--Component-colors-Components-Avatars-avatar-bg, #F2F4F7);
  color: var(--colors-foreground-fg-quarterary-500, #667085);
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px;
}

.qep-account-menu__avatar--popover img{
  border-radius: 50%;
  overflow: hidden;
}

.qep-account-menu__profile-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.qep-account-menu__name {
  color: var(--Text-text-primary_on-brand, #FFF);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  word-break: break-word;
}

.qep-account-menu__role {
  color: var(--Text-text-secondary_subtle, #B2B9C1);
  font-family: "Sequel Sans", sans-serif;
  font-size: 12.64px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
}

.qep-account-menu__item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 16px;
  border-radius: 10px;
  color: var(--Text-text-secondary_subtle, #B2B9C1);
  font-family: "Sequel Sans", sans-serif;
  font-size: 14.22px;
  font-style: normal;
  font-weight: 500;
  line-height: 18px;
  text-decoration: none;
  opacity: 0;
  transform: translateY(8px);
  transition: background-color .22s ease, color .22s ease, opacity .3s ease, transform .3s ease;
  transition-delay: var(--qep-stagger-delay, 0ms);
}

.qep-account-menu.is-open .qep-account-menu__item {
  opacity: 1;
  transform: translateY(0);
}

.qep-account-menu__item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFF;
}

.qep-account-menu__item.is-active {
  background: rgba(255, 255, 255, 0.10);
  color: #FFF;
}

.qep-account-menu__item-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.qep-account-menu__item-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.qep-account-menu__item-label {
  flex: 1;
}

.qep-account-menu__item--logout {
  color: var(--Text-text-secondary_subtle, #B2B9C1);
}

@media (max-width: 767px) {
  .qep-account-menu__popover {
    right: -8px;
    width: min(324px, calc(100vw - 24px));
  }
}