/* ============================================================
   CALLBACK PRO — стили под фирменный стиль isegrim.com.ua
   Цвета: #a0a400 (основной), #3f3f3f (текст), #fff (фон)
   Шрифты: Rubik, Ubuntu
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600&family=Ubuntu:wght@300;400;500&display=swap');

/* ───── ОСНОВНОЙ ПОПАП ───── */
#popup-callback {
    font-family: 'Rubik', 'Ubuntu', sans-serif;
    background: #fff;
    margin: 0 auto;
    min-height: 100px;
    position: relative;
    width: 90%;
}

#popup-callback .img-phone-contact {
    max-width: 100%;
}

#popup-callback.wcb-4 { max-width: 440px; }
#popup-callback.wcb-5 { max-width: 540px; }
#popup-callback.popup-sm-750 { max-width: 750px; }
#popup-callback.popup-sm-550 { max-width: 550px; }
#popup-callback.popup-sm-450 { max-width: 450px; }

#popup-callback .circular {
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(160,164,0,0.25);
    display: block;
    height: 100px;
    width: 100px;
    margin: 1em auto;
    padding: 4px;
    background: #fff;
    border: 3px solid #a0a400;
}

/* ───── ЗАГОЛОВОК ───── */
#popup-callback .popup-heading {
    background: linear-gradient(135deg, #a0a400 0%, #c8ce00 100%);
    color: #fff;
    font-family: 'Rubik', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    padding: 22px 28px;
    position: relative;
    text-align: left;
    vertical-align: baseline;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 12px;
}

#popup-callback .popup-heading::before {
    content: '';
    position: absolute;
    right: -20px;
    top: -20px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    pointer-events: none;
}

#popup-callback .popup-heading i {
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* ───── ЦЕНТРАЛЬНАЯ ЧАСТЬ ───── */
#popup-callback .popup-center {
    display: block;
    overflow: hidden;
    padding: 0 0 10px;
    position: relative;
    width: 100%;
}

#popup-callback .popup-center form {
    padding: 16px 28px 0;
}

#popup-callback .popup-center .anytext-callback {
    font-size: 0.83rem;
    color: #999;
    text-align: center;
    padding: 0 28px;
    line-height: 1.5;
}

/* ───── ПОДВАЛ ───── */
#popup-callback .popup-footer {
    background: #f7f7f7;
    border-top: 1px solid #efefef;
    display: inline-block;
    height: 100%;
    padding: 18px 28px;
    position: relative;
    vertical-align: bottom;
    width: 100%;
}

/* ───── ПОЛЯ ФОРМЫ ───── */
#popup-callback .form-control {
    font-family: 'Rubik', sans-serif;
    font-size: 0.92rem;
    font-weight: 300;
    color: #3f3f3f;
    background: #fff;
    border: 1.5px solid #e4e4e4;
    border-radius: 2px;
    height: 50px;
    padding: 0 14px;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
}

#popup-callback .form-control:focus {
    border-color: #a0a400;
    background: #fefffe;
    box-shadow: none;
    outline: none;
}

#popup-callback .form-control::placeholder {
    color: #bbb;
    font-weight: 300;
}

#popup-callback .form-control.time_callback {
    width: 50%;
}

/* Input group */
#popup-callback .input-group {
    display: flex;
    align-items: stretch;
}

#popup-callback .input-group .form-control {
    border-right: none;
    border-radius: 2px 0 0 2px;
    flex: 1;
}

#popup-callback .input-group-addon {
    width: 50px;
    height: 50px;
    background: #f5f5f5;
    border: 1.5px solid #e4e4e4;
    border-left: none;
    border-radius: 0 2px 2px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
}

#popup-callback .input-group .form-control:focus + .input-group-addon {
    border-color: #a0a400;
    background: #f5f7e0;
}

/* Иконки — обязательное красное, необязательное зелёное */
#popup-callback .sections_block_rquaired .fa {
    color: #fc5c3c !important;
}
#popup-callback .sections_block .fa {
    color: #a0a400 !important;
}

/* Обязательные поля — левый акцент */
#popup-callback .sections_block_rquaired .form-control {
    border-left: 3px solid #a0a400;
}

