// --------------- zoom-in & out --------------
.zoom-in {
  animation: fadeZoomIn 0.5s ease-in-out;
}

.zoom-out {
  animation: fadeZoomOut 0.5s ease-in-out;
  &.collapse {
    display: none !important;
  }
}

@keyframes fadeZoomOut {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0);
  }
}

@keyframes fadeZoomIn {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

// --------------- hide & show --------------
.hide {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.8s ease-in-out,
    opacity 0.8s ease-in-out;
}

.show {
  max-height: 200px; /* Adjust this value based on content */
  opacity: 1;
  transition:
    max-height 0.8s ease-in-out,
    opacity 0.8s ease-in-out;
}
