.form_content_success, .form_content_error {display: none;}
.popup {
    display: none;
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 60px;
    z-index: 3001;
    min-width: 300px;
    max-width: 480px;
    width: 90%;
}

.popup .brief__main {
    margin-bottom: 16px;
}

.popup h2 {
    margin-bottom: 20px;
}
.popup p {
    font-size: 16px;
    line-height: 21px;
    font-weight: 400;
}
.popup .text_gray {
    font-size: 12px;
    color: #7A7A7A;
}

.popup .text_gray a {
    color: #999;
}
.popup .pretty-link::after {
    width: 100%;
}

.nav__contact--link {cursor: pointer}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 3000;
    overflow-y: auto;
}
.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    background-color: unset;
    color: #A7A9AC;
    border: unset;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
}
.popup-close:hover, .popup-close:focus {
    color: #333;
}
.popup.active, .popup-overlay.active {
    display: block;
}

.popup .submit_button {
    width: 100%;
    padding: 24px 24px;
    background-color: #E93537;
    color: white;
    outline: unset;
    border: unset;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 16px;
    margin-bottom: 8px;
}

.popup .submit_button:disabled {
    background-color: #d9d9d9;
    cursor: default;
}

.popup .input-field__error-text {
    color: #E93537 ;
}
