/* User Dropdown Menu Styles */
.user-dropdown {
  position: relative;
  display: inline-block;
}

.user-dropdown-toggle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background-color 0.2s;
}

.user-dropdown-toggle:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.user-notification-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f05f76;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 2px #fff;
}
.user-dropdown-header .user-avatar-circle {
    width: 50px;
    height: 50px;
}
.user-avatar-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--background-static);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  overflow: hidden;
}

.user-info-inline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.user-name {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.2;
}

.plan-badge {
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 4px;
  line-height: 1;
}

.badge-free {
  background-color: #e5e7eb;
  color: #6b7280;
}

.badge-pro {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #ffffff;
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 280px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  overflow: hidden;
}

.user-dropdown.active .user-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-dropdown-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background-color: #f9fafb;
}
.user-dropdown-header img{
  display: none;
}
.user-avatar-circle-large {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--background-static);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 20px;
  flex-shrink: 0;
}

.user-details {
  flex: 1;
  min-width: 0;
}

.user-name-large {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-email {
  font-size: 13px;
  color: #6b7280;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-dropdown-divider {
  height: 1px;
  background-color: #e5e7eb;
  margin: 4px 0;
}

.user-notification-panel {
  padding: 8px;
}

.user-notification-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px 8px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.user-notification-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 8px;
  color: #374151;
  text-decoration: none;
  border-radius: 8px;
  font-size: 13px;
}

.user-notification-item:hover {
  background: #f3f4f6;
  color: #111827;
}

.user-notification-item i {
  width: 18px;
  text-align: center;
  color: #235AAE;
  flex: 0 0 auto;
}

.user-notification-item span {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-notification-item strong {
  min-width: 24px;
  height: 22px;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f05f76;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  flex: 0 0 auto;
}

.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #374151;
  text-decoration: none;
  transition: background-color 0.2s;
  font-size: 14px;
}

.user-dropdown-item:hover {
  background-color: #f3f4f6;
  color: #1a1a1a;
}

.user-dropdown-item i {
  width: 18px;
  font-size: 16px;
  color: #6b7280;
}

.user-dropdown-item:hover i {
  color: #1a1a1a;
}

/* Responsive */
@media (max-width: 768px) {
  .user-info-inline {
    display: none;
  }

  .user-dropdown-menu {
    right: -8px;
    min-width: min(280px, calc(100vw - 24px));
  }
}
