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

/* Reaction Picker Animation */
.reaction-picker-animate {
  transform: scale(0.8);
  opacity: 0;
  transition: transform 150ms ease-out, opacity 150ms ease-out;
}

.reaction-picker-animate.expanded {
  transform: scale(1);
  opacity: 1;
}

/* Reaction button emoji transition */
[data-reaction-picker-target="currentEmoji"] {
  transition: filter 150ms ease-out, opacity 150ms ease-out;
}

/* Reaction button - smooth size transitions */
.reaction-button {
  height: 2.25rem;
  min-width: 2.25rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  transition: padding 150ms ease-out, background-color 150ms ease-out, border-color 150ms ease-out, color 150ms ease-out;
}

.reaction-button:has([data-reaction-picker-target="count"]:not(.max-w-0)) {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
