.checkbox-container {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 14px "PT Sans", sans-serif;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  outline: none;
}

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

.checkbox-container.disabled .checkbox {
  cursor: not-allowed;
}

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

.checkbox {
  position: relative;
  width: 16px;
  height: 16px;
  border: 1px solid #FFFFFF;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-sizing: border-box;
  outline: none;
}

.checkbox:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.checkbox:hover {
  border-color: rgba(255, 255, 255, 0.8);
}

/* Checked state */
.checkbox-container.checked .checkbox {
  border: 1px solid #C2C2C2;
  background: #FFFFFF;
}

.checkbox-container.checked .checkbox:hover {
  border-color: #A8A8A8;
  background: #F8F8F8;
}

.checkbox-container.disabled.checked .checkbox {
  border-color: #E0E0E0;
  background: #F5F5F5;
}

/* Checkmark styling */
.checkmark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.checkbox-container.disabled .checkmark path {
  fill: #B0B0B0;
  stroke: #B0B0B0;
}

/* Label styling */
.checkbox-container label {
  cursor: pointer;
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  outline: none;
}

.checkbox-container label:focus {
  outline: none;
}
