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

/* New event slide-in + glow animation for Turbo Stream prepends */
@keyframes event-slide-in {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes event-glow {
  0% {
    box-shadow: 0 0 0 0 var(--relay-m);
    border-color: var(--relay);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(27,170,126,0);
    border-color: var(--relay);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(27,170,126,0);
    border-color: var(--color-border-secondary);
  }
}

.whq-event-new {
  animation: event-slide-in 0.3s ease-out, event-glow 2s ease-out;
}
