/**
 * DZ-DiskTree — Windows Desktop & HeyPuter Architecture Design System
 * 100% Offline | Zero Emojis | Vector SVGs Only | Pixel-Perfect Data Grid & Treemap
 */

:root {
  --bg-app: #0f172a;
  --bg-surface: #1e293b;
  --bg-elevated: #334155;
  --bg-hover: rgba(255, 255, 255, 0.08);
  --bg-selected: rgba(56, 189, 248, 0.16);
  --border-color: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-color: #38bdf8; /* Cyan accent */
  --accent-hover: #0284c7;
  --accent-glow: rgba(56, 189, 248, 0.25);
  --accent-green: #10b981;
  --accent-red: #ef4444;
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, 'Courier New', monospace;
  --radius-sm: 4px;
  --radius-md: 8px;
}

[data-theme="light"] {
  --bg-app: #f1f5f9;
  --bg-surface: #ffffff;
  --bg-elevated: #e2e8f0;
  --bg-hover: rgba(0, 0, 0, 0.05);
  --bg-selected: rgba(2, 132, 199, 0.14);
  --border-color: rgba(0, 0, 0, 0.09);
  --border-strong: rgba(0, 0, 0, 0.18);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --accent-color: #0284c7;
  --accent-hover: #0369a1;
  --accent-glow: rgba(2, 132, 199, 0.2);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-app);
  color: var(--text-primary);
  height: 100vh;
  overflow: hidden;
  user-select: none;
}

