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

::view-transition-old(step-card) {
  animation: slide-out-left 0.15s ease-in;
}

::view-transition-new(step-card) {
  animation: slide-in-right 0.15s ease-out;
}

@keyframes slide-out-left {
  to { transform: translateX(-30px); opacity: 0; }
}

@keyframes slide-in-right {
  from { transform: translateX(30px); opacity: 0; }
}

@keyframes chat-appear {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-chat-appear {
  animation: chat-appear 0.3s ease-out;
}

@keyframes highlight-pulse {
  0% { background-color: var(--color-primary-100); }
  100% { background-color: transparent; }
}

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