.registerPopup:has(> .registerPopup__scroll) {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow: hidden;
    min-height: 0;
}

.registerPopup__scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.registerPopupForm .error_summary{
    color: red;
    font-size: 14px;
    margin-top: 10px;
}
.js-auth-send-code{
    cursor: pointer;
}

.js-auth-form-email,
.js-auth-box-email-send,
.js-auth-form-show-email{
    display: none;
}
.js-auth-form-show-email a,
.js-auth-form-show-phone a{
    color: #000;
    text-align: right;
    display: block;
    text-decoration: underline;
}
.js-auth-form-show-email a:hover,
.js-auth-form-show-phone a:hover{
    text-decoration: none;
}

/* Стили для блока предупреждения */
.warning-block {
    border: 1px solid #000;
    padding: 30px 20px;
    margin-top: 20px;
    background: #fff;
}

.warning-block__title {
    margin-bottom: 5px;
    font-size: 14px;
}

.warning-block__text {
    font-size: 14px;
    line-height: 1.4;
}
.registerPopupForm .js-auth-box-phone{
    width: 100%;
    max-width: 100%;
}