Base styling for Quill content
.quill-content {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Headings */
.quill-content h1,
.quill-content h2,
.quill-content h3,
.quill-content h4,
.quill-content h5,
.quill-content h6 {
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    font-weight: 600;
    line-height: 1.25;
}

.quill-content h1 {
    font-size: 2em;
}

.quill-content h2 {
    font-size: 1.75em;
}

.quill-content h3 {
    font-size: 1.5em;
}

.quill-content h4 {
    font-size: 1.25em;
}

.quill-content h5 {
    font-size: 1.125em;
}

.quill-content h6 {
    font-size: 1em;
}

/* Paragraphs and spacing */
.quill-content p {
    margin-top: 0;
    margin-bottom: 1em;
}

/* Lists */
.quill-content ul,
.quill-content ol {
    margin-top: 0;
    margin-bottom: 1em;
    padding-left: 2em;
}

.quill-content ul {
    list-style-type: disc;
}

.quill-content ol {
    list-style-type: decimal;
}

.quill-content li > ul,
.quill-content li > ol {
    margin-bottom: 0;
}

/* Links */
.quill-content a {
    color: #2563eb;
    text-decoration: underline;
}

.quill-content a:hover {
    color: #1e40af;
}

/* Blockquotes */
.quill-content blockquote {
    margin: 1.5em 0;
    padding: 0.5em 1em;
    border-left: 4px solid #e5e7eb;
    font-style: italic;
    color: #6b7280;
}

/* Code blocks */
.quill-content pre {
    margin: 1em 0;
    padding: 1em;
    background-color: #f1f5f9;
    border-radius: 0.375em;
    overflow-x: auto;
}

.quill-content code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.9em;
    background-color: #f1f5f9;
    padding: 0.2em 0.4em;
    border-radius: 0.25em;
}

.quill-content pre code {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
}

/* Tables */
.quill-content table {
    width: 100%;
    margin: 1em 0;
    border-collapse: collapse;
}

.quill-content table th,
.quill-content table td {
    padding: 0.5em;
    border: 1px solid #e5e7eb;
}

.quill-content table th {
    background-color: #f3f4f6;
    font-weight: 600;
    text-align: left;
}

/* Subscript and superscript */
.quill-content sub,
.quill-content sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

.quill-content sup {
    top: -0.5em;
}

.quill-content sub {
    bottom: -0.25em;
}

/* RTL content */
.quill-content [dir="rtl"] {
    text-align: right;
}
