.m-switch{cursor:pointer;vertical-align:top;align-items:center;gap:.5rem;display:inline-flex;position:relative}.m-switch.--is-disabled{cursor:not-allowed}.m-switch__input{position:absolute;left:-9999px}.m-switch__toggle,.m-switch__toggle:before{width:3rem;height:1.5rem;position:relative}.m-switch__toggle:before{content:"";background-color:var(--maz-color-bg-light);border-radius:9999px;transition:all .2s ease-in-out;display:block;top:.125rem;left:0}.m-switch__toggle:is([class~=dark] *):before{background-color:var(--maz-color-bg-lighter)}.m-switch__toggle:after{content:"";background-color:var(--maz-color-bg);border-radius:9999px;width:1.25rem;height:1.25rem;transition:all .2s ease-in-out;display:block;position:absolute;top:.25rem;left:.125rem;box-shadow:0 0 4px #0003}.m-switch__input:checked+.m-switch__toggle:after{--maz-tw-translate-x:1.5rem;transform:translate(var(--maz-tw-translate-x),var(--maz-tw-translate-y)) rotate(var(--maz-tw-rotate)) skew(var(--maz-tw-skew-x)) skewY(var(--maz-tw-skew-y)) scaleX(var(--maz-tw-scale-x)) scaleY(var(--maz-tw-scale-y))}.m-switch__input:checked+.m-switch__toggle:before{background-color:var(--switch-color)}.m-switch__input:disabled+.m-switch__toggle:before{background-color:var(--maz-color-bg-lighter)}.m-switch__input:disabled+.m-switch__toggle:is([class~=dark] *):before{background-color:var(--maz-color-bg-light)}.m-switch__input:disabled+.m-switch__toggle:after{background-color:var(--maz-color-bg-light);box-shadow:none}.m-switch__input:disabled+.m-switch__toggle:is([class~=dark] *):after{background-color:var(--maz-color-bg-lighter)}.m-switch__text{flex-direction:column;gap:0;display:flex}.m-switch__hint{color:var(--maz-color-muted);font-size:.875rem;line-height:1.25rem}.m-switch__hint.--error{color:var(--maz-color-danger-600)}.m-switch__hint.--success{color:var(--maz-color-success-600)}.m-switch__hint.--warning{color:var(--maz-color-warning-600)}
