.comments-container {
  margin: 20px auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  padding: 16px;
  border-radius: 16px;
  background-color: #fff;
}

.comments-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  background-color: #f0f2f5;
  border-radius: 12px;
  padding: 8px 12px;
}

.comment-icon {
  color: #1877f2;
  width: 24px;
  height: 24px;
}

.comments-header h2 {
  font-size: 24px;
  font-weight: 600;
  color: #050505;
  margin: 0;
}

.comments-header > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.comments-header .comment-sorted {
  display: flex;
  align-items: center;
  gap: 4px;
}

.comments-header .comment-sorted span {
  font-size: 14px;
  font-weight: 600;
  color: #1877f2;
}

.comments-header button:hover {
  text-decoration: underline;
}

.comment {
  display: flex;
  margin-bottom: 8px;
  padding: 8px;
}

.comment.reply {
  margin-left: 32px;
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin-right: 8px;
  background-color: #e4e6eb;
}

.comment-content {
  flex: 1;
}

.comment-bubble {
  background-color: #f0f2f5;
  border-radius: 18px;
  padding: 8px 12px;
  display: inline-block;
  max-width: 100%;
}

.username {
  font-weight: 600;
  color: #050505;
  font-size: 13px;
  margin-bottom: 2px;
}

.comment-text {
  color: #050505;
  font-size: 15px;
  line-height: 1.3333;
  margin: 0;
}

.comment-actions {
  margin-top: 4px;
  margin-left: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.action-button {
  border: none;
  background: none;
  color: #65676b;
  font-size: 12px;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
}

.action-button:hover {
  text-decoration: underline;
}

.action-button.liked {
  color: #1877f2;
}

.view-more {
  color: #1877f2;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px 0;
  margin-bottom: 16px;
}

.view-more:hover {
  text-decoration: underline;
}

.hidden {
  display: none;
}

.timestamp {
  color: #65676b;
  font-size: 12px;
}

.likes-count {
  color: #65676b;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.like-icon {
  color: #1877f2;
  font-size: 12px;
}

.dot-separator {
  color: #65676b;
  margin: 0 4px;
}

/* MOBILE */

@media (max-width: 768px) {
  .comments-container {
    padding: 8px 12px;
  }

  .comments-header {
    padding: 4px 8px;
    font-size: 12px;
  }

  .comment-icon {
    width: 20px;
    height: 20px;
  }

  .comments-header h2 {
    font-size: 16px;
  }

  .comment {
    padding: 4px;
    font-size: 12px;
  }

  .avatar {
    width: 36px;
    height: 36px;
  }

  .comment-bubble {
    padding: 6px 8px;
  }

  .username {
    font-size: 10px;
  }

  .comment-text {
    font-size: 12px;
  }

  .comment-actions {
    margin-left: 8px;
  }

  .action-button {
    font-size: 10px;
  }

  .view-more {
    font-size: 12px;
    padding: 4px 0;
  }

  .timestamp {
    font-size: 10px;
  }

  .likes-count {
    font-size: 10px;
  }

  .like-icon {
    font-size: 10px;
  }
}
