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

/* Crop button on image/video thumbnails: hidden by default, shown on hover.
   Uses pure CSS :hover so it responds instantly when a modal overlay unmounts. */
.crop-hover-wrap .crop-hover-btn {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s;
}
.crop-hover-wrap:hover .crop-hover-btn {
  opacity: 1;
  pointer-events: auto;
}

/* Volume slider popover on video clipper widgets: hidden by default, shown on hover. */
.video-volume-wrap .video-volume-popover {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s;
}
.video-volume-wrap:hover .video-volume-popover {
  opacity: 1;
  pointer-events: auto;
}
/* Invisible bridge across the gap between the icon and the popover so the
   cursor can move from one to the other without losing :hover. */
.video-volume-wrap .video-volume-popover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 8px;
}
