.auth-input {
    background: inherit;
    position: relative;
    height: 40px;
    width: 100%;
    border-radius: 5px;
    border: 1px solid var(--dark-blue);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    font-family: AvenirRoman, sans-serif;
}
.auth-input_white {
    border: 1px solid var(--white);
}
.auth-input_error {
    border: 1px solid var(--red);
    box-shadow: inset 0 0 5px var(--red);
}

.auth-input__input, .auth-input__input:-webkit-autofill {
    width: 90%;
    background: inherit;
    font-size: 13px;
    padding-left: 10px;
    position: relative;
    outline: none;
    border: 0;
    margin-bottom: 4px;
}

.auth-input__input_white {
    color: var(--white);
}

.auth-input__label {
    color: var(--gray);
    background: inherit;
    position: absolute;
    pointer-events: none;
    left: 6px;
    top: 20px;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
    padding: 0 4px;
}
.auth-input__label_white {
    color: var(--white);
}
.auth-input__label_error {
    color: var(--red);
}

.auth-input__label_focus {
    top: 0;
    font-size: 11px;
}

.textarea-input .auth-input__label{
    top: 5px;
}

.textarea-input .auth-input__label_focus {
    display: none;
}


.auth-input .errorlist {
    position: relative;
    bottom: -19px;
    background: green;
}