/* Rich Editor Content Styles */
.prose-richtext {
    line-height: 1.75;
}

.prose-richtext h1,
.prose-richtext h2,
.prose-richtext h3,
.prose-richtext h4,
.prose-richtext h5,
.prose-richtext h6 {
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: inherit;
}

.prose-richtext h1 {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.prose-richtext h2 {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.prose-richtext h3 {
    font-size: 1.5rem;
    line-height: 2rem;
}

.prose-richtext h4 {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.prose-richtext p {
    margin-bottom: 1rem;
}

.prose-richtext ul,
.prose-richtext ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.prose-richtext ul li,
.prose-richtext ol li {
    margin-bottom: 0.5rem;
}

.prose-richtext ul {
    list-style-type: disc;
}

.prose-richtext ol {
    list-style-type: decimal;
}

.prose-richtext blockquote {
    border-left: 4px solid #4f46e5;
    padding-left: 1rem;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 1rem;
    font-style: italic;
    color: #6b7280;
    background: #f9fafb;
    padding: 1rem;
    border-radius: 0.5rem;
}

.dark .prose-richtext blockquote {
    border-left-color: #818cf8;
    color: #d1d5db;
    background: #111827;
}

.prose-richtext table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.prose-richtext table th {
    background: #f3f4f6;
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    border: 1px solid #e5e7eb;
}

.prose-richtext table td {
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
}

.dark .prose-richtext table th {
    background: #1f2937;
    border-color: #374151;
}

.dark .prose-richtext table td {
    border-color: #374151;
}

.prose-richtext code {
    background: #f3f4f6;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

.dark .prose-richtext code {
    background: #1f2937;
}

.prose-richtext a {
    color: #4f46e5;
    text-decoration: underline;
}

.dark .prose-richtext a {
    color: #818cf8;
}

.prose-richtext a:hover {
    color: #4338ca;
}

.dark .prose-richtext a:hover {
    color: #c4b5fd;
}

.prose-richtext img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.prose-richtext hr {
    border: none;
    border-top: 2px solid #e5e7eb;
    margin: 2rem 0;
}

.dark .prose-richtext hr {
    border-top-color: #374151;
}
