/*
 * Copyright (c) Biovisuals Private Limited. All rights reserved.
 *
 * Slide title tooltip (Responsive Studio — slide-navigator refinement).
 *
 * Rendered into document.body by utils/slideTooltip.js. The slide list must keep
 * `overflow-y: auto` (which clips absolutely-positioned descendants) and the
 * panel is only 110-170px wide, so `position: fixed` in the top-level overlay
 * layer is the only way the full title can be shown unclipped.
 *
 * Sits just BELOW the portalled action menu (10050) so a menu opened over a tile
 * is never obscured by a stale tooltip, but still above every panel/canvas
 * surface.
 */

.bv-slide-tooltip {
  position: fixed;
  z-index: 10040;
  max-width: 260px;
  box-sizing: border-box;
  padding: 6px 9px;
  border-radius: 6px;
  background: #1f2429;
  color: #ffffff;
  font-family: Inter, Arial, sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.35;
  /* The tooltip exists to reveal the FULL title, so it wraps rather than
     truncating — truncating here would defeat its purpose. */
  white-space: normal;
  overflow-wrap: anywhere;
  box-shadow:
    0 6px 16px rgba(16, 24, 40, 0.18),
    0 1px 3px rgba(16, 24, 40, 0.12);
  /* Never intercept the pointer: the tile underneath stays fully clickable. */
  pointer-events: none;
  /* Hidden by default. `visibility` (not display) keeps it measurable for
     positioning before it is revealed. */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.12s ease;
}

.bv-slide-tooltip.is-visible {
  opacity: 1;
  visibility: visible;
}

@media (prefers-reduced-motion: reduce) {
  .bv-slide-tooltip {
    transition: none;
  }
}
