/* Styles from material design */
.switch {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin-left: -11px;
    --color-default: rgb(25, 118, 210);
}
.switch-root {
    display: inline-flex;
    width: 58px;
    height: 38px;
    overflow: hidden;
    padding: 12px;
    position: relative;
    vertical-align: middle;
    z-index: 0;
    color: #ffffff;
    cursor: pointer;
}
.switch-base {
    position: absolute;
    border-radius: 50%;
    padding: 9px;
    top: 0;
    left: 0;
    z-index: 1;
    transition: left 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, transform 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
}
.switch-input {
    opacity: 0;
    position: absolute;
    height: 100%;
    width: 300%;
    left: -100%;
    top: 0;
    margin: 0;
    cursor: inherit;
}
.switch-thumb {
    border-radius: 50%;
    width: 20px;
    height: 20px;
    background-color: currentColor;
    box-shadow: 0px 2px 1px -1px rgb(0 0 0 / 20%), 0px 1px 1px 0px rgb(0 0 0 / 14%), 0px 1px 3px 0px rgb(0 0 0 / 12%);
}
.switch-track {
    width: 100%;
    height: 100%;
    border-radius: 7px;
    background-color: #000000;
    transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, background-color 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    opacity: 0.38;
    z-index: -1;
}
.switch--checked {
    color: var(--color-default);
}
.switch--checked .switch-track {
    opacity: 0.5;
    background-color: currentColor;
}
.switch--checked .switch-base {
    transform: translateX(20px);
}
.switch-root + span {
    flex: 1;
    cursor: pointer;
}
.switch .ripple {
    border-radius: 50%;
}
.switch-root:not(.switch--checked):not(.switch--activation):hover .ripple::before {
    background-color: #000000;
    z-index: -1;
}
.switch-root:hover .ripple::before {
    opacity: 0.04;
}
.switch--activation .ripple::after {
    animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards;
}
.switch--deactivation .ripple::after {
    animation: mdc-ripple-fg-opacity-out 150ms;
    transform: scale(1.8);
}