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

/* Form Builder: contenteditable placeholder */
.fb-empty::before {
  content: attr(data-placeholder);
  color: #9ca3af;
  pointer-events: none;
}

/* Trix: hide attachment metadata (filename + size) and progress bar leftover.
   With Tailwind base, the default Trix caption strip renders as an empty
   thick white bar — hiding it keeps images clean. (.attachment__* classes
   are Trix-specific so no risk of collision.) */
.attachment__metadata-container,
.attachment__metadata,
.attachment__name,
.attachment__size {
  display: none !important;
}

/* Also remove the persistent progress bar that some Trix versions leave
   visible at 100% after upload completes. */
.attachment__progress {
  display: none !important;
}