#popup-callback .sections_block,
.sections_block_rquaired {
    overflow: hidden;
    position: relative;
}

/* ───── SELECT ───── */
#popup-callback select.form-control {
    border-right: 1.5px solid #e4e4e4;
    border-radius: 2px;
    cursor: pointer;
    padding-right: 44px;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23a0a400' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

#popup-callback select.form-control:focus {
    border-color: #a0a400;
}

/* ───── ОШИБКИ ───── */
#popup-callback .error_callback {
    padding: 3px 2px 0;
    color: #fc5c3c;
    font-size: 0.78rem;
}

#popup-callback .error_input {
    border: 1.5px solid #fc5c3c !important;
    box-shadow: none !important;
}

#popup-callback .form-control.error_input::placeholder {
    color: #fc5c3c !important;
    opacity: 0.8;
}

/* ───── КНОПКА ОТПРАВКИ ───── */
#popup-callback .btn-callback {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 100%;
    height: 54px;
    background: #a0a400;
    border: none;
    border-bottom: 3px solid #7a7d00;
    border-radius: 2px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Rubik', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-align: center;
    text-transform: uppercase;
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    margin-bottom: 0;
    transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
}

#popup-callback .btn-callback:hover {
    background: #b9be00;
    box-shadow: 0 6px 18px rgba(160,164,0,0.3);
    transform: translateY(-1px);
    color: #fff;
}

#popup-callback .btn-callback:active {
    transform: translateY(1px);
    box-shadow: none;
    background: #929600;
}

#popup-callback .btn-callback:focus {
    background: #b9be00;
    color: #fff;
    outline: none;
}

#popup-callback .btn-callback.disabled,
#popup-callback .btn-callback[disabled],
fieldset[disabled] #popup-callback .btn-callback {
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.55;
}

/* Ladda spinner */
#popup-callback .btn-callback span.spinner .fa.fa-spinner { display: none; }
#popup-callback .btn-callback i.fa { display: inline-block; }
#popup-callback .btn-callback.active span.spinner .fa.fa-spinner { display: inline-block; }
#popup-callback .btn-callback.active i.fa { display: none; }

/* ───── LADDA ───── */
.ladda-button { position: relative; }

.ladda-button .ladda-spinner {
    position: absolute;
    z-index: 2;
    display: inline-block;
    width: 32px;
    height: 32px;
    top: 50%;
    margin-top: -16px;
    opacity: 0;
    pointer-events: none;
}

.ladda-button .ladda-label {
    position: relative;
    z-index: 3;
}

.ladda-button .ladda-progress {
    position: absolute;
    width: 0;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(0,0,0,0.15);
    visibility: hidden;
    opacity: 0;
    transition: 0.1s linear all !important;
}

.ladda-button[data-loading] .ladda-progress {
    opacity: 1;
    visibility: visible;
}

.ladda-button,
.ladda-button .ladda-spinner,
.ladda-button .ladda-label {
    transition: 0.3s cubic-bezier(0.175,0.885,0.32,1.275) all !important;
}

.ladda-button[data-style=expand-left] .ladda-spinner { left: 14px; }
.ladda-button[data-style=expand-left][data-size="s"] .ladda-spinner,
.ladda-button[data-style=expand-left][data-size="xs"] .ladda-spinner { left: 4px; }
.ladda-button[data-style=expand-left][data-loading] { padding-left: 56px !important; }
.ladda-button[data-style=expand-left][data-loading] .ladda-spinner { opacity: 1; }
.ladda-button[data-style=expand-left][data-loading][data-size="s"],
.ladda-button[data-style=expand-left][data-loading][data-size="xs"] { padding-left: 40px; }

.ladda-button[data-style=slide-left] { overflow: hidden; }
.ladda-button[data-style=slide-left] .ladda-label { position: relative; }
.ladda-button[data-style=slide-left] .ladda-spinner { left: 100%; margin-left: -16px; }
.ladda-button[data-style=slide-left][data-loading] .ladda-label { opacity: 0; left: -100%; }
.ladda-button[data-style=slide-left][data-loading] .ladda-spinner { opacity: 1; left: 50%; }

