/* Organization unit editor: dark-theme completion.
   Scoped deliberately to .department-page to avoid changing shared tables/pickers. */

html[data-theme="dark"] .department-page .department-position-picker,
html[data-theme="dark"] .department-page .admin-checkbox-picker {
  background: #0d1a16 !important;
  color: #f2f7f5 !important;
  border-color: rgba(94, 214, 173, .28) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] .department-page .department-staffing-search-row {
  background: transparent !important;
  color: #f2f7f5 !important;
}

html[data-theme="dark"] .department-page .department-staffing-count,
html[data-theme="dark"] .department-page .department-position-picker small {
  color: #9fb2aa !important;
}

html[data-theme="dark"] .department-page .department-position-picker-scroll,
html[data-theme="dark"] .department-page .admin-checkbox-picker__scroll {
  background: #0d1a16 !important;
  border-color: rgba(94, 214, 173, .22) !important;
}

html[data-theme="dark"] .department-page .department-position-picker-item,
html[data-theme="dark"] .department-page .admin-checkbox-picker__item {
  background: #0f1d19 !important;
  color: #eaf2ef !important;
  border-color: rgba(94, 214, 173, .16) !important;
}

html[data-theme="dark"] .department-page .department-position-picker-item:hover,
html[data-theme="dark"] .department-page .admin-checkbox-picker__item:hover {
  background: #14261f !important;
}

html[data-theme="dark"] .department-page .department-position-picker-item span,
html[data-theme="dark"] .department-page .admin-checkbox-picker__item span {
  color: #dce8e3 !important;
}

html[data-theme="dark"] .department-page input[type="checkbox"] {
  accent-color: #27cfa0;
}

html[data-theme="dark"] .department-page .department-access-table tbody tr > th,
html[data-theme="dark"] .department-page .department-access-table tbody tr > td {
  background: #0e1b17 !important;
  color: #edf4f1 !important;
  border-color: rgba(94, 214, 173, .20) !important;
}

html[data-theme="dark"] .department-page .department-access-table tbody tr:nth-child(even) > th,
html[data-theme="dark"] .department-page .department-access-table tbody tr:nth-child(even) > td {
  background: #101f1a !important;
}

html[data-theme="dark"] .department-page .department-access-table tbody tr.organization-access-row--disabled > th,
html[data-theme="dark"] .department-page .department-access-table tbody tr.organization-access-row--disabled > td {
  background: #111b18 !important;
  color: #98aaa3 !important;
}

html[data-theme="dark"] .department-page .organization-access-row--disabled strong,
html[data-theme="dark"] .department-page .organization-access-row--disabled .organization-access-toggle,
html[data-theme="dark"] .department-page .organization-access-row--disabled .organization-access-toggle span {
  color: #98aaa3 !important;
}

html[data-theme="dark"] .department-page .department-access-table select {
  background: #0d1a16 !important;
  color: #edf4f1 !important;
  border-color: rgba(94, 214, 173, .28) !important;
}

html[data-theme="dark"] .department-page .department-access-table select:disabled {
  background: #17211e !important;
  color: #a6b4af !important;
  border-color: rgba(150, 169, 162, .20) !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #a6b4af !important;
}

html[data-theme="dark"] .department-page .department-access-table input[type="checkbox"]:disabled {
  opacity: .72 !important;
}

html[data-theme="dark"] .department-page .ajax-save-status--success {
  background: rgba(39, 207, 160, .10) !important;
  color: #9ce8ce !important;
  border-color: rgba(39, 207, 160, .26) !important;
}
