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

/*
 * Rails wraps an invalid field in <div class="field_with_errors">. Nothing styles that
 * class, and the extra block box breaks the mt-1 spacing between a label and its input.
 * ApplicationFormBuilder does the highlighting, so make the wrapper disappear from
 * layout rather than overriding field_error_proc globally.
 */
.field_with_errors {
  display: contents;
}
