Bring a large pot of water to a boil and salt it generously.
Add the elbow macaroni and cook 7–10 minutes until al dente, then drain in a colander.
Rinse the drained pasta under cold water until fully cooled and set aside to drain.
Place the cooled pasta, diced carrots, diced celery, diced red onion, and diced dill pickle into a large bowl with a lid.
In a small bowl, whisk together the mayonnaise, white vinegar, dried basil, dried oregano, salt, and black pepper until smooth.
Pour the mayonnaise mixture over the pasta and vegetables and stir until everything is evenly coated. If needed, add a splash of water or a little more mayonnaise to reach desired creaminess.
Taste and adjust seasoning as desired, then refrigerate until chilled before serving.