.www-header-user-auth {
  display: inline-flex;
  align-items: center;
}

.www-header-user-auth__logged {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.www-header-user-auth__avatar-wrap {
  position: relative;
}

.www-header-user-auth__logged {
  position: relative;
}

.www-header-user-auth__avatar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(79, 70, 229, 0.18);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
}

.www-header-user-auth__avatar,
.www-header-user-auth__dropdown-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.www-header-user-auth__dropdown {
  position: absolute;
  top: calc(100% + 2px);
  right: 0;
  z-index: 1200;
  min-width: 220px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.www-header-user-auth__dropdown::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.www-header-user-auth__dropdown-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.www-header-user-auth__dropdown-head strong {
  display: block;
  font-size: 14px;
  color: #0f172a;
}

.www-header-user-auth__dropdown-head span {
  display: block;
  font-size: 12px;
  color: #64748b;
}

.www-header-user-auth__dropdown-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  flex-shrink: 0;
}

.www-header-user-auth__menu-link,
.www-header-user-auth__menu-logout {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 8px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #334155;
  font-size: 14px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.www-header-user-auth__menu-link:hover,
.www-header-user-auth__menu-logout:hover {
  background: rgba(79, 70, 229, 0.08);
  color: #4f46e5;
}

.www-header-user-auth__center-btn {
  white-space: nowrap;
}

.www-header-user-auth.is-open .www-header-user-auth__dropdown {
  display: block;
}

.h2_header-action .www-header-user-auth__center-btn,
.header-action .www-header-user-auth__center-btn {
  margin-left: 0;
}

@media (max-width: 575px) {
  .www-header-user-auth__center-btn span {
    display: none;
  }
}
