.rarui-checkbox__1qvfiyr1 {
  appearance: none;
  display: inline-block;
  position: relative;
  margin: 0;
  cursor: pointer;
  border-width: var(--rarui-shape-border-width-2);
  border-style: solid;
  border-color: var(--rarui-colors-border-primary);
  border-radius: var(--rarui-shape-border-radius-2xs);
  background-color: var(--rarui-colors-surface-primary);
}
.rarui-checkbox__1qvfiyr1:checked {
  border: none;
  background-color: var(--rarui-colors-surface-brand);
}
.rarui-checkbox__1qvfiyr1:disabled {
  background-color: var(--rarui-colors-surface-disabled);
  border-color: var(--rarui-colors-border-subdued);
  pointer-events: none;
}
.rarui-checkbox__1qvfiyr1:read-only {
  cursor: default;
  pointer-events: none;
}
.rarui-checkbox__1qvfiyr1:after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}
.rarui-checkbox__1qvfiyr1:checked:after {
  width: 0.625rem;
  height: 0.25rem;
  bottom: .1875rem;
  border-left: var(--rarui-shape-border-width-2) solid var(--rarui-colors-content-on-brand);
  border-bottom: var(--rarui-shape-border-width-2) solid var(--rarui-colors-content-on-brand);
  transform: rotate(-45deg);
}
.rarui-checkbox__1qvfiyr1:focus-within:not(:read-only) {
  outline: none;
  box-shadow: var(--rarui-elevation-focus-ring);
}
.rarui-checkbox_error_true__1qvfiyr2 {
  border-color: var(--rarui-colors-border-error);
}
.rarui-checkbox_error_true__1qvfiyr2:checked {
  background-color: var(--rarui-colors-surface-error);
}
.rarui-checkbox_size_medium__1qvfiyr3 {
  width: 1.25rem;
  height: 1.25rem;
}
.rarui-checkbox_size_large__1qvfiyr4 {
  width: 1.5rem;
  height: 1.5rem;
}
.rarui-checkbox_indeterminate_true__1qvfiyr5:checked:after {
  top: 0;
  bottom: 0;
  margin: auto;
  height: 0;
  border-left: none;
  transform: rotate(0deg);
}
.rarui-checkbox_label__1qvfiyr6 {
  --overlayBackgroundColor__1qvfiyr0: var(--rarui-colors-surface-brand-hover);
  display: flex;
  align-items: center;
  position: relative;
  gap: var(--rarui-spacing-3xs);
  color: var(--rarui-colors-content-primary);
}
.rarui-checkbox_label_error_true__1qvfiyr7 {
  --overlayBackgroundColor__1qvfiyr0: var(--rarui-colors-surface-error-hover);
}
.rarui-checkbox_container__1qvfiyr8 {
  position: relative;
  display: flex;
  box-sizing: border-box;
  padding: 6px;
}
.rarui-checkbox_overlay__1qvfiyr9 {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
}
.rarui-checkbox_container__1qvfiyr8:hover:not(:has(.rarui-checkbox__1qvfiyr1:disabled)):not(:has(.rarui-checkbox__1qvfiyr1:read-only)) .rarui-checkbox_overlay__1qvfiyr9 {
  background-color: var(--overlayBackgroundColor__1qvfiyr0);
  border-radius: 50%;
}