/* ───── УВЕДОМЛЕНИЕ УСПЕХА ───── */
#popup-success-callback {
    font-family: 'Rubik', sans-serif;
    background: linear-gradient(135deg, #a0a400, #c8ce00);
    color: #fff;
    border: none;
    border-radius: 2px;
    line-height: 1.5;
    margin: 0 auto;
    max-width: 480px;
    min-height: 50px;
    padding: 18px 24px;
    position: relative;
    width: 90%;
    font-size: 1rem;
    text-align: center;
    box-shadow: 0 6px 20px rgba(160,164,0,0.35);
}

/* ───── БЛОК КОНТАКТОВ ───── */
#callbackpro_contacts {
    background: #fafafa;
    border-bottom: 1px solid #efefef;
    border-left: 4px solid #a0a400;
    font-family: 'Rubik', sans-serif;
    font-size: 0.88rem;
    left: 0;
    top: -100%;
    position: absolute;
    transition: top 0.35s cubic-bezier(0.4,0,0.2,1);
    width: 100%;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.callbackpro_contacts_open {
    top: 0 !important;
}

.contacts-content {
    position: relative;
    padding: 14px 20px;
    overflow: hidden;
}

/* ───── КНОПКА КОНТАКТИ ───── */
.contact-open {
    position: absolute;
    bottom: -28px;
    right: 20px;
    cursor: pointer;
    padding: 0;
}

.contact-open a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px 9px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 4px 4px;
    color: #3f3f3f;
    font-family: 'Rubik', sans-serif;
    font-size: 0.83rem;
    font-weight: 400;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.contact-open a i {
    color: #a0a400;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.contact-open a:hover {
    background: #a0a400;
    border-color: #a0a400;
    color: #fff;
}

.contact-open a:hover i {
    color: #fff;
}

/* Убираем псевдоэлементы оригинала */
.contact-open::before,
.contact-open::after { display: none; }
.contact-open a::before,
.contact-open a::after { display: none; }

/* ───── ТЕКСТЫ В КОНТАКТАХ ───── */
#popup-callback .telephone div a {
    font-family: 'Rubik', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: #3f3f3f;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

#popup-callback .telephone div a:hover { color: #a0a400; }

#popup-callback .email div,
#popup-callback .skype a {
    font-family: 'Rubik', sans-serif;
    font-size: 0.85rem;
    color: #6c6c6c;
    text-decoration: none;
}

#popup-callback .schedule .title-schedule {
    font-family: 'Rubik', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #3f3f3f;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 3px;
}

#popup-callback .schedule .config_daily,
#popup-callback .schedule .config_weekend {
    font-size: 0.83rem;
    color: #888;
    line-height: 1.6;
}

#popup-callback .title-social {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#popup-callback .social .social-icon {
    display: inline-block;
}

#popup-callback .social .social-icon a img {
    width: 26px;
    height: 26px;
    border-radius: 4px;
    opacity: 0.75;
    transition: opacity 0.2s, transform 0.2s;
}

#popup-callback .social .social-icon a:hover img {
    opacity: 1;
    transform: translateY(-2px);
}

#popup-callback .marb { margin-bottom: 10px; }

.mfp-close {
    right: 0px;
    top: 0px;
    color: #fff !important;
    opacity: 0.85 !important;
}

/* Переопределяем стандартный Bootstrap alert под наш стиль */
#popup-callback ~ .alert,
.mfp-content .alert {
    background: #fff3f0;
    border: 1.5px solid #fc5c3c;
    border-left: 4px solid #fc5c3c;
    border-radius: 2px;
    color: #3f3f3f;
    font-family: 'Rubik', sans-serif;
    font-size: 0.85rem;
    padding: 10px 14px;
    margin-top: 8px;
}

.mfp-content .alert .close,
#popup-callback ~ .alert .close {
    color: #fc5c3c;
    opacity: 0.7;
    font-size: 1.1rem;
}

#popup-callback .mfp-close:hover {
    color: #fff;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    #popup-callback .mfp-close {
        right: -10px;
        top: -44px;
    }
}

