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

/* Import custom styles */
/* @import "app.css"; */

.positioned-field {
  position: absolute;
  z-index: 20;
  /* Prevent fields from being affected by container resizing */
  transform-origin: top left;
  pointer-events: auto;
  /* Add other styles as needed */
}

/* Ensure the PDF container maintains its aspect ratio and fixed size */
.pdf-page-container {
  position: relative;
  width: 100%;
}

/* Style for the container of both PDF and fields */
[data-finalize-target="container"] {
  position: relative;
  /* Fixed width set in HTML */
  margin: 0 auto;
}
