/* Professional SweetAlert2 Transitions */

/* Override default show animation - simple fade and subtle scale */
.swal2-show {
  animation: swal2-fade-in 0.2s ease-out forwards !important;
}

/* Override default hide animation - simple fade out */
.swal2-hide {
  animation: swal2-fade-out 0.15s ease-in forwards !important;
}

/* Backdrop show - simple fade */
.swal2-backdrop-show {
  animation: swal2-backdrop-fade-in 0.2s ease-out forwards !important;
}

/* Backdrop hide - simple fade */
.swal2-backdrop-hide {
  animation: swal2-backdrop-fade-out 0.15s ease-in forwards !important;
}

/* Icon animations - disable bouncy animations, use simple fade */
.swal2-icon-show {
  animation: swal2-icon-fade-in 0.2s ease-out forwards !important;
}

.swal2-icon-hide {
  animation: swal2-icon-fade-out 0.15s ease-in forwards !important;
}

/* Keyframe definitions */
@keyframes swal2-fade-in {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes swal2-fade-out {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.95);
  }
}

@keyframes swal2-backdrop-fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes swal2-backdrop-fade-out {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes swal2-icon-fade-in {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes swal2-icon-fade-out {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.8);
  }
}

/* Disable any bounce/elastic animations that may be present */
.swal2-popup {
  animation: none !important;
}

/* Success icon - disable animated lines */
.swal2-success-line-tip,
.swal2-success-line-long {
  animation: none !important;
}

/* Error icon - disable animated lines */
.swal2-x-mark-line-left,
.swal2-x-mark-line-right {
  animation: none !important;
}
