/* ActionText Fixes - Restore list and link styling that Tailwind removes */

.actiontext-content ul,
.trix-content ul {
  list-style-type: disc !important;
  padding-left: 1.5rem !important;
  margin: 0.5rem 0 !important;
}

.actiontext-content ol,
.trix-content ol {
  list-style-type: decimal !important;
  padding-left: 1.5rem !important;
  margin: 0.5rem 0 !important;
}

.actiontext-content a,
.trix-content a {
  color: #2563eb !important;
  text-decoration: underline !important;
}

.actiontext-content a:hover,
.trix-content a:hover {
  color: #1d4ed8 !important;
}

/* Editor Content Styling - for content while editing */
trix-editor ul,
.trix-editor ul {
  list-style-type: disc !important;
  padding-left: 1.5rem !important;
  margin: 0.5rem 0 !important;
}

trix-editor ol,
.trix-editor ol {
  list-style-type: decimal !important;
  padding-left: 1.5rem !important;
  margin: 0.5rem 0 !important;
}

trix-editor a,
.trix-editor a {
  color: #2563eb !important;
  text-decoration: underline !important;
}

/* Force list styling in the editor */
trix-editor[contenteditable] ul {
  list-style-type: disc !important;
  padding-left: 1.5rem !important;
  margin: 0.5rem 0 !important;
}

trix-editor[contenteditable] ol {
  list-style-type: decimal !important;
  padding-left: 1.5rem !important;
  margin: 0.5rem 0 !important;
}

/* Hide attachment functionality to prevent file uploads */
.trix-button-group--file-tools {
  display: none !important;
}

.trix-button--icon-attach {
  display: none !important;
}

/* Hide any attachment-related buttons */
button[data-trix-attribute="href"][data-trix-action="attachFiles"] {
  display: none !important;
}

/* Hide attachment dialog if it appears */
.trix-dialog--file {
  display: none !important;
}
