#ab_base{
    height:100%;
}

  #vendor-select{
    margin-left: 10px;
    height:38px
  }

  .lm_content,
.lm_item_container {
  overflow: visible !important;
}

sl-select::part(panel) {
  z-index: 10000; /* ensure dropdown stays on top */
}

sl-dropdown,
sl-select::part(base),
sl-overlay {
  z-index: 10000;
}

#ab_propertiesPanel{
  padding: 10px;
  overflow-y: scroll;
  height: 100%;
}

#ab_centerArea{
  height: 100%;;
}

.fieldType{
  margin-left: 10px;
  margin-right: 10px;
      font-size: 12px;
      line-height: 24px;
      color:rgb(118, 118, 118);
}

.fieldToolbar {
    background: #e1e1e1;
    height: 25px;
    position: absolute;
    right: 0px;
    top: 0px;
    border-bottom-left-radius: 5px;
    padding-left: 5px;
    padding-right: 5px;
}
  .field_icon{
      font-size: 16px;
      line-height: 24px;
      height:25px;
      width:25px;
      color:rgb(118, 118, 118);
  }

  sl-icon-button::part(base) {
  border-radius: 6px;
  padding: 0;
  margin-top: 5px;
}

.fieldTypeIcon{
  color:rgb(118, 118, 118);
}

:root.sl-theme-dark #ab_base {
  background: var(--mm-dark-bg, #0b1120);
}

:root.sl-theme-dark #ab_base .lm_goldenlayout,
:root.sl-theme-dark #ab_base .lm_row,
:root.sl-theme-dark #ab_base .lm_stack,
:root.sl-theme-dark #ab_base .lm_items {
  background: transparent;
}

:root.sl-theme-dark #ab_base .lm_header {
  background: #1C2530;
  border-bottom: 1px solid var(--mm-dark-border-soft, rgba(148, 163, 184, 0.12));
}

:root.sl-theme-dark #ab_base .lm_tab {
  background: #1C2530;
  color: var(--mm-dark-muted, #94a3b8);
  border: 1px solid transparent;
}

:root.sl-theme-dark #ab_base .lm_tab.lm_active,
:root.sl-theme-dark #ab_base .lm_tab:hover {
  background: #273241;
  color: var(--mm-dark-text, #f8fafc);
}

:root.sl-theme-dark #ab_base .lm_title {
  color: var(--mm-dark-text, #f8fafc);
}

:root.sl-theme-dark #ab_base .lm_content,
:root.sl-theme-dark #ab_base .lm_item,
:root.sl-theme-dark #ab_base .lm_item_container {
  background: var(--mm-dark-surface, #0f172a);
  border: 1px solid var(--mm-dark-border, rgba(148, 163, 184, 0.2));
  box-shadow: inset 0 0 0 1px rgba(2, 6, 23, 0.3);
}

:root.sl-theme-dark #ab_topToolbar {
  background: var(--mm-dark-surface-2, #111827);
  border-bottom: 1px solid var(--mm-dark-border, rgba(148, 163, 184, 0.2));
}

:root.sl-theme-dark #ab_topToolbar .text,
:root.sl-theme-dark #ab_topToolbar h7 {
  color: var(--mm-dark-text, #f8fafc);
}

:root.sl-theme-dark #ab_topToolbar sl-divider {
  --color: rgba(148, 163, 184, 0.35) !important;
}

:root.sl-theme-dark #ab_topToolbar sl-input::part(base),
:root.sl-theme-dark #ab_topToolbar sl-select::part(combobox) {
  background: var(--mm-dark-surface-3, #1f2937);
  color: var(--mm-dark-text, #f8fafc);
  border: 1px solid var(--mm-dark-border, rgba(148, 163, 184, 0.2));
}

:root.sl-theme-dark #ab_topToolbar .shadow_select {
  background: var(--mm-dark-surface-3, #1f2937);
  color: var(--mm-dark-text, #f8fafc);
  border: 1px solid var(--mm-dark-border, rgba(148, 163, 184, 0.2));
}

:root.sl-theme-dark .applicationToolbarbtn {
  color: var(--mm-dark-text, #f8fafc);
  background: #1C2530;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 10px;
}

:root.sl-theme-dark .applicationToolbarbtn:hover {
  color: #ffffff !important;
  background: #273241;
}

:root.sl-theme-dark #ab_rightToolbar {
  background: var(--mm-dark-surface-2, #111827);
}

:root.sl-theme-dark #ab_rightToolbar .applicationBuilderBtn::part(base) {
  background: #1C2530;
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #f8fafc;
}

:root.sl-theme-dark #ab_rightToolbar .applicationBuilderBtn::part(base):hover {
  background: #273241;
  border-color: rgba(148, 163, 184, 0.4);
}

:root.sl-theme-dark #ab_propertiesPanel {
  background: var(--mm-dark-surface, #0f172a);
  color: var(--mm-dark-body, #cbd5e1);
}

:root.sl-theme-dark #ab_propertiesPanel sl-input::part(base),
:root.sl-theme-dark #ab_propertiesPanel sl-textarea::part(base),
:root.sl-theme-dark #ab_propertiesPanel sl-select::part(combobox) {
  background: var(--mm-dark-surface-2, #111827);
  color: var(--mm-dark-text, #f8fafc);
  border: 1px solid var(--mm-dark-border, rgba(148, 163, 184, 0.2));
}

:root.sl-theme-dark #ab_centerArea {
  background: var(--mm-dark-surface, #0f172a);
}

:root.sl-theme-dark #sortableList {
  background: var(--mm-dark-surface-2, #111827);
  border-color: var(--mm-dark-border, rgba(148, 163, 184, 0.2));
}

:root.sl-theme-dark .sortable-item {
  background: var(--mm-dark-surface, #0f172a);
  border-color: var(--mm-dark-border, rgba(148, 163, 184, 0.2));
  color: var(--mm-dark-body, #cbd5e1);
}

:root.sl-theme-dark .sortable-item:hover {
  background: rgba(148, 163, 184, 0.16);
}

:root.sl-theme-dark .sortable-ghost {
  background-color: rgba(148, 163, 184, 0.2);
}

:root.sl-theme-dark .fieldToolbar {
  background: #1C2530;
}

:root.sl-theme-dark .fieldType,
:root.sl-theme-dark .fieldTypeIcon,
:root.sl-theme-dark .field_icon {
  color: var(--mm-dark-muted, #94a3b8);
}

:root.sl-theme-dark .field_icon::part(base) {
  color: inherit;
}

:root.sl-theme-dark #requiredItem {
  background-color: rgba(15, 23, 42, 0.6);
  border-color: var(--mm-dark-border, rgba(148, 163, 184, 0.2));
}

:root.sl-theme-dark .venueAppHeader {
  color: var(--mm-dark-text, #f8fafc);
}

:root.sl-theme-dark .ql-editor {
  background-color: var(--mm-dark-surface-2, #111827);
  color: var(--mm-dark-text, #f8fafc);
}
