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

/* Snapshot row spotlight — when the show page is opened with a #snapshot_<id>
 * anchor (e.g. just after creating one), briefly ring the targeted row so the
 * user's eye lands on it and its publish action. */
@keyframes fr-snapshot-spotlight {
  0%   { box-shadow: 0 0 0 0 var(--accent, #e64a90); }
  30%  { box-shadow: 0 0 0 2px var(--accent, #e64a90); }
  100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
}

.fr-snapshot-row:target {
  animation: fr-snapshot-spotlight 2s ease-out 1;
  border-color: var(--accent, #e64a90);
}
