/* popup.css — стили попапов для arbax5-страниц */

.popup__wrap {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    justify-content: center;
    align-items: center;
    pointer-events: all;
    background-color: rgba(0, 0, 0, .6);
    z-index: 999999;
    overflow-y: auto;
    padding: 30px 16px;
    min-height: 100vh;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}

.popup__wrap.popup-wrap_top {
    align-items: flex-start;
}

.popup {
    padding: 40px 20px;
    animation-duration: .3s;
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 2px 8px 23px 3px rgba(0, 0, 0, .2);
    margin: 0;
    box-sizing: border-box;
    max-width: 950px;
    width: 100%;
}

.popup__close {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 1;
}

.popup__callback {
    max-width: 600px;
    padding: 30px 20px 20px;
    border-radius: 5px;
    background-color: #fff;
    position: relative;
}

.popup__callback-title {
    font-size: 24px;
    line-height: 24px;
    color: rgb(51, 51, 51);
    text-align: center;
    margin-bottom: 20px;
}

.popup__callback-text {
    font-size: 15px;
    line-height: 28px;
    color: rgb(51, 51, 51);
    margin-bottom: 15px;
}

.popup__callback-consent {
    font-size: 14px;
    line-height: 28px;
    color: rgb(51, 51, 51);
    margin-bottom: 15px;
}

.popup__callback-consent a {
    color: #4e4e4e;
}

.popup__callback-input {
    border-width: 2px;
    border-color: #ddd;
    background: #fff;
    box-shadow: none;
    border-radius: 0;
    font-size: 18px;
    min-height: 59px;
    padding: 7px 20px;
    width: 100%;
    max-width: 100%;
    border: 1px solid #818a91;
    color: #373a3c;
    vertical-align: middle;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.popup__callback-submit {
    background-color: #017DC7;
    min-height: 47px;
    border-radius: 84px;
    padding-top: 10px;
    padding-right: 30px;
    padding-bottom: 15px;
    padding-left: 30px;
    color: #fff;
    border: 0;
    font-size: 25px;
    margin: 0 auto;
    display: block;
    cursor: pointer;
}

.full-viewport.ld-over {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255,255,255,.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999999;
}

.ld.ld-ball.ld-flip-v {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #017DC7;
    animation: ld-flip-v 1s infinite ease-in-out;
}

@keyframes ld-flip-v {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(-1); }
}
