/* ==========================================================================
   THIRD-PARTY LIBRARY OVERRIDES
   ========================================================================== */

/* --- Syncfusion (e-*) Overrides --- */
.e-control { font-size:inherit; }
.e-dashboardlayout.e-control .e-panel { background:none; box-shadow:none; border-color:rgba(0,0,0,0); }
#contentDashboardContainer.edit .e-resize { color:rgba(var(--text-color),.25) !important;  }
#contentDashboardContainer.edit .e-resize:hover { color:rgba(var(--text-color),1) !important;  }
.e-dashboardlayout.e-control .e-panel, .e-dashboardlayout.e-control .e-panel:hover { border-color:rgba(0,0,0,0); }
#contentDashboardContainer.edit .e-dashboardlayout.e-control .e-panel:hover { border:1px solid rgba(var(--text-color),.25); border-radius:5px; }
.e-dashboardlayout.e-control .e-dashboard-gridline-table td.e-dashboard-gridline { opacity:.2; }
.e-dashboardlayout.e-control .e-dashboard-gridline-table { background:none; }
.e-dlg-header-content, .e-dlg-header, .e-dlg-content, .e-footer-content { background:rgb(var(--content-background-color)); color:rgb(var(--text-color)); }
.e-dialog .e-dlg-header-content { border-bottom:none; } 
.e-dialog .e-footer-content { border-top:none; }
.e-dialog { border-radius:var(--modal-radius); }
.e-dialog .e-dlg-header-content { border-radius:var(--modal-radius) var(--modal-radius) 0 0; }
.e-dialog .e-footer-content { border-bottom-left-radius:var(--modal-radius); border-bottom-right-radius:var(--modal-radius); }
.e-dlg-overlay { background-color:rgba(var(--text-color),1); }
.e-dialog { box-shadow:0 0 15px rgba(var(--text-color),1); }
.e-dlg-content pre { font-size:12px; color:rgb(var(--text-color)); }
.e-btn, .e-btn:focus, .e-btn.e-flat.e-primary, .e-btn.e-flat.e-primary:focus { line-height:normal; padding:0 10px 2px 10px; display:inline-flex; margin-right:3px; background:none; border-radius:5px; border-color:rgba(var(--text-color),.25); color:rgb(var(--text-color)); }
.e-btn:hover, .e-btn.e-flat.e-primary:hover { background:rgb(var(--text-color)); color:rgb(var(--content-background-color)); border-color:rgb(var(--text-color)); }
.e-input-group { border:none !important; color:rgb(var(--input-text-color)) !important; }
.e-input { background:rgb(var(--input-background-color)) !important; }
.e-input-focus { box-shadow:0 0 1px 2px rgba(var(--highlight-color),1) !important; border-color:rgba(var(--highlight-color),1) !important; }
.e-input-group, .e-input-group.e-control-wrapper { width:auto; }
.e-accumulationchart .label { color:rgb(var(--text-color)); font-family:'espace_font'; text-align:center; }
.e-accumulationchart .label .value { font-size:120%; font-weight:bold; }
.e-multiselect { font-family:'espace_font' !important; font-size:14px !important; }
.e-chipcontent { padding:0 3px !important; font-size:14px !important; }
.e-multiselect .e-placeholder, .e-multi-select-wrapper input[type=text] { font-size:14px !important; }
.e-multiselect.e-input-group { background:rgb(var(--input-background-color)); }
.e-multi-select-wrapper .e-delim-values .e-remain { font-size:14px; }
.e-multi-select-wrapper .e-chips { background:rgb(var(--button-color)); }
.e-multi-select-wrapper .e-chips-close { display:none; width:20px; position:relative; left:-6px; top:-3px; }
.e-multi-select-wrapper .e-chips:hover .e-chips-close { opacity:.5; display:inline-block; }
.e-multiselect:not(.e-disabled) .e-multi-select-wrapper .e-chips:hover { background:rgb(var(--text-color)); }
.e-multi-select-wrapper .e-chips>.e-chipcontent, .e-multi-select-wrapper .e-chips .e-chips-close::before { color:inherit; -webkit-text-fill-color:inherit; }
.e-multiselect:not(.e-disabled) .e-multi-select-wrapper .e-chips:hover .e-chipcontent,
.e-multi-select-wrapper .e-chips .e-chips-close::before { color:rgb(var(--content-background-color)); }
.e-treeview .e-list-item:focus { outline:none !important; box-shadow:none !important; }
.e-treeview .e-list-item.e-active>.e-fullrow { background-color:rgba(var(--highlight-color),.2) !important; color:rgb(var(--text-color)) !important; box-shadow: none !important; border-radius:5px; }
.e-treeview .e-list-item.e-active>.e-fullrow { border-color:transparent !important; }
.e-treeview .e-list-item.e-active>.e-text-content, .e-treeview .e-list-item.e-active>.e-text-content .e-icon-collapsible, .e-treeview .e-list-item.e-active>.e-text-content .e-icon-expandable, .e-treeview .e-list-item.e-active>.e-text-content .e-list-text { color:rgb(var(--text-color)) !important; }
.e-treeview .e-icon-collapsible, .e-treeview .e-icon-expandable { color:rgb(var(--text-color)) !important; }
.e-treeview .e-list-item.e-hover>.e-fullrow, .e-treeview .e-list-item.e-node-focus>.e-fullrow { background:rgba(var(--text-color),.1) !important; border-radius:5px; }
.e-treeview .e-list-text { pointer-events:none; color:rgba(var(--text-color),.8) !important; }
.e-treeview .e-list-text .missing { opacity:0.5; }
.e-treeview .e-list-text .missing::before { content:'\ea06'; font-family:'tabler-icons'; color:rgb(var(--error-color)); margin-right:10px; }
.e-toast-container .e-toast { background:rgb(var(--highlight-color)); color:rgb(var(--text-color)) !important; }

