.profile-dropdown {
  position: relative;
  display: inline-block;
}

.profile-trigger {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-avatar,
.profile-initials {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f1f1f1;
}

.profile-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #595958;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
}

.profile-arrow {
  width: 16px;
  height: 16px;
  color: #333;
  transition: transform 0.2s ease-in-out;
}

.profile-trigger[aria-expanded='true'] .profile-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  min-width: 160px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.profile-trigger[aria-expanded='true'] + .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu ul {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

.dropdown-menu ul li a {
  display: block;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.2s ease;
}

.dropdown-menu ul li a:hover {
  background-color: #f5f5f5;
}
