.qry-content-editor {
    width: 100%;
}

.editor-container {
    position: relative;
    overflow: hidden;
    /* Height is set via inline style or inherited from parent */
}

.monaco-editor-wrapper {
    width: 100%;
    height: 100%;
    min-height: 200px;  /* Ensure minimum usable height */
}

/*
 * Do not set line-height / font-size on Monaco's internal .view-line nodes.
 * Bootstrap and theme CSS (line-height: 1.5) can clip glyphs if forced onto those nodes;
 * Monaco owns its own line metrics via editor options.
 */
.monaco-editor-wrapper,
.monaco-editor-wrapper .monaco-editor {
    line-height: normal;
}

.nav-tabs {
    border-bottom: 1px solid #dee2e6;
}

.nav-tabs .nav-link {
    border: none;
    background: none;
    padding: 0.5rem 1rem;
    color: #6c757d;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.nav-tabs .nav-link:hover {
    color: #495057;
    border-bottom-color: #dee2e6;
}

.nav-tabs .nav-link.active {
    color: #0d6efd;
    border-bottom-color: #0d6efd;
    font-weight: 500;
}

