/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

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

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

@keyframes toast-fadeIn {
  from { 
    opacity: 0; 
    transform: translateY(-100%);
  }
  to { 
    opacity: 1; 
    transform: translateY(0);
  }
}

@keyframes toast-fadeOut {
  from { 
    opacity: 1; 
    transform: translateY(0);
  }
  to { 
    opacity: 0; 
    transform: translateY(-100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .toastAnimationIn,
  .toastAnimationOut {
    animation: none;
  }
}