/**
 * User Profile System Module
 *
 * Contains all user profile and menu styles including:
 * - User avatar and badge
 * - User info display (name, status, email)
 * - User trigger button
 * - User profile dropdown styles
 */

/* ==========================================================================
   User Profile System
   ========================================================================== */

.navbar__user-trigger {
  display: flex;
  align-items: center;
  gap: var(--navbar-spacing-sm);
  padding: 4px;
  border: none;
  background: transparent;
  border-radius: var(--navbar-border-radius);
  cursor: pointer;
  transition: all var(--navbar-transition-base);
  color: var(--navbar-text-primary);
}

.navbar__user-trigger:hover {
  background: var(--navbar-hover);
}

.navbar__user-avatar {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navbar-primary), var(--navbar-primary-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.navbar__user-avatar--large {
  width: 48px;
  height: 48px;
}

.navbar__user-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.navbar__user-initials {
  font-size: 0.875rem;
  font-weight: var(--navbar-font-weight-semibold);
  color: white;
}

.navbar__user-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  background: var(--navbar-warning);
  border: 2px solid var(--navbar-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  color: white;
}

.navbar__user-info {
  display: flex;
  flex-direction: column;
  text-align: left;
  min-width: 0;
}

.navbar__user-name {
  font-size: 0.875rem;
  font-weight: var(--navbar-font-weight-medium);
  color: var(--navbar-text-primary);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.navbar__user-status {
  font-size: 0.75rem;
  color: var(--navbar-success);
  line-height: 1.2;
}

.navbar__user-profile {
  display: flex;
  align-items: center;
  gap: var(--navbar-spacing-sm);
}

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

.navbar__user-fullname {
  font-size: 1rem;
  font-weight: var(--navbar-font-weight-semibold);
  color: var(--navbar-text-primary);
  line-height: 1.2;
}

.navbar__user-email {
  font-size: 0.75rem;
  color: var(--navbar-text-muted);
  line-height: 1.2;
  margin-top: 2px;
}
