.checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.checkbox-wrapper.disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.checkbox-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
}

.checkbox-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border: 2px solid var(--color-border-medium);
  border-radius: 3px;
  background-color: var(--color-bg-primary);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.checkbox-input:checked + .checkbox-label .checkbox-custom {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-text-light);
}

.checkbox-input:focus + .checkbox-label .checkbox-custom {
  box-shadow: var(--form-input-focus-shadow);
}

.checkbox-input:hover + .checkbox-label .checkbox-custom {
  border-color: var(--color-border-dark);
}

.checkbox-input:checked:hover + .checkbox-label .checkbox-custom {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.checkbox-icon {
  width: 10px;
  height: 10px;
  color: white;
}

.checkbox-text {
  color: var(--color-text-primary);
  font-weight: 500;
}

.checkbox-wrapper.disabled .checkbox-label {
  cursor: not-allowed;
}

.checkbox-wrapper.disabled .checkbox-text {
  color: var(--color-text-muted);
}

.checkbox-wrapper.disabled .checkbox-custom {
  background-color: var(--color-bg-secondary);
  border-color: var(--color-border-light);
}

