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

.clipboard-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 1.25rem;
  border-radius: 0.375rem;
  font-size: 1rem;
  white-space: nowrap;
  z-index: 9999;
  pointer-events: none;
  background-color: rgba(255, 255, 255, 0.9);
  color: #1e293b;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  animation: clipboard-toast 2s ease forwards;
}

.dark .clipboard-toast {
  background-color: rgba(15, 23, 42, 0.9); /* slate-950 */
  color: #f1f5f9;
}

@keyframes clipboard-toast {
  0%   { opacity: 0; transform: translateX(-50%) translateY(6px); }
  10%  { opacity: 1; transform: translateX(-50%) translateY(0); }
  75%  { opacity: 1; }
  100% { opacity: 0; }
}
