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

/* Copy-to-clipboard confirmation (build checklist, lead drawer).
   ⚠️ Driven by a data attribute so the Stimulus controller never has to
   replace the button's contents — doing that means re-inserting the icon
   afterwards, and getting it subtly wrong. */
.copy-btn { position: relative; }
.copy-btn[data-copied]::after {
  content: attr(data-copied);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 4px);
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.65rem;
  line-height: 1;
  padding: 0.25rem 0.4rem;
  border-radius: 0.25rem;
  background: #111827;
  color: #fff;
  pointer-events: none;
}