.app-window {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

/* 1. Classic Desktop Menu Bar */
.menu-bar {
  height: 32px;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  z-index: 50;
  flex-shrink: 0;
}

.menu-items {
  display: flex;
  align-items: center;
  gap: 2px;
}

.menu-dropdown-wrap {
  position: relative;
}

.menu-btn {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s ease;
}

.menu-btn:hover,
.menu-btn.active {
  background: var(--bg-elevated);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  padding: 4px 0;
  min-width: 220px;
  z-index: 100;
  display: none;
}

[dir="rtl"] .dropdown-menu {
  left: auto;
  right: 0;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-item {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 12px;
  padding: 6px 14px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

[dir="rtl"] .dropdown-item {
  text-align: right;
}

.dropdown-item:hover {
  background: var(--accent-color);
  color: #ffffff;
}

.dropdown-divider {
  height: 1px;
  background: var(--border-color);
  margin: 4px 0;
}

.menu-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.menu-select {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 11px;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  outline: none;
}

.menu-icon-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-icon-btn:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

/* 2. Toolbar & Drive Selection Bar */
.toolbar {
  height: 44px;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 12px;
  flex-shrink: 0;
  overflow-x: auto;
}

.toolbar-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.toolbar-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.drive-selector-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.drive-select {
  background: var(--bg-app);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  outline: none;
  min-width: 180px;
}

.drive-meter {
  width: 120px;
  height: 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drive-meter-used {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

[dir="rtl"] .drive-meter-used {
  left: auto;
  right: 0;
}

.drive-meter-text {
  position: relative;
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  z-index: 2;
}

.path-wrap {
  flex: 1;
  max-width: 320px;
}

.path-input {
  width: 100%;
  background: var(--bg-app);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 12px;
  font-family: var(--font-mono);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  outline: none;
}

.btn-tb {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
}

.btn-tb:hover {
  background: var(--border-strong);
}

.btn-scan {
  background: var(--accent-green);
  color: #ffffff;
  border: none;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-scan:hover {
  background: #059669;
}

.btn-scan.scanning {
  background: #f59e0b;
}

.btn-cancel {
  background: var(--accent-red);
  color: #ffffff;
  border: none;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.filter-search-wrap {
  position: relative;
  margin-left: auto;
}

[dir="rtl"] .filter-search-wrap {
  margin-left: 0;
  margin-right: auto;
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 8px;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

[dir="rtl"] .search-icon {
  left: auto;
  right: 8px;
}

.filter-input {
  background: var(--bg-app);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 12px;
  padding: 4px 26px;
  border-radius: var(--radius-sm);
  outline: none;
  width: 240px;
}

.filter-input:focus {
  border-color: var(--accent-color);
}

.filter-clear-btn {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
}

[dir="rtl"] .filter-clear-btn {
  right: auto;
  left: 6px;
}

/* 3. Main Split Screen Workspace */
.workspace-split {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.split-pane {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-app);
}

.top-pane {
  height: 50%;
  min-height: 120px;
}

.bottom-pane {
  height: calc(50% - 6px);
  min-height: 120px;
  background: #000000;
}

/* Splitter Resizer Handle */
.splitter-handle {
  height: 6px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  cursor: row-resize;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s ease;
}

.splitter-handle:hover,
.splitter-handle.dragging {
  background: var(--accent-color);
}

.splitter-line {
  width: 36px;
  height: 2px;
  background: var(--border-strong);
  border-radius: 1px;
}

/* Pane Tab Navigation */
.pane-tabs-bar {
  height: 30px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  flex-shrink: 0;
}

.pane-tabs {
  display: flex;
  align-items: center;
  gap: 2px;
}

.pane-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.pane-tab-btn:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

.pane-tab-btn.active {
  background: var(--bg-app);
  color: var(--accent-color);
  border-top: 2px solid var(--accent-color);
}

.btn-tb-small {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-tb-small:hover {
  background: var(--border-strong);
}

/* Tab Pane Contents */
.tab-pane-content {
  flex: 1;
  display: none;
  overflow: hidden;
}

.tab-pane-content.active {
  display: flex;
}

.table-scroll-wrap {
  flex: 1;
  overflow: auto;
  position: relative;
}

/* High-Performance WizTree Grid Table */
.wiz-grid-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}

[dir="rtl"] .wiz-grid-table {
  text-align: right;
}

.wiz-grid-table thead {
  position: sticky;
  top: 0;
  background: var(--bg-surface);
  box-shadow: 0 1px 0 var(--border-color);
  z-index: 10;
}

.wiz-grid-table th {
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  border-right: 1px solid var(--border-color);
  white-space: nowrap;
}

.wiz-grid-table th.sortable {
  cursor: pointer;
  user-select: none;
  transition: color 0.15s ease, background 0.15s ease;
}

.wiz-grid-table th.sortable:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.sort-indicator {
  display: inline-block;
  margin-inline-start: 4px;
  font-size: 9px;
  color: var(--accent-color);
  min-width: 10px;
}

[dir="rtl"] .wiz-grid-table th {
  border-right: none;
  border-left: 1px solid var(--border-color);
}

.wiz-grid-table tbody tr {
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
}

.wiz-grid-table tbody tr:hover {
  background: var(--bg-hover);
}

.wiz-grid-table tbody tr.selected {
  background: var(--bg-selected) !important;
}

.wiz-grid-table td {
  padding: 4px 10px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.wiz-grid-table td.col-mono {
  font-family: var(--font-mono);
  font-size: 11px;
}

/* Tree Grid Column Name & Indent */
.tree-name-cell {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tree-arrow {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: transform 0.15s ease;
}

.tree-arrow.expanded {
  transform: rotate(90deg);
}

[dir="rtl"] .tree-arrow.expanded {
  transform: rotate(-90deg);
}

/* Percentage Progress Bar in Grid Cell */
.pct-cell-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pct-bar-track {
  flex: 1;
  height: 8px;
  background: var(--bg-elevated);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.pct-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #0284c7 0%, #38bdf8 100%);
  border-radius: 2px;
}

.pct-text {
  font-size: 11px;
  font-family: var(--font-mono);
  min-width: 42px;
  text-align: right;
}

[dir="rtl"] .pct-text {
  text-align: left;
}

/* Bottom Pane / Treemap Controls & Canvas */
.treemap-toolbar {
  height: 28px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  flex-shrink: 0;
}

.treemap-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-secondary);
}

.crumb-item {
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 2px;
}

.crumb-item:hover {
  background: var(--bg-hover);
  color: var(--accent-color);
}

.crumb-item.active {
  font-weight: 700;
  color: var(--text-primary);
}

.treemap-tools {
  display: flex;
  align-items: center;
  gap: 6px;
}

.treemap-canvas-container {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #000000;
}

.treemap-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.wiz-tooltip {
  position: absolute;
  background: rgba(15, 23, 42, 0.94);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 11px;
  color: #ffffff;
  pointer-events: none;
  z-index: 100;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  max-width: 320px;
}

.wiz-tooltip-title {
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 4px;
  color: var(--accent-color);
  word-break: break-all;
}

.wiz-tooltip-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
}

.wiz-tooltip-label {
  color: var(--text-secondary);
}

.wiz-tooltip-val {
  font-weight: 600;
  font-family: var(--font-mono);
}

/* Legend Bar */
.treemap-legend {
  height: 24px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 10px;
  font-size: 11px;
  overflow-x: auto;
  flex-shrink: 0;
}

.legend-chip {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-secondary);
  white-space: nowrap;
  cursor: pointer;
}

.legend-chip:hover {
  color: var(--text-primary);
}

.legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 2px;
}

/* 4. Windows Desktop Status Bar */
.status-bar {
  height: 24px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  font-size: 11px;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.status-cell {
  padding: 0 10px;
  border-right: 1px solid var(--border-color);
  white-space: nowrap;
}

[dir="rtl"] .status-cell {
  border-right: none;
  border-left: 1px solid var(--border-color);
}

.status-cell.status-selected {
  flex: 1;
  color: var(--text-primary);
  font-weight: 600;
}

/* Context Menu */
.context-menu {
  position: fixed;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  padding: 4px 0;
  min-width: 190px;
  z-index: 1000;
}

.context-item {
  padding: 6px 14px;
  font-size: 12px;
  cursor: pointer;
  color: var(--text-primary);
}

.context-item:hover {
  background: var(--accent-color);
  color: #ffffff;
}

.context-divider {
  height: 1px;
  background: var(--border-color);
  margin: 4px 0;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 16px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-window {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 440px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 13px;
  font-weight: 700;
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 18px;
  color: var(--text-secondary);
  cursor: pointer;
}

.modal-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prop-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.prop-label {
  color: var(--text-secondary);
  font-weight: 600;
}

.prop-val {
  color: var(--text-primary);
  font-weight: 600;
  text-align: right;
}

[dir="rtl"] .prop-val {
  text-align: left;
}

.prop-val.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  word-break: break-all;
}

.prop-divider {
  height: 1px;
  background: var(--border-color);
  margin: 4px 0;
}

/* Quick Shortcuts Bar */
.quick-shortcuts-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  font-size: 11px;
  overflow-x: auto;
  flex-shrink: 0;
}
.shortcuts-label {
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}
.shortcuts-chips {
  display: flex;
  align-items: center;
  gap: 6px;
}
.shortcut-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  font-size: 11px;
  transition: all 0.15s ease;
}
.shortcut-chip:hover {
  background: var(--accent-color);
  color: #ffffff;
  border-color: var(--accent-color);
}
.shortcut-chip.drive-chip {
  font-weight: 700;
  border-color: var(--accent-glow);
}

/* Live Scanning Progress Ticker */
.scan-live-ticker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.12), rgba(16, 185, 129, 0.12));
  border-bottom: 1px solid var(--border-strong);
  font-size: 11.5px;
  flex-shrink: 0;
}
.ticker-left {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 60%;
}
.live-pulse {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulseAnim 1s infinite alternate;
  flex-shrink: 0;
}
@keyframes pulseAnim {
  0% { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(1.3); opacity: 1; }
}
.ticker-text {
  font-family: var(--font-mono);
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
}
.ticker-metrics {
  display: flex;
  align-items: center;
  gap: 6px;
}
.metric-pill {
  padding: 2px 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
}
.metric-pill.speed {
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-color);
  border-color: var(--accent-glow);
}

