.header-account-source {
  display: none !important;
}

.toolbar-title > .eyebrow {
  margin-bottom: 0;
}

.header-account-menu {
  position: relative;
  flex: 0 0 auto;
}

.header-account-menu[hidden] {
  display: none !important;
}

.header-account-menu > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 54px;
  height: 44px;
  border: 1px solid rgba(16, 32, 80, .16);
  border-radius: 12px;
  background: linear-gradient(145deg, #f8faff, #e9edf6);
  color: #102050;
  cursor: pointer;
  list-style: none;
  box-shadow: 0 7px 18px rgba(16, 32, 80, .08);
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.header-account-menu > summary::-webkit-details-marker {
  display: none;
}

.header-account-menu > summary:hover,
.header-account-menu[open] > summary {
  border-color: rgba(16, 32, 80, .42);
  background: #eef1f8;
}

.header-account-menu > summary:active {
  transform: translateY(1px);
}

.header-account-icon {
  position: relative;
  display: block;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #102050;
}

.header-account-icon::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
}

.header-account-icon::after {
  content: '';
  position: absolute;
  left: 6px;
  bottom: 4px;
  width: 13px;
  height: 7px;
  border-radius: 8px 8px 5px 5px;
  background: #fff;
}

.header-account-icon i {
  position: absolute;
  right: -1px;
  top: -1px;
  z-index: 1;
  width: 8px;
  height: 8px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #1ba779;
}

.header-account-chevron {
  margin-top: -3px;
  font-size: 12px;
  font-weight: 900;
  transition: transform .16s ease;
}

.header-account-menu[open] .header-account-chevron {
  transform: rotate(180deg);
}

.header-account-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 100;
  display: grid;
  gap: 9px;
  width: min(290px, calc(100vw - 30px));
  padding: 15px;
  border: 1px solid #cbd3e4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(16, 32, 80, .2);
}

.header-account-popover::before {
  content: '';
  position: absolute;
  top: -7px;
  right: 19px;
  width: 12px;
  height: 12px;
  border-top: 1px solid #cbd3e4;
  border-left: 1px solid #cbd3e4;
  background: #fff;
  transform: rotate(45deg);
}

.header-account-label {
  margin: 0;
  color: #728097;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
}

.header-account-email #adminEmail {
  display: block;
  overflow: hidden;
  color: #102050;
  font-size: 14px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-account-role #adminRole {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef1f8;
  color: #102050;
  font-size: 11px;
  font-weight: 800;
}

.header-account-popover #logout {
  width: 100%;
  margin-top: 3px;
  border: 1px solid #c8cee0 !important;
  background: #102050 !important;
  color: #fff !important;
}

.header-account-popover #logout:hover {
  background: #0b173b !important;
}

.header-account-popover #changeMyPassword{width:100%;margin-top:5px}.login-link-button{display:block;width:100%;margin-top:10px;border:0!important;background:transparent!important;color:#102050!important;text-decoration:underline;box-shadow:none!important}.login-link-button:hover{background:#eef2f8!important;text-decoration:none}.password-feedback{min-height:20px;margin:8px 0 0;color:#52657c;font-size:13px;font-weight:700}.password-feedback.good{color:#087e5b}.password-feedback.bad{color:#b42318}#myPasswordDialog{width:min(510px,calc(100vw - 28px));border:0;border-radius:18px;padding:0}#myPasswordDialog .my-password-form{display:grid;gap:14px;padding:24px}#myPasswordDialog .modal-head{margin-bottom:0}#forgotPasswordForm{display:grid;gap:10px;margin-top:16px}

@media (max-width: 720px) {
  .header-account-menu {
    margin-left: auto;
  }

  .header-account-popover {
    right: 0;
  }
}
