/* ============================================
   Dark Mode - Icon Filters
   ============================================
   Makes all FontAwesome icons lighter in dark mode.
   Excludes icons that have custom colors (folder icons,
   slash command icons, kanban icons, markdown buttons,
   toolbar active states, search type buttons).
   ============================================ */

html[data-theme='dark'] [class*="fa-"]:not(.folder-icon[data-icon-color]):not([class*="slash-command-icon"][style*="color"]):not(.kanban-title [class*="fa-"][style*="color"]):not(.kanban-column-title [class*="fa-"][style*="color"]):not(.limitations-table [class*="fa-"]):not(.markdown-edit-btn [class*="fa-"]):not(.markdown-preview-btn [class*="fa-"]):not(.markdown-view-mode-btn [class*="fa-"]):not(.markdown-split-btn [class*="fa-"]):not(.btn-favorite.is-favorite [class*="fa-"]):not(.btn-share.is-shared [class*="fa-"]):not(.btn-attachment.has-attachments [class*="fa-"]):not(.searchbar-type-btn [class*="fa-"]),
body.dark-mode [class*="fa-"]:not(.folder-icon[data-icon-color]):not([class*="slash-command-icon"][style*="color"]):not(.kanban-title [class*="fa-"][style*="color"]):not(.kanban-column-title [class*="fa-"][style*="color"]):not(.limitations-table [class*="fa-"]):not(.markdown-edit-btn [class*="fa-"]):not(.markdown-preview-btn [class*="fa-"]):not(.markdown-view-mode-btn [class*="fa-"]):not(.markdown-split-btn [class*="fa-"]):not(.btn-favorite.is-favorite [class*="fa-"]):not(.btn-share.is-shared [class*="fa-"]):not(.btn-attachment.has-attachments [class*="fa-"]):not(.searchbar-type-btn [class*="fa-"]) {
    filter: brightness(0) saturate(0%) invert(80%) !important;
    transition: transform 0.2s ease, filter 0.2s ease;
}

html[data-theme='dark'] [class*="fa-"]:not(.folder-icon[data-icon-color]):not([class*="slash-command-icon"][style*="color"]):not(.kanban-title [class*="fa-"][style*="color"]):not(.kanban-column-title [class*="fa-"][style*="color"]):not(.limitations-table [class*="fa-"]):not(.markdown-edit-btn [class*="fa-"]):not(.markdown-preview-btn [class*="fa-"]):not(.markdown-view-mode-btn [class*="fa-"]):not(.markdown-split-btn [class*="fa-"]):not(.btn-favorite.is-favorite [class*="fa-"]):not(.btn-share.is-shared [class*="fa-"]):not(.btn-attachment.has-attachments [class*="fa-"]):not(.searchbar-type-btn [class*="fa-"]):hover,
body.dark-mode [class*="fa-"]:not(.folder-icon[data-icon-color]):not([class*="slash-command-icon"][style*="color"]):not(.kanban-title [class*="fa-"][style*="color"]):not(.kanban-column-title [class*="fa-"][style*="color"]):not(.limitations-table [class*="fa-"]):not(.markdown-edit-btn [class*="fa-"]):not(.markdown-preview-btn [class*="fa-"]):not(.markdown-view-mode-btn [class*="fa-"]):not(.markdown-split-btn [class*="fa-"]):not(.btn-favorite.is-favorite [class*="fa-"]):not(.btn-share.is-shared [class*="fa-"]):not(.btn-attachment.has-attachments [class*="fa-"]):not(.searchbar-type-btn [class*="fa-"]):hover {
    transform: scale(1.18);
    filter: brightness(0) saturate(0%) invert(90%) !important;
}

/* Sidebar plus button */
html[data-theme='dark'] .sidebar-plus,
body.dark-mode .sidebar-plus {
    filter: brightness(0) saturate(0%) invert(80%) !important;
}
