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

/* Rich-text (Text / Disclaimer) contenteditable editor */
.rich-text-editable {
  min-height: 5rem;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-word;
  cursor: text;
}
.rich-text-editable:empty::before {
  content: attr(data-placeholder);
  color: #94a3b8; /* slate-400 */
  pointer-events: none;
}
.rich-text-editable a {
  color: #2563eb; /* blue-600 */
  text-decoration: underline;
}
