.switch {
    margin-right: 0.75rem;
    position: relative;
    vertical-align: middle;
    margin-bottom: 0;
    display: inline-block;
    border-radius: 30rem;
    cursor: pointer;
    min-height: 1.35rem;
    font-size: 0.9375rem;
    line-height: 1.4;
  }
  .switch .switch-label:first-child {
    padding-right: 0.5rem;
  }
  .switch .switch-input ~ .switch-label {
    padding-left: 3rem;
  }
  .switch .switch-toggle-slider {
    width: 2.5rem;
    height: 1.35rem;
    font-size: 0.625rem;
    line-height: 1.35rem;
    border: 1px solid transparent;
    top: 0;
  }
  .switch .switch-toggle-slider i {
    position: relative;
    font-size: 0.9375rem;
    top: -1.35px;
  }
  .switch .switch-label {
    top: 0.01875rem;
  }
  .switch .switch-input:checked ~ .switch-toggle-slider::after {
    left: 1.15rem;
  }
  .switch .switch-toggle-slider::after {
    top: -1px;
    margin: 0.25rem 0 0 0.25rem;
    width: 13px;
    height: 13px;
  }
  .switch .switch-on {
    padding-left: 0.25rem;
    padding-right: 1.1rem;
  }
  .switch .switch-off {
    padding-left: 1.1rem;
    padding-right: 0.25rem;
  }
  [dir=rtl] .switch .switch-label {
    padding-right: 3rem;
    padding-left: 0;
  }
  [dir=rtl] .switch .switch-input:checked ~ .switch-toggle-slider::after {
    left: auto;
    right: 1.15rem;
  }
  [dir=rtl] .switch .switch-toggle-slider::after {
    margin-left: 0;
    margin-right: 0.25rem;
  }
  [dir=rtl] .switch .switch-on {
    padding-left: 1.1rem;
    padding-right: 0.25rem;
  }
  [dir=rtl] .switch .switch-off {
    padding-left: 0.25rem;
    padding-right: 1.1rem;
  }
  [dir=rtl] .switch {
    margin-left: 0.75rem;
    margin-right: 0;
  }
  
  .switch-input {
    opacity: 0;
    position: absolute;
    padding: 0;
    margin: 0;
    z-index: -1;
  }
  
  .switch-toggle-slider {
    position: absolute;
    overflow: hidden;
    border-radius: 30rem;
    background: #e9ecee;
    color: #677788;
    transition-duration: 0.2s;
    transition-property: left, right, background, box-shadow;
    cursor: pointer;
    user-select: none;
  }
  
  .switch-label {
    display: inline-block;
    font-weight: 400;
    color: #677788;
    position: relative;
    cursor: default;
  }
  
  .switch-off,
  .switch-on {
    height: 100%;
    width: 100%;
    text-align: center;
    position: absolute;
    top: 0;
    transition-duration: 0.2s;
    transition-property: left, right;
  }
  
  .switch-on {
    left: -100%;
  }
  [dir=rtl] .switch-on {
    left: auto;
    right: -100%;
  }
  .switch-input:not(:checked) ~ .switch-toggle-slider .switch-on {
    color: transparent;
  }
  
  .switch-off {
    left: 0;
  }
  [dir=rtl] .switch-off {
    right: 0;
    left: auto;
  }
  
  .switch-input:checked ~ .switch-toggle-slider .switch-on {
    left: 0;
  }
  [dir=rtl] .switch-input:checked ~ .switch-toggle-slider .switch-on {
    right: 0;
    left: auto;
  }
  .switch-input:checked ~ .switch-toggle-slider .switch-off {
    left: 100%;
    color: transparent;
  }
  [dir=rtl] .switch-input:checked ~ .switch-toggle-slider .switch-off {
    right: 100%;
    left: auto;
  }
  
  .switch-toggle-slider::after {
    content: "";
    position: absolute;
    left: 0;
    display: block;
    border-radius: 999px;
    background: #fff;
    box-shadow: -1px 2px 3px 0 rgba(0, 0, 0, 0.2);
    transition-duration: 0.2s;
    transition-property: left, right, background;
  }
  [dir=rtl] .switch-toggle-slider::after {
    right: 0;
    left: auto;
  }
  
  .switches-stacked::after {
    display: block;
    clear: both;
    content: "";
  }
  .switches-stacked .switch {
    display: block;
  }
  html:not([dir=rtl]) .switches-stacked .switch {
    margin-right: 0;
  }
  [dir=rtl] .switches-stacked .switch {
    margin-left: 0;
  }
  .switches-stacked .switch:not(:last-child) {
    margin-bottom: 0.75rem;
  }
  
  .switch-square,
  .switch-square .switch-toggle-slider {
    border-radius: 0.25rem;
  }
  
  .switch-square .switch-toggle-slider::after {
    border-radius: calc(0.25rem - 2px);
  }
  
  .switch-input:disabled ~ .switch-toggle-slider {
    opacity: 0.65;
  }
  .switch-input:disabled ~ .switch-toggle-slider::after {
    box-shadow: none;
  }
  .switch-input:disabled ~ .switch-label {
    color: #a8b1bb;
  }
  
  .switch-sm {
    min-height: 1.125rem;
    font-size: 0.813rem;
    line-height: 1.48;
  }
  .switch-sm .switch-label:first-child {
    padding-right: 0.5rem;
  }
  .switch-sm .switch-input ~ .switch-label {
    padding-left: 2.5rem;
  }
  .switch-sm .switch-toggle-slider {
    width: 2rem;
    height: 1.125rem;
    font-size: 0.625rem;
    line-height: 1.125rem;
    border: 1px solid transparent;
    top: 0.03912rem;
  }
  .switch-sm .switch-toggle-slider i {
    position: relative;
    font-size: 0.813rem;
    top: -2px;
  }
  .switch-sm .switch-label {
    top: 0;
  }
  .switch-sm .switch-input:checked ~ .switch-toggle-slider::after {
    left: 0.875rem;
  }
  .switch-sm .switch-toggle-slider::after {
    top: -1px;
    margin: 0.25rem 0 0 0.25rem;
    width: 10px;
    height: 10px;
  }
  .switch-sm .switch-on {
    padding-left: 0.25rem;
    padding-right: 0.875rem;
  }
  .switch-sm .switch-off {
    padding-left: 0.875rem;
    padding-right: 0.25rem;
  }
  [dir=rtl] .switch-sm .switch-label {
    padding-right: 2.5rem;
    padding-left: 0;
  }
  [dir=rtl] .switch-sm .switch-input:checked ~ .switch-toggle-slider::after {
    left: auto;
    right: 0.875rem;
  }
  [dir=rtl] .switch-sm .switch-toggle-slider::after {
    margin-left: 0;
    margin-right: 0.25rem;
  }
  [dir=rtl] .switch-sm .switch-on {
    padding-left: 0.875rem;
    padding-right: 0.25rem;
  }
  [dir=rtl] .switch-sm .switch-off {
    padding-left: 0.25rem;
    padding-right: 0.875rem;
  }
  
  .switch-lg {
    min-height: 1.75rem;
    font-size: 1.063rem;
    line-height: 1.47;
  }
  .switch-lg .switch-label:first-child {
    padding-right: 0.5rem;
  }
  .switch-lg .switch-input ~ .switch-label {
    padding-left: 3.75rem;
  }
  .switch-lg .switch-toggle-slider {
    width: 3.25rem;
    height: 1.75rem;
    font-size: 0.625rem;
    line-height: 1.75rem;
    border: 1px solid transparent;
    top: 0;
  }
  .switch-lg .switch-toggle-slider i {
    position: relative;
    font-size: 1.063rem;
    top: -2px;
  }
  .switch-lg .switch-label {
    top: 0.093695rem;
  }
  .switch-lg .switch-input:checked ~ .switch-toggle-slider::after {
    left: 1.5rem;
  }
  .switch-lg .switch-toggle-slider::after {
    top: -1px;
    margin: 0.25rem 0 0 0.25rem;
    width: 20px;
    height: 20px;
  }
  .switch-lg .switch-on {
    padding-left: 0.25rem;
    padding-right: 1.5rem;
  }
  .switch-lg .switch-off {
    padding-left: 1.5rem;
    padding-right: 0.25rem;
  }
  [dir=rtl] .switch-lg .switch-label {
    padding-right: 3.75rem;
    padding-left: 0;
  }
  [dir=rtl] .switch-lg .switch-input:checked ~ .switch-toggle-slider::after {
    left: auto;
    right: 1.5rem;
  }
  [dir=rtl] .switch-lg .switch-toggle-slider::after {
    margin-left: 0;
    margin-right: 0.25rem;
  }
  [dir=rtl] .switch-lg .switch-on {
    padding-left: 1.5rem;
    padding-right: 0.25rem;
  }
  [dir=rtl] .switch-lg .switch-off {
    padding-left: 0.25rem;
    padding-right: 1.5rem;
  }
  
  .switch-secondary.switch .switch-input:checked ~ .switch-toggle-slider {
    background: var(--bs-success);
    color: #fff;
  }
  
  .switch-secondary.switch .switch-input:active ~ .switch-toggle-slider {
    box-shadow: none;
  }
  

  
  .switch-success.switch .switch-input:checked ~ .switch-toggle-slider {
    background: #39da8a;
    color: #fff;
  }
  
  .switch-success.switch .switch-input:active ~ .switch-toggle-slider {
    box-shadow: none;
  }
  
  .switch-success.switch .switch-input:focus ~ .switch-toggle-slider {
    box-shadow: 0 0 0 0.12rem rgba(147, 158, 170, 0.3);
  }
  
  .switch-info.switch .switch-input:checked ~ .switch-toggle-slider {
    background: #00cfdd;
    color: #fff;
  }
  
  .switch-info.switch .switch-input:active ~ .switch-toggle-slider {
    box-shadow: none;
  }
  
  .switch-info.switch .switch-input:focus ~ .switch-toggle-slider {
    box-shadow: 0 0 0 0.12rem rgba(147, 158, 170, 0.3);
  }
  
  .switch-warning.switch .switch-input:checked ~ .switch-toggle-slider {
    background: #fdac41;
    color: #fff;
  }
  
  .switch-warning.switch .switch-input:active ~ .switch-toggle-slider {
    box-shadow: none;
  }
  
  .switch-warning.switch .switch-input:focus ~ .switch-toggle-slider {
    box-shadow: 0 0 0 0.12rem rgba(147, 158, 170, 0.3);
  }
  
  .switch-danger.switch .switch-input:checked ~ .switch-toggle-slider {
    background: #ff5b5c;
    color: #fff;
  }
  
  .switch-danger.switch .switch-input:active ~ .switch-toggle-slider {
    box-shadow: none;
  }
  
  .switch-danger.switch .switch-input:focus ~ .switch-toggle-slider {
    box-shadow: 0 0 0 0.12rem rgba(147, 158, 170, 0.3);
  }
  
  .switch-dark.switch .switch-input:checked ~ .switch-toggle-slider {
    background: #495563;
    color: #fff;
  }
  
  .switch-dark.switch .switch-input:active ~ .switch-toggle-slider {
    box-shadow: none;
  }
  
  .switch-dark.switch .switch-input:focus ~ .switch-toggle-slider {
    box-shadow: 0 0 0 0.12rem rgba(147, 158, 170, 0.3);
  }
  
  .switch-gray.switch .switch-input:checked ~ .switch-toggle-slider {
    background: rgba(38, 60, 85, 0.5);
    color: #fff;
  }
  
  .switch-gray.switch .switch-input:active ~ .switch-toggle-slider {
    box-shadow: none;
  }
  
  .switch-gray.switch .switch-input:focus ~ .switch-toggle-slider {
    box-shadow: 0 0 0 0.12rem rgba(147, 158, 170, 0.3);
  }
  
  .switch .valid-feedback,
  .switch .invalid-feedback {
    padding-left: 0.5rem;
  }
  