[data-bs-theme="dark"] .dcf,
[data-bs-theme="dark"] .dcb,
[data-bs-theme="dark"] .dtbx,
[data-bs-theme="dark"] .dlbx,
[data-bs-theme="dark"] .dlb, 
[data-bs-theme="dark"] body.admin select,
[data-bs-theme="dark"] .custom-select > div,
[data-bs-theme="dark"] .dlb .custom-select > div > div,
[data-bs-theme="dark"] body.admin .custom-select input,
[data-bs-theme="dark"] .ms-options-wrap > .ms-options,
[data-bs-theme="dark"] .dvtbc ul li{ background-color:#0F151D;}
[data-bs-theme="dark"] body.admin .ms-options-wrap > .ms-options > ul li.selected label,
[data-bs-theme="dark"] body.admin .ms-options-wrap > .ms-options > ul li label:hover{ background-color:#007DB0;}

[data-bs-theme="dark"] body.admin .dcb,
[data-bs-theme="dark"] body.admin .dmcl,
[data-bs-theme="dark"] body.admin .dmcl ul li,
[data-bs-theme="dark"] body.admin .dfbti,
[data-bs-theme="dark"] body.admin .djcx .custom-select, 
[data-bs-theme="dark"] body.admin .dcbc .dlif .custom-select,
[data-bs-theme="dark"] body.admin select,
[data-bs-theme="dark"] body.admin .custom-select input{border:1px solid #ffffff1a !important;}
[data-bs-theme="dark"] body.admin select,
[data-bs-theme="dark"] body.admin textarea,
[data-bs-theme="dark"] body.admin .custom-select a span,
[data-bs-theme="dark"] body.admin .custom-select input,
[data-bs-theme="dark"] body.admin .djcx .custom-select div ul li, 
[data-bs-theme="dark"] body.admin .dcbc .dlif .custom-select div ul li,
[data-bs-theme="dark"] body.admin input.dfbti{ color:#fff !important;}
[data-bs-theme="dark"] body.admin .dmcl .dmcl-row:hover{background-color:#0F151D; }

[data-bs-theme="dark"] body.admin .dhtc li a.dhtci{color:#fff;}
[data-bs-theme="dark"] body.admin .dhtc li a.dhtci.active{color:#000;}
[data-bs-theme="dark"] body.admin .ddcf li a:hover, .dhtc li a.hover{ color:#fff;}
[data-bs-theme="dark"] body.admin .dmcl li a {
 color: #6fbfdb !important;
}

[data-bs-theme="dark"] body.admin .dfbp-sortable,
[data-bs-theme="dark"] body.admin .dfbp-sortable > div,
[data-bs-theme="dark"] body.admin .dfbr-sortable,
[data-bs-theme="dark"] body.admin .dfbr .dfbod,
[data-bs-theme="dark"] body.admin .dfbp-sortable .dfbod, 
[data-bs-theme="dark"] body.admin .dfbe-ol-sortable 
[data-bs-theme="dark"] body.admin .dfbad, 
[data-bs-theme="dark"] body.admin .dfbe-os-sortable .dfbad,
[data-bs-theme="dark"] body.admin .dvtbc .dfbod,
[data-bs-theme="dark"] body.admin .dfbe-ol-sortable, 
[data-bs-theme="dark"] body.admin .dfbe-os-sortable,
[data-bs-theme="dark"] body.admin .dfbe-ol-sortable .dfbad{
	background-color:#0F151D;
}
.dfbr .dfbod, .dvtbc .dfbod{ border:none;}
[data-bs-theme="dark"] body.admin .ui-icon{background-image: url(images/ui-icons_888888_256x240.png);}

[data-bs-theme="dark"] body.admin .header-right .progress-add .circle.active .title,
[data-bs-theme="dark"] body.admin .header-right .progress-add .circle .title{ color:#fff;}
[data-bs-theme="dark"] body.admin .header-right .progress-add .circle{ background-color:#0F151D;}
[data-bs-theme="dark"] body.admin .dpnmb .dbt{ color:#333;}

[data-bs-theme="dark"] .dcb{ background-color: #0F151D; border: none;}

.custom-select div ul li.active{ color:#000;}

.dcbc fieldset.adminForm select:not([multiple]){
  	box-shadow: none;
  	height: 30px !important;
}
.custom-select a::after{border-color:#fff;}

.dcbc fieldset.adminForm select#syncmenuitem{
font-size: 13px;
  padding: 0 0 0 10px !important;}
.editcampaignpopup .custom-select {
	background: none !important;
	font-size:13px;
  }

/* Dark mode gap fixes */

[data-bs-theme="dark"] .dcb-nb { background-color: #0F151D; }

[data-bs-theme="dark"] body.admin .dpxp {
    background-color: #1a2535;
    border: 1px solid #ffffff1a;
    color: #fff !important;
}

[data-bs-theme="dark"] body.admin .dfw-sb {
    background: #0F151D;
    border-color: #ffffff1a;
    color: #fff;
}

[data-bs-theme="dark"] body.admin .dpn,
[data-bs-theme="dark"] body.admin .dpns,
[data-bs-theme="dark"] body.admin .dpnsm { background-color: #1a2535; }

[data-bs-theme="dark"] body.admin .dpns ul li {
    background-color: #1a2535;
    color: #ccc;
}
[data-bs-theme="dark"] body.admin .dpns ul li:hover {
    background-color: #2a3545;
    color: #fff;
}

[data-bs-theme="dark"] body.admin .dtn {
    background: #1a2535;
    border-top-color: #ffffff1a;
}

[data-bs-theme="dark"] body.admin .dhnsub { background-color: #1a2535; }
[data-bs-theme="dark"] body.admin .dhnsub a { color: #ccc !important; }

[data-bs-theme="dark"] body.admin .select-card { background-color: #0F151D; }

[data-bs-theme="dark"] body.admin .editcampaignpopup .custom-select {
    background: #0F151D !important;
    color: #fff;
}

[data-bs-theme="dark"] body.admin .header-right .progress-add .bar.done { background: #1a2535; }
[data-bs-theme="dark"] body.admin .header-right .progress-add .bar.active { background: linear-gradient(to right, #1a2535 40%, #0F151D 60%); }
[data-bs-theme="dark"] body.admin .header-right .progress-add .circle.done .label { background: #1a2535; color: #ccc; }

[data-bs-theme="dark"] body.admin .form_status {
    background-color: #1a2535;
    color: #ccc;
    border-color: #ffffff1a;
}

/* dvtbc section header links (Basic / Advanced in forms options panel) */
[data-bs-theme="dark"] body.admin .dvtbc li a {
    background: #0F151D;
    color: #ccc;
    border-top-color: #ffffff1a;
}
[data-bs-theme="dark"] body.admin .dvtbc li a:hover,
[data-bs-theme="dark"] body.admin .dvtbc li a.active { color: #fff; }

/* Nav popup dropdown item colors */
[data-bs-theme="dark"] body.admin ul.dvml li { color: #ccc; }
[data-bs-theme="dark"] body.admin ul.dvml li:hover { background: #2a3545; color: #fff; }

/* Toolbar action buttons (.dmsb) and popup-combo buttons (.dpxb) */
[data-bs-theme="dark"] body.admin .dmsb,
[data-bs-theme="dark"] body.admin .dpxb {
    background-color: #1a2535;
    background-image: none;
    color: #ccc !important;
    border-color: #ffffff1a;
    filter: none;
}
[data-bs-theme="dark"] body.admin .dmsb:hover,
[data-bs-theme="dark"] body.admin .dpxb:hover {
    background-color: #2a3545;
    background-image: none;
    color: #fff !important;
    border-color: #ffffff30;
    box-shadow: none;
    -webkit-box-shadow: none;
}

/* Form element block borders */
[data-bs-theme="dark"] body.admin .dfbr .dfbod,
[data-bs-theme="dark"] body.admin .dvtbc .dfbod,
[data-bs-theme="dark"] body.admin .dfbp-sortable .dfbod,
[data-bs-theme="dark"] body.admin .dfbe-ol-sortable .dfbad,
[data-bs-theme="dark"] body.admin .dfbe-os-sortable .dfbad { border-color: #ffffff1a; }

/* Spacing: clear floats from form element rows before section header links */
[data-bs-theme="dark"] body.admin .dvtbc ul li { clear: both; }

/* Nav bar tab items: base color is #333 (invisible on dark background) */
[data-bs-theme="dark"] body.admin .dtn li a,
[data-bs-theme="dark"] body.admin .dtni { color: #ccc; }
[data-bs-theme="dark"] body.admin .dtn li a:hover,
[data-bs-theme="dark"] body.admin .dtni:hover,
[data-bs-theme="dark"] body.admin .dtn li a.active,
[data-bs-theme="dark"] body.admin .dtni.active { color: #fff; }

/* Nav bar outer wrapper has a light bottom border in base CSS */
[data-bs-theme="dark"] body.admin .dhn { border-color: #ffffff1a; }

/* Current-page label and nav button text */
[data-bs-theme="dark"] body.admin .dbt { color: #ccc; }

/* Joomla 5: position:fixed uses vw-% width; the floating designer panel uses container-%.
   They diverge at J5 sidebar widths, causing overlap. Switching to relative puts both
   panels in-flow so they share the same coordinate space (float:left 24% + float:right 67.2%). */
body.admin.com_joomconnect .ddb-30.fixed {
    position: relative !important;
}

.ddbw.usrprtlwrap #searchForm .jcd_li_param_field {margin-bottom:10px; max-width:240px;}

@media only screen and (max-width: 1615px) {
.ddbw.usrprtlwrap #searchForm .jcd_li_param_field { float: none !important;}
}
