.checkbox-input,
#selectAll {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-primary);
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.checkbox-input:hover,
#selectAll:hover {
  border-color: var(--accent-primary);
  transform: scale(1.1);
}

.checkbox-input:checked,
#selectAll:checked {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
}

.checkbox-input:checked::after,
#selectAll:checked::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
}

.checkbox-input:focus,
#selectAll:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.item-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--accent-primary);
}

.item-checkbox:hover {
  transform: scale(1.1);
}