.nav-user {
  align-items: center;
  gap: 0.35rem;
}

.nav-user .user-avatar-container {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
}

.nav-user .user-avatar-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.u-menu.premium-user .user-avatar-container img {
  border: 2px solid #ffd700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.premium-crown {
  position: absolute;
  top: -5px;
  right: -5px;
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  color: #333;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  border: 2px solid #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.nav-user .dropdown-header .user-info {
  padding: 8px 0;
  position: relative;
}

.nav-user .username {
  display: block;
  font-weight: bold;
  color: #6c757d;
}

.nav-user .premium-badge-profile {
  display: inline-block;
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  color: #333;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: bold;
  margin-top: 4px;
  text-transform: uppercase;
  position: absolute;
  top: -2px;
  right: -14px;
  animation: pulse-premium 2s infinite;
}

.nav-user .dropdown-menu button.dropdown-item {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.nav-user .dropdown-item.upgrade-item {
  background: linear-gradient(90deg, rgba(40, 167, 69, 0.1), rgba(40, 167, 69, 0.05));
  border-left: 3px solid #28a745;
  color: #28a745;
  font-weight: bold;
}

.nav-user .dropdown-item.upgrade-item:hover {
  background: linear-gradient(90deg, rgba(40, 167, 69, 0.2), rgba(40, 167, 69, 0.1));
  color: #28a745;
}

.nav-bell {
  position: relative;
}

.nav-bell .rb-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #dc3545;
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
}

.nav-bell .rb-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(320px, 90vw);
  background: #111;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  z-index: 1100;
  overflow: hidden;
}

.nav-bell .rb-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-bell .rb-head h3 {
  margin: 0;
  font-size: 1rem;
}

.nav-bell .rb-mark-all {
  border: 0;
  background: transparent;
  color: #adb5bd;
  cursor: pointer;
}

.nav-bell .rb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 280px;
  overflow-y: auto;
}

.nav-bell .rb-empty {
  padding: 2rem 1rem;
  text-align: center;
  color: #adb5bd;
}

.nav-bell .rb-empty i {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.nav-bell .rb-empty p {
  margin: 0;
}

.nav-bell .rb-loading,
.nav-bell .rb-loading-more {
  padding: 1rem;
  text-align: center;
  color: #adb5bd;
}

.nav-bell .rb-see-all {
  display: block;
  padding: 0.85rem 1rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
}

.nav-bell .rb-see-all:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.rb-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1050;
}

@media (max-width: 768px) {
  .nav-user .premium-badge-profile {
    right: 0 !important;
  }
}
