.messages,
.messages.status-messages {
  position: fixed;
  top: 88px;
  left: 50%;
  z-index: 140;
  display: grid;
  gap: 10px;
  width: min(90vw, 620px);
  transform: translateX(-50%);
  pointer-events: none;
}

.messages .message {
  margin: 0;
  padding: 14px 18px;
  border-left: 5px solid #c9f43b;
  background: #101c2a;
  color: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
  font-size: 13px;
  line-height: 1.6;
  transition: opacity .35s ease, transform .35s ease;
}

.messages .message.is-dismissing {
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
}

@media (max-width: 560px) {
  .messages {
    top: 76px;
  }
}

.header-notification-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid #e0e5df;
  border-radius: 50%;
  background: #fff;
}

.header-notification-link:hover {
  border-color: #b8c1b8;
  background: #f7f9f4;
}

.header-notification-bell {
  position: relative;
  display: block;
  width: 14px;
  height: 15px;
  border: 2px solid #101c2a;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border-bottom: 0;
}

.header-notification-bell::before {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -3px;
  left: -4px;
  height: 2px;
  border-radius: 2px;
  background: #101c2a;
}

.header-notification-bell::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 50%;
  width: 5px;
  height: 3px;
  border-radius: 0 0 5px 5px;
  background: #101c2a;
  transform: translateX(-50%);
}

.header-notification-link .unread-badge {
  position: absolute;
  top: -6px;
  right: -7px;
  display: inline-grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  border-radius: 999px;
  background: #c9f43b;
  color: #101c2a;
  font-size: 10px;
  font-weight: 800;
}

.account-menu-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 5px 9px 5px 5px;
  border: 1px solid #e0e5df;
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
}

.account-menu-link:hover {
  border-color: #b8c1b8;
  background: #f7f9f4;
}

.account-menu-link img,
.account-menu-avatar {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  object-fit: cover;
}

.account-menu-avatar {
  display: block;
}

.default-user-icon {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 50%;
  background: #edf1ed;
}

.default-user-icon::before {
  content: "";
  position: absolute;
  top: 20%;
  left: 50%;
  width: 31%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #68747b;
  transform: translateX(-50%);
}

.default-user-icon::after {
  content: "";
  position: absolute;
  bottom: -9%;
  left: 50%;
  width: 67%;
  height: 48%;
  border-radius: 50% 50% 24% 24%;
  background: #68747b;
  transform: translateX(-50%);
}

.account-menu-name {
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-menu-link .unread-badge {
  position: absolute;
  top: -7px;
  right: -5px;
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #101c2a;
  color: #fff;
  font-size: 9px;
  line-height: 1;
}

@media (max-width: 1100px) {
  .account-menu-name {
    display: none;
  }

  .account-menu-link {
    padding-right: 5px;
  }
}