/* --- JSON Editor (je-*) Overrides --- */
#editor_holder > div > .je-header:first-of-type { display:none; }
#editor_holder .je-indented-panel:first-of-type { padding-left:0; margin-left:0; border-left:none; }
.je-object__container>p, #editor_holder [id$="-description"] { font-size:12px; margin:0; opacity:.5; }
#editor_holder .row { margin-bottom:10px; }
#editor_holder .errmsg { color:rgb(var(--error-color)); font-size:12px; position:relative; left:-20px; }
#editor_holder .errmsg::before { content:'\f6f0'; font-family:'tabler-icons'; background:white; padding:3px; }
.je-object__container:has(.errmsg)::before, [data-schematype="array"]:has(.errmsg)::before { content:'\f6f0'; font-family:'tabler-icons'; color:rgb(var(--error-color)); }
#editor_holder label, .jsonEditMeta label { min-width:150px; display:inline-block; font-size:14px; }
#editor_holder>div>.je-indented-panel { border:none; margin:0; padding:0; }
.json-editor-btn-delete::before, .json-editor-btn-movedown::before, .json-editor-btn-moveup::before, .json-editor-btn-add::before, .json-editor-btn-edit_properties::before, #editor_holder .bi:before { font-size:18px; width:20px; }
.json-editor-btn-delete, .json-editor-btn-movedown, .json-editor-btn-moveup, .json-editor-btn-add, .json-editor-btn-edit_properties, #editor_holder .bi { font-size:0; font-family:'tabler-icons'; font-style:normal; }
.je-header button { height:24px; display:inline-block; text-align:center; overflow:hidden; }
.json-editor-btn-delete::before { content:'\eb41'; }
.json-editor-btn-movedown::before { content:'\ea16'; }
.json-editor-btn-moveup::before { content:'\ea25'; }
.json-editor-btn-add::before { content:'\eb0b'; }
.json-editor-btn-edit_properties::before { content:'\fc01'; }
#editor_holder .bi-chevron-down::before { content:'\ea5f'; }
#editor_holder .bi-chevron-right::before { content:'\ea61'; }
#editor_holder .bi-clipboard::before { content:'\ea7a'; }
#editor_holder button { background:none; }
#editor_holder button:hover { background:rgb(var(--text-color)); }
#editor_holder textarea, .jsonEditMeta textarea { height:60px !important; width:100%; }
.json-editor-btn-collapse { position:relative; left:-8px; }
.json-editor-btn-edit_properties { margin-left:10px !important; }
#editor_holder .je-indented-panel tbody td:last-child { white-space:nowrap; }
.je-modal { background-color: #EEEEEE !important; border-radius:10px; border:none !important; box-shadow:none !important; filter: drop-shadow(0px 0px 20px rgba(0,0,0,.3)); position:absolute; z-index:10; }
.je-object__title>span:first-of-type { min-width:200px; display:inline-block; }
.json-editor-btn-copy>span { display:none;}
#editor_holder table { width: 100%; border-collapse: collapse; }
#editor_holder th, #editor_holder td { padding: 5px; border: 1px solid rgba(var(--input-text-color),.1); text-align: left; vertical-align: top;}
#editor_holder th { background-color:rgba(var(--input-text-color),.1); }
#editor_holder td input, #editor_holder td select, #editor_holder td input[type=checkbox] { margin-right: 5px; vertical-align: middle; box-sizing:border-box; }
#editor_holder td button.alert-button { padding: 3px 6px; margin-left: 5px; border: 1px solid black; background-color: lightgray; cursor: pointer; vertical-align: middle;}
#editor_holder td span.icon-display { font-family:monospace; background: #eee; padding: 3px; border: 1px solid #ddd; display: inline-block; min-width: 80px; margin-right: 3px; vertical-align: middle; }
