/* Custom CSS overrides for reactions */

/* Improve the transition delay for reaction menus */
.reaction-container:hover .reaction-menu {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

/* Create a larger hover area for the reaction menu */
.reaction-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
  z-index: 999;
}

/* Prevent reaction menu from being hidden immediately */
.reaction-menu:hover {
  display: flex !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Add a small delay when hovering out */
.reaction-menu {
  transition-delay: 0s;
}

/* Ensure reaction-options are big enough to be clicked easily */
.reaction-option {
  min-width: 42px;
  min-height: 42px;
}

/* Create more prominent hover effects */
.reaction-option:hover {
  transform: scale(1.4) translateY(-5px);
  z-index: 1002;
}

/* Improve the tooltip visibility on hover */
.reaction-option:hover .reaction-label {
  opacity: 1;
  transform: translateY(0);
}
