:root {
    --navbar-height: 73px; /*4rem; */ /* 64px */
}

.cm-editor-heading {
    color: rgb(131, 255, 131);
    font-weight: bold;
}

.CodeMirror {
    height: 100%;
    font-family: 'Courier New', Courier, monospace;
}

.CodeMirror-scroll {    
    min-height: 100%;
} 

.cm-character {
    color: orange;
}

.cm-dialogue {
    color: yellow;
}

.cm-parenthetical {
    color: #FFBF00; /* A color between orange and yellow */
}

.cm-section {
    color: #c084fc; /* light purple */
    font-weight: bold;
}

.cm-synopsis {
    color: lightblue;
}

.cm-boneyard {
    color: gray;
    font-style: italic;
}

.cm-lyric {
    color: pink;
    font-style: italic;
}

.cm-note {
    color: lightcoral;
    background-color: #332828;
}

#jstree {
    overflow-x: auto;
}

/* Custom utility to prevent text selection */
.user-select-none {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

#editor-container {
    position: relative;
}

#main-container {
    height: 400px;
}

.drawer-content {
    height: calc(100vh - var(--navbar-height));
}

@media (min-width: 1024px) {
    .drawer-side {
        height: calc(100vh - var(--navbar-height));
    }
}

.cm-s-dracula .cm-character { color: #ffb86c; } /* Orange */
.cm-s-dracula .cm-parenthetical { color: #FFBF00; } /* Comment Grey */
.cm-s-dracula .cm-dialogue { color: #f1fa8c; } /* Yellow */
.cm-s-dracula .cm-transition { color: #bd93f9; } /* Purple */
.cm-s-dracula .cm-centered { color: #8be9fd; } /* Cyan */