.hidden {
  display: none;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}
.checkbox__container {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background-color: transparent;
  border: 1px solid var(--color-citi-blue);
  border-radius: var(--border-radius-xs);
  transition: background-color var(--easing), border-color var(--easing);
}
.checkbox__container:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--icon-size);
  height: var(--icon-size);
  background-image: url(/static/svg/check.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity var(--easaing);
}
.checkbox__control {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  cursor: pointer;
  outline: none;
  opacity: 0;
  z-index: 1;
}
.checkbox__label {
  transition: color var(--easing);
}
.checkbox.is-checked .checkbox__container {
  background-color: var(--color-citi-blue);
  border-color: transparent;
}
.checkbox.is-checked .checkbox__container:after {
  opacity: 1;
}
.checkbox.is-checked.is-disabled .checkbox__container {
  background-color: var(--color-grey);
}
.checkbox.is-disabled .checkbox__control {
  cursor: not-allowed;
}
.checkbox.is-disabled .checkbox__label {
  color: var(--color-grey);
  cursor: not-allowed;
  user-select: none;
}