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

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* User dropdown chevron rotation */
.dropdown[open] .chevron-icon {
  transform: rotate(180deg);
}

/* PDF.js text layer — invisible text overlay for selection and highlighting */
.pdf-text-layer {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  opacity: 0.3;
  line-height: 1;
}

.pdf-text-layer span {
  color: transparent;
  white-space: pre;
  cursor: text;
}

.pdf-text-layer .pdf-highlight {
  background-color: oklch(0.905 0.182 98.111 / 0.5); /* warning/50 */
  color: transparent;
  border-radius: 2px;
}
