.cbx {
  display: flex;
  -webkit-user-select: none;
  user-select: none;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.2s ease;
}
.cbx.cbx-label-right {
  flex-direction: row-reverse;
}
.cbx.cbx-label-right span:last-child {
  padding-left: 0;
  padding-right: 8px;
}

.cbx.cbx-no-bgHover {
  padding: 0;
  border-radius: 0;
}

.cbx:not(:last-child) {
  margin-right: 6px;
}
.cbx:hover {
   background: rgb(var(--Primary-color)/ 0.1);
}
.cbx.cbx-no-bgHover:hover {
  background: transparent;
  color: rgba(var(--Primary-color));
}
.cbx > span {
  float: left;
  vertical-align: middle;
  transform: translate3d(0, 0, 0);
}
.cbx > span:first-child {
   flex-shrink: 0;
   position: relative;
   width: 16px;
   height: 16px;
   border-radius: 2px;
   transform: scale(1);
   border: 1px solid var(--Thin-line);
   background: var(--Bg-light, #D8DCE4);
   transition: all 0.2s ease;
   box-shadow: 0 1px 1px rgba(0,16,75,0.05);
}
.cbx > span:first-child svg {
  position: absolute;
  top: 2px;
  left: 1px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 16px;
  stroke-dashoffset: 16px;
  transition: all 0.3s ease;
  transition-delay: 0.1s;
  transform: translate3d(0, 0, 0);
}
.cbx > span:last-child {
  padding-left: 8px;
/*  line-height: 18px;*/
  font-size: var(--fs-400);
  font-weight: 400;
}
.cbx:hover > span:first-child {
  border-color: rgb(var(--Primary-color));
}
.inp-cbx {
  position: absolute;
  visibility: hidden;
}
.inp-cbx-group {
  position: absolute;
  visibility: hidden;
}

.inp-cbx:checked + .cbx > span:first-child {
  background: rgb(var(--Primary-color));
  border-color: rgb(var(--Primary-color));
  animation: wave 0.4s ease;
}
.inp-cbx:checked + .cbx > span:first-child svg {
  stroke-dashoffset: 0;
}
.inline-svg {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
  user-select: none;
}

.inp-cbx-locked + label > span {
  opacity: 0.6;
}

.inp-cbx-locked + label > span:last-child::after {
    font-family: "Font Awesome 6 Pro";
    content: "\f023";
    color: #ED9125;
    display: inline-block;
    padding-left: 4px;
    padding-bottom: 4px;    
    font-weight: 600;
}
input[data-checkbox-logic="master"]:checked + label {
  
}
.inp-cbx:disabled + label {
  cursor: default;
  opacity: 0.5;
}
input.inp-cbx:disabled + label:hover  {
  color: inherit;
}
input.inp-cbx:disabled + label:hover span:first-child {
  border: 1px solid var(--Thin-line);
}

@media screen and (max-width: 640px) {
  .cbx {
    width: 100%;
    margin-bottom: 4px;
  }
}
@-moz-keyframes wave {
  50% {
    transform: scale(0.9);
  }
}
@-webkit-keyframes wave {
  50% {
    transform: scale(0.9);
  }
}
@-o-keyframes wave {
  50% {
    transform: scale(0.9);
  }
}
@keyframes wave {
  50% {
    transform: scale(0.9);
  }
}

@media (max-width: 768px) {

  .cbx > span:first-child {
     width: 24px;
     height: 24px;
  }
  .cbx > span:first-child svg {
    width: 18px;
    height: 16px;
  }
  .cbx > span:last-child {
    /* font-size: var(--fs-600); */
    margin-block-start: 3px;
  }

}