/* ========================================
   QUILL GLOBAL CONTENT STYLES
   ======================================== */

/* Alignment */
.ql-align-left {
    text-align: left;
}
.ql-align-center {
    text-align: center;
}
.ql-align-right {
    text-align: right;
}
.ql-align-justify {
    text-align: justify;
}

/* Indentation */
.ql-indent-1 {
    padding-left: 3em;
}
.ql-indent-2 {
    padding-left: 6em;
}
.ql-indent-3 {
    padding-left: 9em;
}
.ql-indent-4 {
    padding-left: 12em;
}
.ql-indent-5 {
    padding-left: 15em;
}
.ql-indent-6 {
    padding-left: 18em;
}
.ql-indent-7 {
    padding-left: 21em;
}
.ql-indent-8 {
    padding-left: 24em;
}

/* Direction */
.ql-direction-rtl {
    direction: rtl;
    text-align: inherit;
}

/* Font families */
.ql-font-serif {
    font-family: Georgia, "Times New Roman", serif;
}
.ql-font-monospace {
    font-family: monospace;
}

/* Font sizes */
.ql-size-small {
    font-size: 0.75em;
}
.ql-size-large {
    font-size: 1.5em;
}
.ql-size-huge {
    font-size: 2.5em;
}

/* Text formatting */
.ql-strike {
    text-decoration: line-through;
}

/* Images and videos */
.ql-editor img,
.ql-snow .ql-editor img,
.beyond-content img {
    max-width: 100%;
    height: auto;
}

.ql-video,
.beyond-content iframe {
    max-width: 100%;
}

/* Blockquote */
.ql-editor blockquote,
.beyond-content blockquote {
    border-left: 4px solid #d4b06a;
    margin: 1.5rem 0;
    padding-left: 1rem;
}

/* Code block */
.ql-editor pre,
.beyond-content pre {
    overflow-x: auto;
    white-space: pre-wrap;
}

/* Lists */
.beyond-content ol,
.beyond-content ul {
    padding-left: 1.5em;
}

/* Formula */
.ql-formula {
    display: inline-block;
}

/* Quill toolbar sticky */
.ql-toolbar.ql-snow {
    position: sticky;
    top: 70px; /* Sesuaikan dengan tinggi navbar dashboard */
    z-index: 50;
    background: #fff;
    border-radius: 8px 8px 0 0;
}

/* Area editor */
.ql-container.ql-snow {
    background: #fff;
}