/* Tab Badges */
.tab-badge {
  display: inline-block;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 700;
  border-radius: 10px;
  background: var(--bg-elevated);
  color: var(--text-secondary);
  margin-inline-start: 4px;
}
.tab-badge.success {
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-green);
}

/* Duplicates Tab */
.duplicate-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
}
.dup-stat-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}
.dup-stat-badge .highlight {
  color: var(--accent-red);
  font-weight: 800;
}
.duplicates-list-wrap {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dup-cluster-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 14px;
}
.dup-cluster-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
  font-size: 12px;
  font-weight: 700;
}
.dup-file-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 11.5px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}
.dup-file-row:last-child {
  border-bottom: none;
}
.dup-file-path {
  font-family: var(--font-mono);
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 70%;
}
.dup-file-actions {
  display: flex;
  gap: 6px;
}

/* Cleaner Tab */
.cleaner-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
}
.cleaner-stat-hero {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cleaner-categories-wrap {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
}
.cleaner-cat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cleaner-cat-info h4 {
  font-size: 13.5px;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.cleaner-cat-info p {
  font-size: 11.5px;
  color: var(--text-secondary);
}
.cleaner-cat-size {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent-green);
}

/* Context Menu Extra Styles */
.context-item.text-danger {
  color: var(--accent-red);
}
.context-item.text-danger:hover {
  background: rgba(239, 68, 68, 0.18);
  color: #ff6b6b;
}

