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

/* Page transitions via View Transitions API (Turbo 8) */
@keyframes vt-fade-in {
  from { opacity: 0; }
}

/* Old page stays fully visible — no exit animation, no flash */
::view-transition-old(root) {
  animation: none;
}

/* New page fades in on top */
::view-transition-new(root) {
  animation: 180ms ease-out vt-fade-in;
}
