/* Profile Dropdown Styles */
.profile-menu-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.profile-avatar-btn {
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  padding: 0;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: box-shadow 0.18s;
}

.profile-avatar-btn:focus-visible {
  outline: 2px solid #d83544;
}

.profile-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.profile-dropdown {
  position: absolute;
  top: 55px;
  right: 0;
  min-width: 220px;
  background: #1e1e1e;
  border-radius: 2px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.22);
  padding: 14px 0 6px 0;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.18s, transform 0.18s;
}
.profile-dropdown[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.profile-dropdown-header {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 18px 10px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 7px;
}
.profile-dropdown-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #d83544;
}
.profile-dropdown-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.profile-dropdown-name {
  font-weight: 700;
  color: #fff;
  font-size: 1.07rem;
}
.profile-dropdown-email {
  color: #b6b6b6;
  font-size: 0.93rem;
}
.profile-dropdown-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 0 0 0;
}
.profile-dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  color: #e7ebf3;
  text-decoration: none;
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.13s, color 0.13s;
}

.profile-dropdown-link:hover {
  /* background: #262626; */
}
.profile-dropdown-link:hover .ui-icon {
  color: #d83544;
  stroke: #d83544;
  transition: 0.5s;
}
.logout-btn {
  width: 100%;
  text-align: left;
}
