/* Task Completion Checkbox Styling */
.calendar-task input[type="checkbox"],
.month-task-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border: 1px solid var(--text-secondary);
  border-radius: 3px;
  margin-right: 4px;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.3);
  position: relative;
  vertical-align: middle;
}

.calendar-task input[type="checkbox"]:checked,
.month-task-item input[type="checkbox"]:checked {
  background-color: var(--accent-primary);
  border-color: var(--accent-primary);
}

.calendar-task input[type="checkbox"]:checked::after,
.month-task-item input[type="checkbox"]:checked::after {
  content: '✔';
  font-size: 10px;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
}

/* Ensure checkbox is clickable above the task drag handler */
.calendar-task input[type="checkbox"],
.month-task-item input[type="checkbox"] {
  z-index: 100; 
  position: relative;
}
