.overlay {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    top: 32px;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease 0s;
    z-index: 11;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.contact_form_amts {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    flex-direction: column;
    background-color: #fff;
    padding: 20px;
    margin: 0 15px;
    box-sizing: border-box;
    z-index: 999;
}

.popup_active {
    opacity: 1;
    visibility: visible;
    transition: all 0.5s ease 0s;
}

.error {
    border: 1px solid red;
}

.contact_form_input::placeholder {
    color: var(--light-gray) !important;
}

.err_message {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0%);
    padding: 15px;
    color: #C52552;
    background-color: #fff;
    border: 2px solid #E0D8D6;
    text-align: center;
    box-shadow: 0 15px 30px -18px rgb(0 0 0 / 90%);
    opacity: 0;
    z-index: -1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    /* border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px; */
    visibility: hidden;
}

.err_message_aсtive{
    opacity: 1;
    z-index: 9999;
    visibility: visible;
    transition: all 0.5s ease 0s;
}

.btn_close {
    background-image: url(../img/btn-clouse-black.svg);
    background-position: center center;
    width: 24px;
    height: 24px;
    position: static;
    /*border: 1px solid var(--graymain);*/
    margin-left: auto;
}

.input_wrapper{
    display: flex;
    flex-direction: column;
}