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

/* Highlight animation for reordered rows */
@keyframes highlight-fade {
  0% {
    background-color: rgb(204 251 241); /* teal-100 */
  }
  100% {
    background-color: transparent;
  }
}

@media (prefers-color-scheme: dark) {
  @keyframes highlight-fade {
    0% {
      background-color: rgb(19 78 74 / 0.3); /* teal-900/30 */
    }
    100% {
      background-color: transparent;
    }
  }
}

.animate-highlight {
  animation: highlight-fade 2s ease-out forwards;
}
