:root{
    --border-radius-s: 4px;
    --input-height : 44px;
    --main-font-color : #000;
    --main-bg : #8B7FF7;
    --default-transition : .3s ease;
}

.form-control:focus{
    outline: none !important;
    box-shadow: none;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.form-control{
    height: var(--input-height) !important;
    padding: 10px 16px !important;
    border-radius: var(--border-radius-s);
    color: rgba(var(--main-font-color).65);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.file-inp-wrapper{
    height: var(--input-height);
    padding: 10px 16px;
    padding-right: 40px;
    border-radius: var(--border-radius-s);
    color: rgba(var(--main-font-color).65);
    font-size: 16px;
    font-weight: 500;
    line-height: 17px;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.file-inp-wrapper p{
    margin-bottom: 0;
    color: rgba(0, 0, 0, 0.65);
    font-size: 16px;
    font-weight: 500;
    line-height: 21px;
    height: auto;
    overflow: hidden;
    white-space: pre;
}

.form-floating>label,
.select-floating>label{
    color: rgba(0, 0, 0, 0.65);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    padding:0 5px;
    left: 11px;
    top: 9px;
    height: auto;
}
.form-floating>.form-control:focus~label, .form-floating>.form-control:not(:placeholder-shown)~label, .form-floating>.form-select~label{
    color: rgba(0, 0, 0, 0.65);
    transform:scale(0.625) translateY(-19px) ;
    background: #fff;
    
    line-height: 10px;
    left: 12px;
    z-index: 2;
    pointer-events: none;
    opacity: 1;
}
.floated-input-label>label{
    transform: translateY(-14px);
    background: #fff;
    line-height: 10px;
    left: 12px;
    z-index: 2;
    pointer-events: none;
    opacity: 1;
    position: absolute;
    padding: 0 5px;
    color: rgba(0, 0, 0, 0.65);
    font-size: 10px;
    font-weight: 500;
}
.floated-label>label{
    transform: translateY(-5px);
    background: #fff;
    line-height: 10px;
    left: 12px;
    z-index: 2;
    pointer-events: none;
    opacity: 1;
    position: absolute;
    padding: 0 5px;
    color: rgba(0, 0, 0, 0.65);
    font-size: 10px;
    font-weight: 500;
}

.form-floating.floated-label>label{
    top: 0;
}

.floated-label>label:after {
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #fff;
    content: '';
    left: 0;
    top: 3px;
}
.floated-label>label span{
    z-index: 1;
    position: relative;
}

.floated-input-label>label:after {
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #fff;
    content: '';
    left: 0;
    top: 3px;
}
.floated-input-label>label span{
    z-index: 1;
    position: relative;
}

.radio-select-group label{
    position: relative;
    height: auto;
    overflow: visible;
    pointer-events: all;
    left: unset;
    top: unset;
    padding: unset;
}

.radio-select-group label:after{
    content: none !important;
}