/* Dropdown menu styles */
.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  width: 320px;
  background: var(--dropdown-bg);
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
  margin-top: 10px;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 20px;
  width: 12px;
  height: 12px;
  background: var(--dropdown-bg);
  transform: rotate(45deg);
}

.notification-dropdown {
  width: 360px;
}

.profile-dropdown {
  width: 280px;
}

.dropdown-header {
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dropdown-header h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--theme-color);
}

.dropdown-header span {
  font-size: 12px;
  color: var(--inactive-color);
}

.dropdown-content {
  padding: 8px 0;
  max-height: 300px;
  overflow-y: auto;
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  text-decoration: none;
  color: var(--theme-color);
  transition: background 0.2s ease;
}

.dropdown-item:hover {
  background: var(--dropdown-hover);
}

.dropdown-item svg {
  margin-right: 12px;
  flex-shrink: 0;
}

.dropdown-item span {
  font-size: 14px;
}

.dropdown-divider {
  height: 1px;
  background: var(--border-color);
  margin: 8px 0;
}

.dropdown-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.dropdown-footer a {
  color: var(--theme-color);
  font-size: 13px;
  text-decoration: none;
}

/* Notification item styles */
.notification-item {
  display: flex;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
}

.notification-item:last-child {
  border-bottom: none;
}

.notification-icon {
  margin-right: 12px;
  flex-shrink: 0;
}

.notification-text {
  flex: 1;
}

.notification-text p {
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.4;
}

.notification-text span {
  font-size: 11px;
  color: var(--inactive-color);
}

/* Profile info styles */
.profile-info {
  display: flex;
  align-items: center;
  padding: 16px 0px 16px;
  border-bottom: 1px solid var(--border-color);
}

.profile-info img {
	margin-left: 16px;
}

.profile-details {
  margin-left: 12px;
}

.profile-details h4 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
}

.profile-details span {
  font-size: 12px;
  color: var(--inactive-color);
}

/* Active state for dropdowns */
.notification:hover .notification-dropdown,
.profile-dropdown-trigger:hover .profile-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(15px, 5px);
}

.profile-dropdown-trigger:hover .profile-dropdown {
  transform: translate(10px, 5px);
}

/* Light mode adjustments */
.light-mode .dropdown-menu::before {
  background: var(--dropdown-bg);
}

/* Update existing header-profile styles */
.header-profile {
  display: flex;
  align-items: center;
  padding: 0 16px 0 40px;
  margin-left: auto;
  flex-shrink: 0;
  position: relative; /* Add this */
}

/* Update notification styles */
.notification {
  position: relative;
  cursor: pointer;
}

/* Add for profile dropdown trigger */
.profile-dropdown-trigger {
  position: relative;
  cursor: pointer;
}