/* User Dropdown Menu Styles */
.user-dropdown {
  position: relative;
  display: inline-block;
}

.user-dropdown-toggle {
  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-dropdown-header .user-avatar-circle {
    width: 50px;
    height: 50px;
}
.user-avatar-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #b81f5c;
  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: 240px;
  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: #b81f5c;
  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-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: 220px;
  }
}
