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

.fade-slide {
  transform: translateY(-0.5rem);
  opacity: 0;
}

.fade-slide.show {
  transform: translateY(0);
  opacity: 1;
}

.post-transition {
  transition: transform 0.2s ease-out, opacity 0.2s ease-out, box-shadow 2.5s ease-out, outline-color 2.5s ease-out;
}

.new-post {
  outline-color: var(--color-green-500);
  box-shadow: inset 0 0 10px var(--color-emerald-500);
  outline-width: 3px;
}
