#headerUserArea {
  position: relative;
}

.user-menu-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 108px;
  min-height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  padding: 7px 12px;
}

.user-menu-loading-dot {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
}

.user-menu-loading-line {
  width: 66px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
}

.user-login-btn {
  border: none;
}

.user-menu-trigger {
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: #f3f4f6;
  border-radius: 999px;
  padding: 6px 10px 6px 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  background: rgba(56, 189, 248, 0.25);
  color: #ffffff;
}

.user-email {
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 13px;
}

.user-chevron {
  font-size: 12px;
  color: #9ca3af;
}

.user-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 210px;
  background: rgba(11, 18, 32, 0.95);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  box-shadow: 0 16px 30px rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
  padding: 6px;
  z-index: 2100;
}

.user-menu.open {
  display: block;
}

.user-menu-item {
  width: 100%;
  border: none;
  background: transparent;
  color: #e5e7eb;
  text-decoration: none;
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  text-align: left;
  font-size: 14px;
  cursor: pointer;
}

.user-menu-item:hover {
  background: rgba(255,255,255,0.07);
}

.user-menu-item.logout {
  color: #fca5a5;
}

@media (max-width: 860px) {
  .user-email {
    max-width: 110px;
  }
}
