/* =========================
   FRIENDS LIST
   ========================= */

.friend-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(216, 180, 106, 0.12);
  border-radius: 8px;
  transition: background 0.2s, border-color 0.2s;
  cursor: pointer;
}

.friend-row:hover {
  background: rgba(216, 180, 106, 0.05);
  border-color: rgba(216, 180, 106, 0.25);
}

.friend-avatar {
  flex-shrink: 0;
}

.friend-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.friend-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.friend-name {
  color: var(--ui-text);
  font-weight: 700;
  font-size: 0.95rem;
  font-family: 'Outfit', sans-serif;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.friend-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.friend-status-badge.online {
  color: #8fa677;
}

.friend-status-badge.offline {
  color: #a7977c;
}

.friend-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.friend-status-dot.online {
  background-color: #8fa677;
  box-shadow: 0 0 6px #8fa677;
}

.friend-status-dot.offline {
  background-color: #554a3c;
}

.friend-meta {
  color: #a7977c;
  font-size: 0.8rem;
}

.friend-location {
  color: var(--ui-gold);
  font-size: 0.8rem;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Scrollbar styling inside list */
#friendsList::-webkit-scrollbar {
  width: 6px;
}
#friendsList::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}
#friendsList::-webkit-scrollbar-thumb {
  background: rgba(216, 180, 106, 0.3);
  border-radius: 3px;
}
#friendsList::-webkit-scrollbar-thumb:hover {
  background: rgba(216, 180, 106, 0.5);
}
