/* === AUTOCOMPLETE DES MENTIONS === */

.mention-autocomplete {
  position: absolute;
  background: white;
  border: 2px solid #667eea;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  min-width: 200px;
}

.mention-autocomplete-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid #f0f0f0;
}

.mention-autocomplete-item:last-child {
  border-bottom: none;
}

.mention-autocomplete-item:hover,
.mention-autocomplete-item.selected {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.mention-autocomplete-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e0e3e8;
  flex-shrink: 0;
}

.mention-autocomplete-avatar-placeholder {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  flex-shrink: 0;
}

.mention-autocomplete-pseudo {
  font-weight: 600;
  color: #2c3e50;
}

.mention-autocomplete::-webkit-scrollbar {
  width: 6px;
}

.mention-autocomplete::-webkit-scrollbar-thumb {
  background: #667eea;
  border-radius: 3px;
}
