/*
 * Converted from Quill's official quill.snow.css to target ActionText's .trix-content
 * This ensures that the rendered output matches the editor's styling.
 */

/* .trix-content {
  box-sizing: border-box;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.42;
  height: 100%;
  outline: 0;
  overflow-y: auto;
  padding: 12px 15px;
  tab-size: 4;
  -moz-tab-size: 4;
  text-align: left;
  white-space: pre-wrap;
  word-wrap: break-word;
} */
.trix-content > * {
  cursor: text;
}
.trix-content p, .trix-content ol, .trix-content ul, .trix-content pre, .trix-content blockquote, .trix-content h1, .trix-content h2, .trix-content h3, .trix-content h4, .trix-content h5, .trix-content h6 {
  margin: 0;
  padding: 0;
  counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
}
.trix-content ol, .trix-content ul {
  padding-left: 1.5em;
}
.trix-content ol > li, .trix-content ul > li {
  list-style-type: none;
}
.trix-content ul > li::before {
  content: '\2022';
}
.trix-content li::before {
  display: inline-block;
  white-space: nowrap;
  width: 1.2em;
}
.trix-content li:not(.ql-direction-rtl)::before {
  margin-left: -1.5em;
  margin-right: 0.3em;
  text-align: right;
}
.trix-content ol li, .trix-content ul li {
  padding-left: 1.5em;
}
.trix-content ol li {
  counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
  counter-increment: list-0;
}
.trix-content ol li:before {
  content: counter(list-0, decimal) '. ';
}
.trix-content ol li.ql-indent-1 {
  counter-increment: list-1;
  counter-reset: list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
}
.trix-content ol li.ql-indent-1:before {
  content: counter(list-1, lower-alpha) '. ';
}
.trix-content .ql-indent-1 { padding-left: 3em; }
.trix-content h1 { font-size: 2em; }
.trix-content h2 { font-size: 1.5em; }
.trix-content h3 { font-size: 1.17em; }
.trix-content h4 { font-size: 1em; }
.trix-content h5 { font-size: 0.83em; }
.trix-content h6 { font-size: 0.67em; }
.trix-content a { text-decoration: underline; color: #06c; }
.trix-content blockquote {
  border-left: 4px solid #ccc;
  margin-bottom: 5px;
  margin-top: 5px;
  padding-left: 16px;
}
.trix-content pre {
  background-color: #f0f0f0;
  border-radius: 3px;
  white-space: pre-wrap;
  margin-bottom: 5px;
  margin-top: 5px;
  padding: 5px 10px;
}
.trix-content code {
  background-color: #f0f0f0;
  border-radius: 3px;
  font-size: 85%;
  padding: 2px 4px;
}
.trix-content pre.ql-syntax {
  background-color: #23241f;
  color: #f8f8f2;
  overflow: visible;
}
.trix-content img {
  max-width: 100%;
}
.trix-content strong { font-weight: bold; }
.trix-content em { font-style: italic; }
.trix-content u { text-decoration: underline; }
.trix-content s { text-decoration: line-through; }

/* Status Badges (keeping existing styles) */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}
.status-published {
    background-color: #dcfce7;
    color: #166534;
}
.status-draft {
    background-color: #fef3c7;
    color: #92400e;
}
.status-scheduled {
    background-color: #dbeafe;
    color: #1e40af;
}

/* Quill Editor UI Fixes (keeping existing styles) */
.quill-wrapper .ql-editor {
  min-height: 400px;
}

.quill-wrapper .ql-toolbar {
  border-bottom: 1px solid #e7e5e4;
  background: #fafaf9;
}
