.thaw-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    background-color: var(--thaw-background-color);
    border-radius: 11px;
    cursor: pointer;
    box-shadow: inset 0 0 1px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    user-select: none;
}

.thaw-switch__button {
    position: absolute;
    top: 2px;
    left: 2px;
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 9px;
    background-color: #fff;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.3),
        inset 0 0 1px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.thaw-switch--active {
    background-color: var(--thaw-background-color-active);
}

.thaw-switch--active .thaw-switch__button {
    left: 20px;
}

.thaw-switch--active:active .thaw-switch__button {
    left: 14px;
}

.thaw-switch:active .thaw-switch__button {
    width: 24px;
}
