/* styles.css */

.mention_container {
  width: 400px;
  position: relative;
}

.mention_profiles {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.mention_profiles img {
  border-radius: 50%;
  width: 30px;
  height: 30px;
  margin-right: -10px;
  opacity: 1;
}

.mention_thread {
  width: 2px;
  background-color: #00000036;
  height: 16px;
  position: absolute;
  left: 24px;
  top: 44px;
}

.mention_post {
  display: flex;
  cursor: pointer;
  margin-top: 24px;
}

.mention_thumbnail {
  width: 60px;
  height: 60px;
  background-color: #ccc;
  border-radius: 16px;
}

.mention_title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding-left: 10px;
  display: flex;
  align-items: center;
  font-size: 16px;
  color: darkgray;
}

/* Styling for the tooltip */
[data-tooltip]:hover::before {
  content: attr(data-tooltip);  /* Fetch tooltip text from data attribute */
  display: inline-block;
  position: absolute;
  background-color: #333;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  z-index: 1000;
  bottom: 100%; /* Position it above the image */
  left: 50%;
  transform: translateX(-50%);  /* Center the tooltip */
  margin-bottom: 10px;  /* Small space between tooltip and image */
  white-space: nowrap;  /* Prevent text wrapping */
}

/* Optional: If you want an arrow/pointer on the tooltip, you can add this */
[data-tooltip]:hover::after {
  content: "";
  position: absolute;
  bottom: -5px;  /* Adjust as necessary */
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px 5px 0;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}


