input.apple-switch {
    position: relative;
    appearance: none;
    outline: none;
    width: 36px;
    height: 20px;
    background-color: #F2F4F7;
    
    border-radius: 50px;
    transition-duration: 200ms;
    cursor: pointer;
}

input.apple-switch:after {
    content: "";
    position: absolute;
    top: 2px;
    left: 1px;
    width: 16px;
    height: 16px;
    background-color: #FFFFFF;
    border-radius: 50%;
}

input.apple-switch:checked {
    border-color: #7F56D9;
    box-shadow: inset 40px 0 0 0 #7F56D9;
}

input.apple-switch::before {
    content: 'Неактивен';
    position: absolute;
    left: 44px;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #101828;
}

input.apple-switch:checked::before {
    content: 'Активен';
    position: absolute;
    left: 44px;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #101828;
}

input.apple-switch:checked:after {
    left: 18px;
}

.switch_label{
    display: flex;
    align-items: center;
}

.add__item_name{
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #344054;
    width: 280px;
    display: flex;
    flex-direction: column;
}

.add__item_name a{
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: #6941C6;
}

.add__item_name a:hover{
    opacity: 0.8;
    transition: 0.3s;
}

.add__item_name span{
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #667085;
}

.add__item{
    display: flex;
    align-items: flex-start;
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 1px solid #EAECF0;
}

.disabled__select select{
    width: 512px;
    height: 44px;
    padding: 10px 12px;
    box-sizing: border-box;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #667085;
    background: #F9FAFB;
    border: 1px solid #D0D5DD;
    box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
    border-radius: 8px;
    appearance: none;
}

.disabled__select{
    position: relative;
}

.disabled__select:before{
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 12px;
    right: 12px;
    background-image: url('../image/chevron-down.svg');
    background-repeat: no-repeat;
}

.add__item .custom-select{
    width: 512px;
}

.add__item .count__wrap input {
    width: 244px;
}

.props__type{
    display: flex;
    align-items: center;
}

.props__type .label.save:before{
    content: 'Saved';
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #101828;
    order: 1;
}

.props__type .label.new:before{
    content: 'New';
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #101828;
    order: 1;
}

.props__type .label{
    display: flex;
    align-items: center;
    margin-right: 24px;
    cursor: pointer;
}

.props__type input{
    appearance: none;
    position: relative;
    cursor: pointer;
}

.props__type input:before{
    content: '';
    display: block;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    background: #FFFFFF;
    border: 1px solid #D0D5DD;
    margin-right: 8px;
}

.props__type input:after{
    background: #7F56D9;
    width: 6px;
    height: 6px;
    content: '';
    display: block;
    position: absolute;
    border-radius: 50%;
    top: 6px;
    left: 6px;
    opacity: 0;
}

.props__type input:checked:after{
    opacity: 1;
}

.props__type input:checked::before{
    border: 1px solid #7F56D9;
}

.add__item .input{
    width: 512px;
    height: 44px;
    background: #FFFFFF;
    border: 1px solid #D0D5DD;
    box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
    border-radius: 8px;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #667085;
    padding: 10px 12px;
    box-sizing: border-box;
}

.save__data{
    margin-top: 20px;
}

.save__data .add__item_name{
    margin-bottom: 6px;
}

.new__data .add__item_name{
    margin-bottom: 6px;
}

.save__data .custom-select{
    margin-bottom: 20px;
}

.add__item .input:disabled{
    background: #F9FAFB;
    border: 1px solid #D0D5DD;
    box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
    border-radius: 8px;
    color: #667085;
}

.add__item_info{
    margin-top: 6px;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #667085;
    margin-bottom: 20px;
}

.new__data .input__first{
    margin-bottom: 20px;
}

.props .message__item{
    margin-bottom: 0;
}

.new__data{
    display: none;
    margin-top: 20px;
}

.add__item:last-child{
    border-bottom: 1px solid #EAECF0;
}

.add__wrapper{
    margin-bottom: 20px;
}

.main__content input[type=submit]{
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: #FFFFFF;
    padding: 10px 16px;
    gap: 8px;
    height: 40px;
    background: #7F56D9;
    border: 1px solid #7F56D9;
    border-radius: 8px;
    /*display: flex;*/
    align-items: flex-end;
    justify-content: flex-end;
    margin-left: auto;
    cursor: pointer;
}

.main__content input[type=submit]:hover{
    background: #6941C6;
    transition: 0.3s;
}

.main__content input[type=submit]:active{
    background: #6941C6;
    opacity: 0.7;
    transition: 0.3s;
}

.add__item textarea{
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #667085;
    resize: none;
    padding: 10px 12px;
    background: #FFFFFF;
    border: 1px solid #D0D5DD;
    box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
    border-radius: 8px;
    width: 512px;
    height: 116px;
    box-sizing: border-box;
}

.add__item .multiselect-dropdown{
    width: 512px !important;
}

.add__item .multiselect-dropdown-list div label{
    margin-left: 30px;
}

@media(max-width: 1145px){
    .add__item{
        flex-direction: column;
    }

    .add__item_name{
        margin-bottom: 6px;
    }

    .disabled__select{
        width: 100%;
    }

    .add__item .multiselect-dropdown{
        width: 100% !important;
    }

    .disabled__select select{
        width: 100%;
    }

    .add__item .custom-select{
        width: 100%;
    }

    .add__item .input{
        width: 100%;
    }

    .add__item textarea{
        width: 100%;
    }

    .props{
        width: 100%;
    }

    .dropzone{
        width: 100%;
    }

    .add__item .filter__item.count{
        width: 100%;
    }

    .add__item .count__wrap{
        width: 100%;
    }

    .add__item .count__wrap input {
        width: 100%;
    }

    .password__input{
        width: 100%;
    }
    
    .buttons{
        gap: 12px;
    }

    .button{
        margin-right: 0;
    }

    .password__info{
        flex-wrap: wrap;
        gap: 16px;
    }
}

@media(max-width: 750px){
    .buttons{
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}