/* ───── ФИКСИРОВАННАЯ КНОПКА ВИДЖЕТА (#callback) ───── */
#callback {
    background: #a0a400;
    border: none;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 16px rgba(160,164,0,0.35);
    cursor: pointer;
    height: 150px;
    margin-right: -58px;
    margin-top: -75px;
    position: fixed;
    right: 0;
    top: 50%;
    width: 90px;
    z-index: 1000;
    transition: margin-right 0.25s ease, box-shadow 0.25s;
}

#callback:hover {
    margin-right: -48px;
    box-shadow: 0 6px 24px rgba(160,164,0,0.5);
}

/* ───── АНИМИРОВАННАЯ КНОПКА 1 (tcb_call_1) ───── */
#tcb_call_1 {
    background: transparent;
    border: none;
    border-radius: 50%;
    bottom: 10%;
    display: block;
    height: 80px;
    opacity: 0.85;
    position: fixed;
    right: 38px;
    width: 80px;
    z-index: 1000;
    box-shadow: none;
    box-sizing: content-box;
    margin: 0;
    padding: 0;
    transform-origin: 50% 50%;
    cursor: pointer;
    transition: opacity 0.2s;
}

#tcb_call_1:hover { opacity: 1; }

#tcb_call_1 .tcb_phone_1 {
    background: #a0a400;
    border-radius: 50%;
    height: 50px;
    left: 16px;
    position: absolute;
    top: 14px;
    width: 50px;
    transition: background 0.2s;
}

#tcb_call_1 .tcb_phone_img_1 {
    background: url("../image/callback_pro.png") no-repeat center center / 30px auto;
    border-radius: 50%;
    max-height: 50px;
    max-width: 50px;
    width: 100%;
    height: 100%;
    position: absolute;
    -webkit-animation: shake 1.5s 0s both infinite;
    animation: shake 1.5s 0s both infinite;
}

#tcb_call_1 .tcb_layout_1 {
    bottom: 0;
    width: 100%;
    height: 100%;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    border-color: #a0a400 transparent;
    border-radius: 50%;
    border-style: solid;
    border-width: 2px;
    animation: spin 900ms infinite linear;
}

#tcb_call_1 .tcb_layout_2 {
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    border-color: #a0a400;
    border-radius: 50%;
    border-style: solid;
    border-width: 2px;
    position: absolute;
    opacity: 0.2;
}

#tcb_call_1:hover .tcb_phone_1 { background: #b9be00; }
#tcb_call_1:hover .tcb_layout_1 {
    border-color: #b9be00 transparent;
    animation-duration: 500ms;
}
#tcb_call_1:hover .tcb_layout_2 { border-color: #b9be00; }

@media (max-width: 768px) {
    #tcb_call_1 { height: 55px; width: 55px; }
    #tcb_call_1 .tcb_phone_1 { height: 36px; left: 10px; top: 9px; width: 36px; }
    #tcb_call_1 .tcb_phone_img_1 { background-size: 24px auto; max-height: 35px; max-width: 35px; }
}

/* ───── АНИМИРОВАННАЯ КНОПКА 2 (tcb-call) ───── */
#tcb-call {
    background: transparent;
    border: none;
    border-radius: 50%;
    bottom: 10%;
    display: block;
    height: 80px;
    opacity: 0.85;
    position: fixed;
    right: 38px;
    width: 80px;
    z-index: 1000;
    box-shadow: none;
    box-sizing: content-box;
    margin: 0;
    padding: 0;
    transform-origin: 50% 50%;
    cursor: pointer;
    transition: opacity 0.2s;
}

#tcb-call:hover { opacity: 1; }

#tcb-call .tcb-layout1 {
    border-color: #a0a400 transparent transparent;
    border-radius: 50%;
    border-style: solid;
    border-width: 2px;
    display: block;
    height: 100px;
    width: 100px;
    position: absolute;
    animation: spin 1.5s infinite linear;
}

#tcb-call .tcb-layout2 {
    border-color: #a0a400 transparent transparent;
    border-radius: 50%;
    border-style: solid;
    border-width: 2px;
    display: block;
    height: 85px;
    width: 85px;
    left: 7.5px;
    position: absolute;
    top: 7.5px;
    animation: spin 2s infinite linear;
}

