/* Remove underline from all user menu links */
.fum-user-menu-desktop a,
.fum-user-menu-mobile a {
  text-decoration: none !important;
}

/* User Menu Desktop and Mobile Shared Styles */
.fum-user-menu-name {
  font-weight: 500;
  font-size: 1rem;
  margin-right: 0.2rem;
  line-height: 1.2;
}
.fum-user-menu-avatar, .fum-user-menu-avatar-fallback {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  background: #a22458;
  border: 2px solid #a23c5a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  color: #fff;
}
.fum-user-menu-dropdown-link {
  display: block;
  padding: 14px 24px;
  color: #333;
  text-decoration: none;
  font-size: 1rem;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  transition: background 0.2s, color 0.2s;
}
.fum-user-menu-dropdown-link:hover,
.fum-user-menu-dropdown-link:focus {
  background: #f5e6ee;
  color: #a23c5a;
}

/* Desktop-specific styles */
.fum-user-menu-desktop .fum-user-menu-name {
  color: #fff;
}
.fum-user-menu-desktop .fum-user-menu-chevron {
  color: #fff;
}

.fum-user-menu-mobile .fum-user-menu-subtitle{
  color:#333;
  font-size: 12px;
  font-style: italic;
}

/* Mobile-specific styles */
.fum-user-menu-mobile .fum-user-menu-name {
  color: #222;
}
.fum-user-menu-mobile .fum-user-menu-chevron {
  color: #888;
}

/* User Menu Desktop Styles */
.fum-user-menu-desktop {
  display: flex;
  align-items: center;
  position: relative;
  font-family: inherit;
}
.fum-user-menu-guest .fum-user-menu-link {
  margin-right: 1rem;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 4px;
  transition: background 0.2s;
}
.fum-user-menu-guest .fum-user-menu-link:last-child {
  margin-right: 0;
}

.fum-user-menu-loggedin {
  cursor: pointer;
  position: relative;
  outline: none;
  min-width: 180px;
}
.fum-user-menu-avatar-wrap {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 8px 18px;
  border-radius: 4px;
  transition: background 0.2s;
}
.fum-user-menu-mobile {
  display: block;
  position: relative;
  font-family: inherit;
  width: 100%;
  margin-bottom: 1rem;
}
.fum-user-menu-mobile-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 12px 18px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  cursor: pointer;
  min-width: 0;
}
.fum-user-menu-mobile-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.fum-user-menu-mobile-accordion {
  display: none;
  background: #fff;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  margin-top: 0;
  padding: 0.5rem 0 0.5rem 0;
  border-top: 1px solid #eee;
}
.fum-user-menu-mobile[aria-expanded="true"] .fum-user-menu-mobile-accordion {
  display: block;
}
.fum-user-menu-loggedin[aria-expanded="true"] .fum-user-menu-dropdown,
.fum-user-menu-loggedin:focus-within .fum-user-menu-dropdown {
  display: block;
}
.fum-user-menu-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 180px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  z-index: 100;
  padding: 0.5rem 0;
  border: 1px solid #eee;
} 