/* ====== ТОЛЬКО ПОПАП CALLBACK ====== */

#cb-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    display: none;
    z-index: 999999;
}

/* ВАЖНО: box-sizing ТОЛЬКО внутри попапа */
#cb-overlay *,
#cb-overlay *::before,
#cb-overlay *::after {
    box-sizing: border-box;
}

#cb-popup {
    width: 100%;
    max-width: 420px;
    background: #fff;
    margin: 10vh auto;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,.3);
    position: relative;
    font-family: Arial, sans-serif;
}

#cb-close {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 22px;
    cursor: pointer;
    color: #999;
}

#cb-close:hover {
    color: #000;
}

#cb-popup h2 {
    margin: 0 0 15px;
    font-size: 20px;
}

#cb-popup input,
#cb-popup textarea {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
}

#cb-popup textarea {
    resize: vertical;
    min-height: 80px;
}

#cb-popup button {
    width: 100%;
    padding: 12px;
    background: #0077ff;
    border: none;
    color: #fff;
    font-size: 15px;
    border-radius: 6px;
    cursor: pointer;
}

#cb-popup button:hover {
    background: #005edc;
}

#cb-errors {
    margin-bottom: 10px;
    color: #d00000;
    font-size: 13px;
}

/* reCAPTCHA не ломает верстку */
#cb-popup .g-recaptcha {
    margin-bottom: 12px;
}




#cb-popup h3{
text-align: center;
    font-size: 24px;
    padding-bottom: 20px;
}
.cb-error {
    font-size: 13px;
    padding-bottom: 5px;
}
div#cb-errors-global {
    font-size: 13px;
    padding: 10px 0;
}
#cb-popup button {
    background: red;
    font-size: 17px;
}
#cb-close {
    font-size: 28px;
    color: #000;
}
div#cb-recaptcha{
    overflow: hidden;
    margin: 0 0 10px 0;
}