#tcb-call .tcb-layout3 {
    border-color: #a0a400 transparent transparent;
    border-radius: 50%;
    border-style: solid;
    border-width: 2px;
    display: block;
    height: 70px;
    width: 70px;
    position: absolute;
    left: 15px;
    top: 15px;
    animation: spin 1s infinite linear;
}

#tcb-call .tcb-phone {
    background: #a0a400;
    border-radius: 50%;
    height: 50px;
    left: 26px;
    position: absolute;
    top: 26px;
    width: 50px;
    transition: background 0.2s;
}

#tcb-call .tcb-phone-img {
    background: url("../image/callback_pro.png") no-repeat center center / 30px auto;
    border-radius: 50%;
    max-height: 50px;
    max-width: 50px;
    width: 100%;
    height: 100%;
    position: absolute;
    -webkit-animation: shake 1.5s 0s both infinite;
    animation: shake 1.5s 0s both infinite;
}

#tcb-call:hover .tcb-phone { background: #b9be00; }
#tcb-call:hover .tcb-layout1 { border-color: #b9be00 transparent transparent; }
#tcb-call:hover .tcb-layout2 { border-color: #b9be00 transparent transparent; }
#tcb-call:hover .tcb-layout3 { border-color: #b9be00 transparent transparent; }

@media (max-width: 768px) {
    #tcb-call { height: 50px; width: 50px; }
    #tcb-call .tcb-layout1 { height: 60px; width: 60px; }
    #tcb-call .tcb-layout2 { height: 50px; left: 5px; top: 5px; width: 50px; }
    #tcb-call .tcb-layout3 { height: 40px; left: 10px; top: 10px; width: 40px; }
    #tcb-call .tcb-phone { height: 32px; left: 14px; top: 14px; width: 32px; }
    #tcb-call .tcb-phone-img { background-size: 24px auto; max-height: 35px; max-width: 35px; }
}

/* ───── АНИМИРОВАННАЯ КНОПКА 3 (animate_btn_3) ───── */
#animate_btn_3 {
    width: 79px;
    height: 79px;
    position: fixed;
    bottom: 10%;
    right: 33px;
    z-index: 999;
    cursor: pointer;
    transform-origin: center center;
    opacity: 0.85;
    transition: opacity 0.2s;
}

#animate_btn_3:hover { opacity: 1; }

#animate_btn_3 .ab3-back-circle {
    background-color: #a0a400;
    width: 60px;
    height: 60px;
    opacity: 0.15;
    margin: auto;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    animation: enlarge 1s infinite linear alternate both;
}

#animate_btn_3 .ab3-circle {
    background-color: #a0a400;
    width: 50px;
    height: 50px;
    margin: auto;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    opacity: 0.6;
    animation: shake_new 2s 1s infinite linear both;
}

#animate_btn_3 .ab3-circle .ab3-handset {
    width: 36px;
    height: 44px;
    margin: auto;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("../image/callback_pro.png") no-repeat center center / 26px auto;
}

#animate_btn_3 .ab3-track {
    border: 2px solid #a0a400;
    width: 77px;
    height: 77px;
    opacity: 0.12;
    margin: auto;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
}

#animate_btn_3:hover .ab3-circle,
#animate_btn_3:hover .ab3-back-circle {
    animation-play-state: paused;
}
#animate_btn_3:hover .ab3-circle { opacity: 0.9; }

/* ───── АНИМИРОВАННАЯ КНОПКА 4 (animate_btn_4) ───── */
#animate_btn_4 {
    width: 110px;
    height: 110px;
    position: fixed;
    bottom: 10%;
    right: 15px;
    z-index: 999;
    cursor: pointer;
    transform-origin: center center;
}

.animate_btn_4 .ab4-circlephone {
    border: 2px solid #a0a400;
    width: 110px; height: 110px;
    bottom: 0; right: 0; top: 0; left: 0;
    margin: auto;
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    animation: circle-anim 2.4s infinite ease-in-out;
    transition: all 0.5s;
}

.animate_btn_4 .ab4-circle-fill {
    background-color: #a0a400;
    margin: auto;
    width: 80px; height: 80px;
    bottom: 0; right: 0; top: 0; left: 0;
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
    animation: circle-fill-anim 2.3s infinite ease-in-out;
    transition: all 0.5s;
}

