.input-group{
    display: flex;
}
.input-group > input{
    height: auto;
}
.input-group > *{
   border-radius: 0;
}
.input-group > *:first-child:not(:only-child){
    border-radius: 3px 0 0 3px;
    border-right: 0;
}
.input-group > *:last-child:not(:only-child){
    border-radius: 0 3px 3px 0;
    border-left: 0;
}
.input-group >*:only-child{
    border-radius: 3px;
}

.form-control:focus{
    box-shadow: none;
}
.form-control.dark{
    background-color: #333333;
    color: #dddddd;
    border: 1px solid #545454;
    box-shadow: none;
    font-weight: 300;
}
.form-control.dark:focus{
    box-shadow: none;
    background-color: #444444;
    border-color: #666666;
}
.form-control.dark:disabled{
    opacity: .3;
}
label.dark{
    color: #ddd;
    margin-bottom: .25rem;
    font-weight: 300;
}

.form-group > label {
    display: flex;
    text-align: left;
    color: #888;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.43;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    margin-bottom: 7px;
}
.form-group.has-error .form-control {
    border: 1px solid #ff3838 !important;
    padding-right: 32px;
}
.form-group.has-error::after {
    content: "";
    display: block;
    position: absolute;
    top: 3px;
    right: 3px;
    opacity: 1;
    background-repeat: no-repeat;
    background-position: top right;
    background-size: 13px auto;
    width: 17px;
    height: 17px;
    background-image: url(/public/images/icons/notification-shape-red.svg);
    pointer-events: none;
}
.form-group.has-success::after {
    content: "";
    display: block;
    position: absolute;
    top: 3px;
    right: 3px;
    opacity: 1;
    background-repeat: no-repeat;
    background-position: top right;
    background-size: 13px auto;
    width: 17px;
    height: 17px;
    background-image: url(/public/images/icons/notification-shape.svg);
    pointer-events: none;
}

.form-group--floating {
    display: block;
    position: relative;
}
.form-group--floating .form-control {
    background-color: #fff;
    display: block;
    width: 100%;
    border-color: #b6b5d3;
    outline: 0 !important;
    font-size: 14px;
    line-height: 1.429;
    color: #000;
    padding: 4px 14px;
    height: 38px;
    border-radius: 6px;
}
.form-group--floating textarea.form-control{
    min-height: 38px;
    height: inherit;
}
.form-group--floating .form-control:focus {
    background-color: #fff;
    border-color: #0e0a6d;
}
.form-group--floating input::placeholder,
.form-group--floating textarea::placeholder{
    color: transparent;
}
.form-group--floating input:placeholder-shown + label,
.form-group--floating textarea:placeholder-shown + label {
    top: 13px;
    left: 15px;
    font-weight: 400;
    font-size: 14px;
    color: #818181;
}
.form-group--floating label {
    position: absolute;
    pointer-events: none;
    line-height: 1;
    transition: .3s;
    font-weight: 700;
    font-size: 10px;
    color: #0e0a6d;
    top: -6px;
    left: 14px;
    margin: 0;
}
.form-group--floating input:focus + label,
.form-group--floating textarea:focus + label {
    font-weight: 700;
    font-size: 10px;
    color: #0e0a6d;
    top: -6px;
    left: 14px;
}
.form-group--floating label::before {
    content: "";
    display: block;
    position: absolute;
    bottom: 3px;
    left: -4px;
    right: -4px;
    height: 1px;
    background-color: #fff;
}
.form-group--floating > label > span {
    position: relative;
}

.form-group .error {
    position: absolute;
    top: 0;
    right: 5px;
    color: #f00;
    font-weight: 500;
    font-size: 15px;
}

.form-group--floating.has-error .form-control {
    border-color: #ff3838 !important;
}
.form-group.has-error .form-control:active,
.form-group.has-error .form-control:focus,
.form-group.has-error .form-control:hover {
    border: 1px solid #ff3838 !important;
}
.form-group--floating.has-error label {
    color: #ff3838 !important;
}
.form-group--floating.has-error .error {
    position: initial;
    color: #f00;
    font-weight: 400;
    font-size: 14px;
}


/*убрать стрелки у input number*/
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}
input[type="number"]:hover,
input[type="number"]:focus {
    -moz-appearance: number-input;
}

input[type="search"] {
    -webkit-appearance: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}