/*
 * 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 Error Styling */
.field_with_errors input,
.field_with_errors textarea,
.field_with_errors select {
  border-color: #dc2626;
  border-width: 2px;
}

.field_with_errors input:focus,
.field_with_errors textarea:focus,
.field_with_errors select:focus {
  border-color: #dc2626;
  outline: 2px solid #dc2626;
  outline-offset: 1px;
}

/* Rich Text Editor Container Styles for Lexxy */
.rich-text-editor-container {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  overflow: hidden;
}

.rich-text-editor-container lexxy-editor {
  min-height: 400px;
}
