/* Base styling */
/* body {
    font-family: 'Vazir', 'Segoe UI', Tahoma, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
} */

/* Container for Quill content */
.ql-editor {
    /* background: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
}

/* Headings */
.ql-editor h1 {
    font-size: 2.5rem;
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 10px;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.ql-editor h2 {
    font-size: 2rem;
    color: #34495e;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.ql-editor h3 {
    font-size: 1.5rem;
    color: #5d7a9c;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

/* Paragraphs */
.ql-editor p {
    margin-bottom: 1.2rem;
    font-size: 1.125rem;
}

/* Links */
.ql-editor a {
    color: #3498db;
    text-decoration: none;
}

.ql-editor a:hover {
    text-decoration: underline;
}

/* Lists */
.ql-editor ul, 
.ql-editor ol {
    padding-right: 1.5rem;
    margin-bottom: 1.2rem;
}

.ql-editor li {
    margin-bottom: 0.5rem;
}

.ql-editor ul li {
    list-style-type: disc;
}

.ql-editor ol li {
    list-style-type: decimal;
}

/* Blockquotes */
.ql-editor blockquote {
    border-left: 4px solid #3498db;
    padding-left: 1rem;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 1.2rem;
    color: #555;
    font-style: italic;
}

/* Code blocks */
.ql-editor pre.ql-syntax {
    background-color: #23241f;
    color: #f8f8f2;
    padding: 1rem;
    border-radius: 4px;
    overflow: auto;
    margin-bottom: 1.2rem;
}

/* Inline code */
.ql-editor code {
    background-color: #f5f5f5;
    padding: 2px 4px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
}

/* Images */
.ql-editor img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.5rem auto;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Horizontal rule */
.ql-editor hr {
    border: 0;
    height: 1px;
    background: #eaeaea;
    margin: 2rem 0;
}

/* Tables */
.ql-editor table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.2rem;
}

.ql-editor table td, 
.ql-editor table th {
    border: 1px solid #eaeaea;
    padding: 0.5rem;
}

.ql-editor table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

/* Video embeds */
.ql-editor .ql-video {
    width: 100%;
    height: 400px;
    margin: 1.5rem auto;
    display: block;
}

/* Alignment classes */
.ql-editor .ql-align-center {
    text-align: center;
}

.ql-editor .ql-align-right {
    text-align: right;
}

.ql-editor .ql-align-justify {
    text-align: justify;
}

/* Responsive design */
@media (max-width: 768px) {
    body {
        padding: 15px;
    }
    
    .ql-editor {
        padding: 20px;
    }
    
    .ql-editor h1 {
        font-size: 2rem;
    }
    
    .ql-editor h2 {
        font-size: 1.75rem;
    }
    
    .ql-editor h3 {
        font-size: 1.25rem;
    }
    
    .ql-editor .ql-video {
        height: 250px;
    }
}