/* Мир Привода — общие всплывающие окна. Нативные формы, валидация и AJAX без изменений. */
body#main .jqmWindow.popup:not(.auth_frame){border-radius:16px!important;box-shadow:0 18px 60px rgba(15,22,32,.22)!important;max-width:calc(100vw - 24px)!important;max-height:calc(100vh - 28px)!important;max-height:calc(100dvh - 28px)!important;background:#fff}
body#main .jqmWindow.popup:not(.auth_frame):has(.form_head):not(.fast_view_frame):not(.fast_view_sale_frame):not(.fast_view_services_frame):not(.fast_view_popup){width:540px!important}
body#main .jqmWindow.popup:not(.auth_frame) .jqmClose.close{box-sizing:border-box;display:grid;place-items:center;position:absolute;top:12px!important;right:12px!important;width:34px!important;height:34px!important;padding:0!important;background:#eef0f3!important;border:0!important;border-radius:9px!important;color:#30363e!important;opacity:1;z-index:5}
body#main .jqmWindow.popup:not(.auth_frame) .jqmClose.close:hover{background:#e2e6eb!important}
body#main .jqmWindow.popup:not(.auth_frame) .jqmClose.close i{margin:0!important;display:flex;align-items:center;justify-content:center}
body#main .jqmWindow.popup:not(.auth_frame) .form_head{position:relative;padding:24px 58px 12px 27px!important;margin:0!important;background:#fff;border:0!important}
body#main .jqmWindow.popup:not(.auth_frame) .form_head h2{position:relative;font-size:23px!important;line-height:1.3!important;font-weight:600!important;letter-spacing:-.02em;color:#25292e!important;margin:0!important;padding:0 0 0 13px!important}
body#main .jqmWindow.popup:not(.auth_frame) .form_head h2:before{content:"";position:absolute;left:0;top:1px;bottom:1px;width:4px;background:#ffe100;border-radius:3px}
body#main .jqmWindow.popup:not(.auth_frame) .form_head .form_desc{font-size:13px;line-height:1.5;color:#58616d;margin:9px 0 0;padding:0}
body#main .jqmWindow.popup:not(.auth_frame) .form_body{padding:6px 27px 8px!important;margin:0!important;background:transparent}
body#main .jqmWindow.popup:not(.auth_frame) .form_body .form-control:not(input):not(select):not(textarea){margin:0 0 12px!important;padding:0!important;min-height:0!important;height:auto!important}
body#main .jqmWindow.popup:not(.auth_frame) .form_body label{font-size:13px!important;line-height:1.35!important;font-weight:500!important;color:#3f4853!important;margin-bottom:5px!important}
body#main .jqmWindow.popup:not(.auth_frame) .form_body :is(input[type=text],input[type=tel],input[type=email],input[type=password],input[type=number],input[type=url],select,textarea:not([name=nspm])){box-sizing:border-box;max-width:100%;background:#f5f6f8!important;border:1px solid #d4dbe3!important;border-radius:8px!important;color:#25292e!important;font-size:14px!important;line-height:1.45!important;min-height:42px;padding:9px 11px!important;box-shadow:none!important}
body#main .jqmWindow.popup:not(.auth_frame) .form_body textarea:not([name=nspm]){height:106px;min-height:88px;resize:vertical}
body#main .jqmWindow.popup:not(.auth_frame) .form_body :is(input,select,textarea):focus-visible{outline:2px solid #d8ba00!important;outline-offset:1px}
body#main .jqmWindow.popup:not(.auth_frame) .form_body .has-error :is(input,textarea,select){border-color:#bd3434!important}
body#main .jqmWindow.popup:not(.auth_frame) .form_footer{padding:5px 27px 23px!important;margin:0!important;border:0!important;background:transparent!important}
body#main .jqmWindow.popup:not(.auth_frame) .form_footer .licence_block{width:100%!important;max-width:100%!important;line-height:1.5!important;font-size:12px;color:#4d5864!important;margin:0!important;padding-bottom:12px!important}
body#main .jqmWindow.popup:not(.auth_frame) .form_footer .licence_block a{color:#394858!important;text-decoration:underline;text-underline-offset:2px}
body#main .jqmWindow.popup:not(.auth_frame) .form_footer__bottom{display:flex!important;flex-wrap:wrap;gap:8px 12px;margin:0!important;align-items:center}
body#main .jqmWindow.popup:not(.auth_frame) .form_footer__bottom>.line-block__item{padding:0!important;margin:0!important}
body#main .jqmWindow.popup:not(.auth_frame) :is(.form_footer button[type=submit],.form_footer input[type=submit],.form_result .close-btn-wrapper .btn,.form_footer .btn-default){box-sizing:border-box;min-height:42px!important;height:auto!important;border:1px solid #ffe100!important;border-radius:8px!important;background:#ffe100!important;color:#171717!important;text-transform:none!important;font-size:14px!important;font-weight:600!important;letter-spacing:0!important;line-height:1.4!important;padding:10px 20px!important;box-shadow:none!important}
body#main .jqmWindow.popup:not(.auth_frame) :is(.form_footer button[type=submit],.form_footer input[type=submit],.form_footer .btn-default):hover{background:#efd200!important;border-color:#efd200!important}
body#main .jqmWindow.popup:not(.auth_frame) :is(.form_footer button[type=submit],.form_footer input[type=submit]):disabled{opacity:.6;cursor:not-allowed}
body#main .jqmWindow.popup:not(.auth_frame) .form_result{padding:15px 27px 25px!important}
body#main .jqmWindow.popup:not(.auth_frame) .form_body.error{color:#ad2828!important}
body#main .jqmWindow.popup:not(.auth_frame) .form_footer .line-block__item:last-child{font-size:12px;color:#59636e}
body#main .popup-window:not(.adm-popup-window){border-radius:12px}
@media(max-width:600px){body#main .jqmWindow.popup:not(.auth_frame){border-radius:13px!important;max-width:calc(100vw - 20px)!important;max-height:calc(100dvh - 20px)!important}body#main .jqmWindow.popup:not(.auth_frame) .form_head{padding:20px 48px 11px 17px!important}body#main .jqmWindow.popup:not(.auth_frame) .form_head h2{font-size:21px!important}body#main .jqmWindow.popup:not(.auth_frame) .form_body{padding:5px 17px 6px!important}body#main .jqmWindow.popup:not(.auth_frame) .form_footer{padding:5px 17px 18px!important}body#main .jqmWindow.popup:not(.auth_frame) .form_body :is(input[type=text],input[type=tel],input[type=email],input[type=password],select,textarea:not([name=nspm])){font-size:16px!important}body#main .jqmWindow.popup:not(.auth_frame) .form_footer__bottom{align-items:stretch;flex-direction:column}body#main .jqmWindow.popup:not(.auth_frame) .form_footer__bottom button[type=submit]{width:100%}}

