@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes slideOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
  }
}

.modal-animation-in {
  animation: fadeIn 0.3s ease-out forwards;
}

.modal-content-animation-in {
  animation: slideIn 0.3s ease-out forwards;
}

.modal-animation-out {
  animation: fadeOut 0.3s ease-in forwards;
}

.modal-content-animation-out {
  animation: slideOut 0.3s ease-in forwards;
}
