
<style>
/* =========================================
   PRIDE AUTO - ФОРМА ОБРАТНОГО ЗВОНКА
   ========================================= */

#recallBlock.recallForm {
    display: none;
    box-sizing: border-box;
    width: 100%;
    max-width: 440px;
    margin: 0;
    padding: 34px;
    border: none;
    border-radius: 16px;
    background: #ffffff;
    color: #282828;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.16);
}

/* Заголовок */

#recallBlock .recallForm__header {
    margin: 0;
    padding: 0 0 15px;
    border: none;
    text-align: left;
    font-size: 27px;
    line-height: 1.25;
    font-weight: 700;
    color: #282828;
}

#recallBlock .recallForm__header::after {
    content: "";
    display: block;
    width: 52px;
    height: 4px;
    margin-top: 13px;
    border-radius: 3px;
    background: #f99820;
}

/* Описание */

#recallBlock .recallForm__text {
    margin: 0 0 24px;
    color: #666666;
    font-size: 14px;
    line-height: 1.65;
    text-align: left;
}

/* Сброс старых ограничений формы */

#recallBlock .recallForm__form,
#recallBlock .recall_form,
#recallBlock .formContainer,
#recallBlock .inputContainer {
    box-sizing: border-box;
    width: 100%;
}

#recallBlock .recall_form {
    margin: 0;
    text-align: left;
}

#recallBlock .inputContainer {
    margin: 0 0 14px;
    padding: 0;
}

/* Поля */

#recallBlock .inputContainer input {
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: 50px;
    margin: 0;
    padding: 0 15px;
    border: 1px solid #dedede;
    border-radius: 8px;
    outline: none;
    background: #fafafa;
    color: #282828;
    font-family: inherit;
    font-size: 14px;
    line-height: normal;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

#recallBlock .inputContainer input::placeholder {
    color: #999999;
    opacity: 1;
}

#recallBlock .inputContainer input:hover {
    border-color: #bcbcbc;
}

#recallBlock .inputContainer input:focus {
    border-color: #f99820;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(249, 152, 32, 0.14);
}

/* Согласие */

#recallBlock .recallPrivacy {
    margin: 20px 0 18px;
}

#recallBlock .recallPrivacy__label {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    cursor: pointer;
    text-align: left;
    color: #666666;
    font-size: 12px;
    line-height: 1.6;
}

#recallBlock .recallPrivacy__label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin: 0;
    border: 2px solid #c8c8c8;
    border-radius: 5px;
    background: #ffffff;
    cursor: pointer;
    position: relative;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

#recallBlock .recallPrivacy__label input[type="checkbox"]:checked {
    background: #f99820;
    border-color: #f99820;
}

#recallBlock .recallPrivacy__label input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

#recallBlock .recallPrivacy__label input[type="checkbox"]:focus-visible {
    outline: 2px solid #282828;
    outline-offset: 3px;
}

#recallBlock .recallPrivacy__label a {
    color: #b76500;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

#recallBlock .recallPrivacy__label a:hover {
    color: #282828;
}

/* Ошибки валидации */

#recallBlock .error:not(:empty) {
    display: block;
    margin: 5px 0 10px;
    color: #c62828;
    font-size: 12px;
    line-height: 1.4;
}

/* Кнопка отправки */

#recallBlock .recallForm__finishBtn {
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: 52px;
    margin: 0;
    padding: 0 20px;
    border: none;
    border-radius: 8px;
    background: #f99820;
    color: #282828;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.7px;
    line-height: normal;
    text-align: center;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

#recallBlock .recallForm__finishBtn:hover {
    background: #ffad3f;
    box-shadow: 0 7px 18px rgba(249, 152, 32, 0.25);
    transform: translateY(-1px);
}

#recallBlock .recallForm__finishBtn:active {
    transform: translateY(0);
}

#recallBlock .recallForm__finishBtn:focus-visible {
    outline: 2px solid #282828;
    outline-offset: 3px;
}

/* Оформление Fancybox */

.fancybox-slide--html .fancybox-close-small {
    color: #555555;
    padding: 8px;
    opacity: 0.8;
}

.fancybox-slide--html .fancybox-close-small:hover {
    color: #f99820;
    opacity: 1;
}

/* Мобильная версия */

@media (max-width: 600px) {
    #recallBlock.recallForm {
        max-width: calc(100vw - 28px);
        padding: 26px 20px;
        border-radius: 12px;
    }

    #recallBlock .recallForm__header {
        font-size: 23px;
    }

    #recallBlock .recallForm__text {
        font-size: 13px;
        margin-bottom: 20px;
    }

    #recallBlock .inputContainer input {
        height: 48px;
        font-size: 16px;
    }

    #recallBlock .recallPrivacy__label {
        font-size: 12px;
    }

    #recallBlock .recallForm__finishBtn {
        height: 50px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #recallBlock .inputContainer input,
    #recallBlock .recallPrivacy__label input,
    #recallBlock .recallForm__finishBtn {
        transition: none;
    }
}


/* Кнопка обратного звонка в мобильном меню */

.mobileRecallBtn {
    display: none;
}

@media (max-width: 768px) {
    .mobileRecallBtn {
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        width: 100%;
        min-height: 48px;
        margin: 12px 0;
        padding: 12px 16px;
        background: #f99820;
        color: #282828 !important;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 700;
        text-align: center;
        text-decoration: none;
        cursor: pointer;
    }

    .mobileRecallBtn:hover,
    .mobileRecallBtn:focus-visible {
        background: #ffad3f;
        color: #282828 !important;
    }

    /* Сама форма на мобильном устройстве */

    #recallBlock.recallForm {
        box-sizing: border-box;
        width: 100%;
        max-width: calc(100vw - 24px);
        padding: 28px 20px;
        border-radius: 12px;
    }

    #recallBlock .recallForm__header {
        font-size: 23px;
        line-height: 1.3;
    }

    #recallBlock .recallForm__text {
        font-size: 13px;
        line-height: 1.6;
    }

    #recallBlock .inputContainer input {
        width: 100%;
        height: 48px;
        font-size: 16px;
    }

    #recallBlock .recallPrivacy__label {
        font-size: 12px;
    }

    #recallBlock .recallForm__finishBtn {
        width: 100%;
        height: 50px;
    }
}


#recallBlock .recallSuccess[hidden] {
    display: none !important;
}

#recallBlock .recallSuccess {
    padding: 20px 0;
    text-align: center;
    color: #282828;
}

#recallBlock .recallSuccess__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #e7f5eb;
    color: #218449;
    font-size: 38px;
    font-weight: 700;
}

#recallBlock .recallSuccess__title {
    margin-bottom: 12px;
    font-size: 24px;
    font-weight: 700;
}

#recallBlock .recallSuccess__text {
    margin: 0 0 24px;
    font-size: 14px;
    line-height: 1.6;
}

#recallBlock .recallSuccess__close {
    display: block;
    width: 100%;
    min-height: 50px;
    border: none;
    border-radius: 8px;
    background: #f99820;
    color: #282828;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

#recallBlock .recallSuccess__close:hover {
    background: #ffad3f;
}

/* Скрываем стандартные уведомления AjaxForm */

#jGrowl,
.jGrowl {
    display: none !important;
}

</style>
