.switch-button-component {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    font-size: 14px;
    line-height: 20px;
    height: 20px;
    vertical-align: middle;
}
.switch-button-component .switch-button__input {
	position: absolute;
	width: 0;
	height: 0;
	opacity: 0;
	margin: 0;
}
.switch-button-component .switch-button__label {
    -webkit-transition: .2s;
    transition: .2s;
    height: 20px;
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    vertical-align: middle;
    color: #303133;
    margin-right: 10px;
}
.switch-button-component .switch-button__core {
	margin: 0;
	display: inline-block;
	position: relative;
	width: 40px;
	height: 20px;
	border: 1px solid #dcdfe6;
	outline: none;
	border-radius: 10px;
	box-sizing: border-box;
	background: #dcdfe6;
	cursor: pointer;
	transition: border-color .3s,background-color .3s;
	vertical-align: middle;
}
.switch-button-component .switch-button__core::after {
	content: "";
	position: absolute;
	top: 1px;
	left: 1px;
	border-radius: 100%;
	transition: all .3s;
	width: 16px;
	height: 16px;
	background-color: #fff;
}
.switch-button-component.checked .switch-button__core {
	background-color: #409eff;
	border-color: #409eff;
}
.switch-button-component.checked .switch-button__core::after {
	left: 100%;
    margin-left: -17px;
}