/* V221.01.00: los checkbox nativos visibles se presentan como interruptores. */
body input.lientv-interruptor[type="checkbox"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-block;
  box-sizing: border-box;
  width: 44px !important;
  min-width: 44px !important;
  height: 26px !important;
  min-height: 26px !important;
  padding: 0 !important;
  margin: 0 5px 0 0;
  border: 1px solid #82909d !important;
  border-radius: 999px !important;
  background: #9ca3af !important;
  position: relative;
  vertical-align: middle;
  cursor: pointer;
  flex: none;
  transition: background-color .18s ease;
}
body input.lientv-interruptor[type="checkbox"]::before {
  content: "";
  display: block;
  position: absolute;
  width: 20px;
  height: 20px;
  top: 2px;
  left: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px #0004;
  transition: transform .18s ease;
}
body input.lientv-interruptor[type="checkbox"]:checked {
  background: var(--rol-color-principal,#087f8c) !important;
  border-color: var(--rol-color-principal,#087f8c) !important;
}
body input.lientv-interruptor[type="checkbox"]:checked::before { transform: translateX(18px); }
body input.lientv-interruptor[type="checkbox"]:focus-visible { outline: 3px solid #2563eb !important; outline-offset: 2px; }
body input.lientv-interruptor[type="checkbox"]:disabled { opacity: .55 !important; cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) {
  body input.lientv-interruptor[type="checkbox"],
  body input.lientv-interruptor[type="checkbox"]::before { transition: none; }
}
