.checkbox-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

input[type="checkbox"] {
  display: none;
}

.custom-checkbox {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--color-border-1);
  border-radius: 8px;
  background-color: transparent;
  cursor: pointer;
  transition: background-color 0.4s ease-in-out, border-color 0.4s ease-in-out;
  position: relative;
}

.custom-checkbox:hover {
  border: 1px solid var(--blue);
}

input[type="checkbox"]:checked + .custom-checkbox {
  background-color: var(--blue);
  border-color: var(--blue);
}

.custom-checkbox .checkbox::after {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  background: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M13.1818%204L6.18182%2011L3%207.81818%22%20stroke%3D%22%23FFFFFF%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E")
    no-repeat center center;
  background-size: contain;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

input[type="checkbox"]:checked + .custom-checkbox .checkbox::after {
  opacity: 1;
}

.checkbox-text {
  font-size: 14px;
  color: var(--color-text-1);
  cursor: pointer;
}

input[type="checkbox"]:checked + .custom-checkbox + .checkbox-text {
  color: var(--blue);
}
