.custom-input{
    position: relative;
    margin-bottom: 32px;
    height: 64px;
    min-height: 64px;
    width: 100%;

}

.form {
    max-width: 585px;
}

.input {
    position: relative;
    margin-bottom: 0;
}
.input__field {
    min-height: 64px;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #000000;
}

.label, .input label {
    position: absolute;
    top: 21px;
    left: 21px;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: rgba(0, 0, 0, 0.64);
    z-index: 1;
}

.custom_input-field {
    border: none;
    outline: none;
    border: 1px solid #D9D9D9;
    border-radius: 12px;
    position: relative;
    height: 64px;
    width: 520px;
    min-width: 520px;
    padding: 15px 16px 0 22px;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
}


.custom_input-field:not(:placeholder-shown)+.label,
.custom_input-field:focus+.label{
    top: 1px;
    font-size: 12px;
}
.custom_input-field:not(:placeholder-shown) ~ .input__icon {
    display: block;
    color: rgba(0, 0, 0, 0.24);
}
.custom_input-field:focus {
    border: 1px solid #77CAD3;
}

.input__icon {
    position: absolute;
    display: none;
    right: 20px;
    top: 18px;
    font-weight: 500;
    font-size: 24px;
    line-height: 29px;
    color: rgba(0, 0, 0, 0.24);
}

.input__error, .label {
    -webkit-transition: .3s ease-in;
    transition: .3s ease-in;
}

.input__error, .input__custom-error {
    position: absolute;
    bottom: -15px;
    left: 16px;
}
input.error {
    border: 1px solid #FF7979;
}
.button {
    font-weight: 700;
    height: 80px;
}
.button:hover, button:focus {
    background: #77CAD3;
    box-shadow: 0px 4px 24px #77CAD3;
}

@media (max-width: 650px) {
    .custom_input-field {
        min-width: unset;
        width: 100%;
    }
    .button {
        height: 64px;
    }
}
@media (max-width: 375px) {
    .form {
        max-width: unset;
        padding-left: 32px;
        padding-right: 32px;
    }
    .custom_input-field {
        min-width: unset;
    }

}