
.static-form {
    width: 100%;
    display: flex;
    justify-content: center;
}


#success {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: #FFF;
    border-radius: 15px;
    padding: 20px;
}
.success-icon {
    margin: 0 auto;
    display: flex
}
#success h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 20px;
}
#success p {
    font-size: 20px;
    text-align: center;
    margin-bottom: 20px;
}
.close-btn {
    width: 100%;
    background: #007bff;
    color: white;
    font-size: 20px;
    border-radius: 50px;
    margin-top: 15px;
    border: 0;
    padding: 15px 20px;
    cursor: pointer;
}
.close-btn:hover {
    background: #d8641c;
}
.formArea {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 25px;
    padding: 25px;
}
.quest-form__title {
    text-align: center;
    display: flex;
    justify-content: center;
    font-size: 27px;
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 600;
}
.contactFrm {
    display: flex;
    flex-direction: column;
}
.custom-checkbox-label {
    margin-top: 20px;
    font-size: 15px;
    display: flex;
}
.custom-checkbox-label span {
    margin-left: 10px;
    line-height: 1.2;
}
.simple-consent-checkbox,
.simple-consent-checkbox-4 {
    width: 18px;
    height: 18px;
    padding: 0;
    margin: 0;
    flex: none;
}
.error-message {
    color: red;
    font-size: 15px;
    margin-bottom: 10px;
}
.formBtn,
.formBtn-2,
.formBtn-3,
.formBtn-4 {
    width: 100%;
    background: #005b86;
    color: white;
    font-size: 20px;
    border-radius: 50px;
    margin-top: 15px;
    border: 0;
    padding: 15px 20px;
    cursor: pointer;
}
.formBtn:hover,
.formBtn-2:hover,
.formBtn-3:hover,
.formBtn-4:hover {
    background: #d8641c;
}
.myalert-error {
    color: red;
    text-align: center;
    margin-top: 10px;
}
.g-recaptcha,
.smart-captcha {
    transform-origin: left top;
    -webkit-transform-origin: left top;
}
.comment {
    width: 100%;
    min-height: 100px;
    padding: 20px;
    margin-bottom: 20px;
    box-sizing: border-box;
    border: .1rem solid #F2F2F2;
    border-radius: .4rem;
    font-size: 15px;
    background: #f9f9f9;
}

/* Скрыть стандартные радио-кнопки */
.contact-method input[type="radio"] {
    display: none;
}
/* Основной стиль для кастомных радио-кнопок */
.radio-button {
    display: inline-flex;
    align-items: center;
    margin-right: 10px;
}
.custom-radio {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 19px 20px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: bold;
    background-color: #f0f0f0;
    color: #333;
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
    width: 100%;
}
/* Иконка SVG */
.custom-radio svg {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    transition: fill 0.3s;
    stroke: black;
}
/* Стили для активной кнопки */
input[type="radio"]:checked + .custom-radio {
    background-color: #7f7fff;
    color: #fff;
}
input[type="radio"]:checked + .custom-radio svg {
    stroke: white;
}
/* Ховер для кнопки */
.radio-button:hover .custom-radio {
    background-color: #e0e0e0;
}
.contact-method {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    gap: 10px;
    justify-content: space-between;
}
.contact-method label {
    display: flex;
    width: 48%;
}
.input-title {
    font-size: 17px;
    margin-bottom: 15px;
    display: block;
}
.ui-input {
    width: 100%;
    height: 50px;
    padding-left: 20px;
    margin-bottom: 20px;
    box-sizing: border-box;
    border: .1rem solid #F2F2F2;
    border-radius: .4rem;
    font-size: 15px;
    background: #f9f9f9;
}
.fancybox__content {
    border-radius: 20px;
}
#pravila h2 {
    font-size: 30px;
}
@media (max-width: 767px) {
    .wrapper {
        width: 100%;
    }
    .g-recaptcha,
    .smart-captcha {
        transform: scale(0.90);
        transform-origin: 0 0;
    }
    .container {
        width: 90%;
    }
}
@media (max-width: 500px) {
    .fancybox__content {
        width: 90%;
    }
    .fancybox__content .formArea {
        padding: 0;
    }
    #success {
        width: 90%;
    }
    .fancybox__content .g-recaptcha,
    .fancybox__content .smart-captcha {
        transform: scale(0.83);
        transform-origin: 0 0;
    }
    .formBtn-4 {
        font-size: 19px;
    }
}