:host {
  display: inline-block;
}
:host button {
  padding: 0;
  display: flex;
  border: none;
  outline: none;
  background-color: transparent;
  font-size: 1em;
  line-height: 1.5;
  text-align: var(--lu-checkbox-button-text-align, center);
  cursor: pointer;
}

:host(:focus),
:host(:hover) {
  outline: none;
}
:host(:focus) button,
:host(:hover) button {
  color: #256EC1;
}
:host(:focus) button .checkbox .box,
:host(:focus) button .checkbox .box,
:host(:hover) button .checkbox .box,
:host(:hover) button .checkbox .box {
  stroke: #256EC1;
}

.checkbox {
  display: inline-block;
  position: relative;
  cursor: pointer;
}

.checkbox svg {
  margin: 0 0.5em 0 0;
  position: relative;
  bottom: -2px;
  width: 1.125em;
  height: 1.125em;
}

.checkbox .box {
  fill: none;
  stroke: #256EC1;
  stroke-width: 2;
  transition: stroke 0.09s ease-out;
}

.checkbox polyline {
  fill: none;
  stroke: #256EC1;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: miter;
  stroke-dasharray: 20;
  stroke-dashoffset: 21;
  transition: stroke-dashoffset 0.09s ease-in-out;
}

.checkbox.checked svg .box {
  fill: none;
  stroke: #256EC1;
}

.checkbox.checked polyline {
  stroke-dashoffset: 0;
}

:host([disabled]) .checkbox .box {
  stroke: #909090;
}
:host([disabled]) button {
  color: #909090;
}

:host([disabled]:focus) button .checkbox .box,
:host([disabled]:focus) button .checkbox .box,
:host([disabled]:hover) button .checkbox .box,
:host([disabled]:hover) button .checkbox .box {
  /* stylelint-disable-next-line declaration-no-important */
  stroke: #909090 !important;
}