
/*Поп-ап форма*/
.display-none, .privacy-policy {
    display: none;
}
.overlay.active {
    display: block;
}
.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    transition: 0.3s;
    opacity: 0;
}
.pop-up-form {
    position: fixed;
    inset: 0;
    margin: auto;
    z-index: 1002;
    padding: 10px;
    height: fit-content;
    width: fit-content;
    max-height: 90vh;
    overflow: auto;
    opacity: 0;
    transition: 0.3s;
}
.pop-up-form__container {
    padding: 60px clamp(16px, 50px, 5vw) 40px;
    position: relative;
    background-color: #F4F7FA;
    text-align: left;
    max-width: 444px;
    border-radius: 10px;
}
.pop-up-form input,
.pop-up-form textarea {
    padding: clamp(18px, 22px, 3.5vw) clamp(18px, 32px, 3.5vw);
    line-height: 1;
    border-radius: 8px;
    background-color: #FFF;
    border: solid 1px #D6D6D6;
    width: 100%;
    display: block;
    transition: .3s;
    font-size: clamp(14px, 16px, 1.5vw);
    box-sizing: border-box;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
}
.pop-up-form__close {
    position: absolute;
    width: 40px;
    height: 40px;
    right: 8px;
    top: 8px;
    cursor: pointer;
}

.pop-up-form__close span:last-child {
    transform: rotate(-45deg);
}
.pop-up-form__close span {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 32px;
    height: 3px;
    background-color: #4e4e4e;
    transform: rotate(45deg);
}
.close-pop-up:hover span {
    background-color: #FFF;
}
.pop-up-form__close-container,
.close-pop-up__container {
    position: relative;
    width: 100%;
    height: 100%;
}
.pop-up-form__close span {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 32px;
    height: 3px;
    background-color: #8e8e8e;
    transform: rotate(45deg);
}
.pop-up-form__close span:last-child {
    transform: rotate(-45deg);
}
.pop-up-form__privacy-policy+label::before {
    width: 22px;
    height: 22px;
}
.pop-up-form__privacy-policy:checked+label::after {
    width: 14px;
    height: 14px;
    left: 12px;
    border-radius: 3px;
}


.form-field {
    margin-bottom: 8px;
}
.checkbox-field {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-start;
}
.checkbox-field input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

.btn-1 {
    width: auto;
    padding: 12px 24px;
    font-size: 16px;
    line-height: 1;
    border-radius: 8px;
    background-color: #2973b1;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 600;
    text-shadow: none;
    box-shadow: none;
    margin: 24px auto 0;
    display: block;
    background-image: none;
}

.message-box.error {
    margin: 8px 0;
    text-align: left;
    font-size: 14px;
    line-height: 1.3;
    color: #d40000;
}
.general-message-box.message-send {
    position: fixed;
    inset: 0;
    margin: auto;
    z-index: 1001;
    background: #FFF;
    text-align: center;
    padding: 32px;
    width: 400px;
    height: 300px;
    max-width: 95vw;
    transition: 0.3s;
}
.general-message-box__container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}
.privacy-policy-message-box {
    display: none;
}
.privacy-policy-message-box.error {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    position: fixed;
    inset: 0;
    padding: 16px;
    background: rgba(0, 0, 0, 0.60);
    border-radius: 0;
    z-index: 1;
}
.privacy-policy-message-box__container {
    position: relative;
    width: 366px;
    max-width: 95vw;
    padding: 24px;
    background: #FFF;
    border-radius: 10px;
    text-align: center;
    color: #000;
    font-size: 20px;
}
.privacy-policy-message-box__btn {
    width: fit-content;
    display: block;
    margin: auto;
}
.privacy-policy-message-box__text {
    padding-top: 16px;
    border-top: 1px solid #8e8e8e;
    margin-bottom: 16px;
    font-size: 16px;
}
.pop-up-form__title {
    font-weight: 600;
    margin-bottom: 16px;
}
.general-message-box.message-send {
    position: fixed;
    inset: 0;
    margin: auto;
    z-index: 10001;
    background: #FFF;
    text-align: center;
    padding: 32px;
    width: 400px;
    height: 300px;
    max-width: 95vw;
    transition: 0.3s;
}
.general-message-box__container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}
.general-message-box__container .pop-up-form__title {
    font-size: 24px;
}
.general-message-box__text {
    font-size: 18px;
}