.animate_btn_4 .ab4-img-circle {
    background-color: #a0a400;
    width: 52px; height: 52px;
    bottom: 0; right: 0; left: 0; top: 0;
    margin: auto;
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
    opacity: 0.75;
}
.error_agree .alert {
    background: #fff8f0;
    border: 1.5px solid #fc5c3c;
    border-left: 4px solid #fc5c3c;
    border-radius: 2px;
    color: #3f3f3f;
    font-family: 'Rubik', sans-serif;
    font-size: 0.85rem;
    padding: 10px 14px;
    margin-top: 8px;
}

.error_agree .alert .close {
    float: right;
    font-size: 0;
    opacity: 1;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    width: 18px;
    height: 18px;
    margin-left: 8px;
    flex-shrink: 0;
}



.error_agree .alert .close::before,
.error_agree .alert .close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 1.5px;
    background: #fc5c3c;
    border-radius: 1px;
}

.error_agree .alert .close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.error_agree .alert .close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.animate_btn_4 .ab4-img-circle:hover { opacity: 1; }

.animate_btn_4 .ab4-img-circleblock {
    box-sizing: content-box;
    width: 52px; height: 52px;
    animation: tossing 1.5s infinite;
    background: transparent url("../image/callback_pro.png") no-repeat center center / 28px auto;
    position: absolute;
}

/* ───── KEYFRAMES ───── */
@-webkit-keyframes shake {
    0%   { -webkit-transform: scale3d(1,1,1); }
    10%, 20% { -webkit-transform: scale3d(0.9,0.9,0.9) rotate3d(0,0,1,-10deg); }
    30%, 50%, 70%, 90% { -webkit-transform: scale3d(1,1,1) rotate3d(0,0,1,10deg); }
    40%, 60%, 80% { -webkit-transform: scale3d(1,1,1) rotate3d(0,0,1,-10deg); }
    100% { -webkit-transform: scale3d(1,1,1); }
}
@keyframes shake {
    0%   { transform: scale3d(1,1,1); }
    10%, 20% { transform: scale3d(0.9,0.9,0.9) rotate3d(0,0,1,-10deg); }
    30%, 50%, 70%, 90% { transform: scale3d(1,1,1) rotate3d(0,0,1,10deg); }
    40%, 60%, 80% { transform: scale3d(1,1,1) rotate3d(0,0,1,-10deg); }
    100% { transform: scale3d(1,1,1); }
}

@-webkit-keyframes spin {
    0%   { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes tossing {
    0%   { transform: rotate(-8deg); }
    50%  { transform: rotate(8deg); }
    100% { transform: rotate(-8deg); }
}

@keyframes pulse {
    0%   { transform: scale(0.9); opacity: 1; }
    50%  { transform: scale(1);   opacity: 1; }
    100% { transform: scale(0.9); opacity: 1; }
}

@keyframes enlarge {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.05); }
    100% { transform: scale(1.1); }
}

@keyframes circle-anim {
    0%   { transform: rotate(0deg) scale(0.5) skew(1deg); opacity: 0.1; }
    30%  { transform: rotate(0deg) scale(0.7) skew(1deg); opacity: 0.5; }
    100% { transform: rotate(0deg) scale(1)   skew(1deg); opacity: 0.1; }
}

@keyframes circle-fill-anim {
    0%   { transform: rotate(0deg) scale(0.7) skew(1deg); opacity: 0.2; }
    50%  { transform: rotate(0deg) scale(1)   skew(1deg); opacity: 0.2; }
    100% { transform: rotate(0deg) scale(0.7) skew(1deg); opacity: 0.2; }
}

@keyframes shake_new {
    0%,100% { transform: scale(1); }
    2%,4%,6%,8%,10%,12%,14%,16%,18%,20%,22%,24%,26%,28%,30%,32%,34%,36%,38%,40%,42%,44%,46%,48% { transform: scale(1.05); }
    1%,3%,5%,7%,9%,11%,13%,15%,17%,19%,21%,23%,25%,27%,29%,31%,33%,35%,37%,39%,41%,43%,45%,47%,49%,50% { transform: scale(1); }
}