/* Fade out animation for removing children entries */
.fade-out {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Fade in animation for adding children entries */
.fade-in {
  animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Highlight effect for successful form submission */
.highlight-success {
  animation: highlightSuccess 1s ease;
}

@keyframes highlightSuccess {
  0% {
    background-color: transparent;
  }
  30% {
    background-color: rgba(16, 185, 129, 0.1); /* Light green */
  }
  100% {
    background-color: transparent;
  }
}
