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

/* Trix editor styling to match our form fields */
trix-editor {
  border: 1px solid #d1d5db !important;
  border-radius: 0.5rem !important;
  padding: 0.5rem 0.75rem !important;
  min-height: 200px !important;
  font-size: 0.875rem !important;
  line-height: 1.25rem !important;
}

trix-editor:focus {
  outline: none !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2) !important;
}

trix-toolbar .trix-button-row {
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
}

trix-toolbar .trix-button {
  color: #6b7280;
  border: none;
  background: none;
  padding: 0.25rem;
  margin: 0.125rem;
  border-radius: 0.25rem;
}

trix-toolbar .trix-button:hover {
  color: #1f2937;
  background-color: #f3f4f6;
}

trix-toolbar .trix-button.trix-active {
  background-color: #dbeafe;
  color: #1d4ed8;
}
