/*
 * 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.
 */

/* Flash messages animation */
@keyframes flashFadeIn {
  from { opacity: 0; transform: translateY(-15px); box-shadow: 0 0 0 rgba(0,0,0,0); }
  to { opacity: 1; transform: translateY(0); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
}

.flash-animate {
  animation: flashFadeIn 0.3s ease-out forwards;
}

.flash-animate.hiding {
  opacity: 0;
  transform: translateY(-15px);
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 0 rgba(0,0,0,0);
}
