.bitrix-default-auth-bxmaker-authuserphone__wrap {
    max-width: 100%;
    margin: 0;
}
.bitrix-default-auth-bxmaker-authuserphone .bxmaker-authuserphone-simple {
    box-shadow: none;
    border: unset;
    border-radius: unset;
    width: 100%;
    max-width: none;
}

.bxmaker-authuserphone-simple {
    font-size: 16px;
    display: inline-block;
    padding: 0;
    -webkit-box-shadow: unset;
    box-shadow: unset;
    border-radius: unset;
    width: 100%;
    color: unset;
    background-color: unset;
}

.bxmaker-authuserphone-button__inner{
    background: #E23737;
    color: #FFFFFF;
}

.bxmaker-authuserphone-button:hover .bxmaker-authuserphone-button__inner {
    background-color: #e54d4d
}

.bxmaker-authuserphone-header {
    text-align: center;
    font-size: 28px;
    font-family: JetBrainsMono-Bold, sans-serif;
    color: #353433;
}

.privacy_policy_agree{
    margin-top: 10px;
    font-size: 14px!important;
    color: #AAA6A1!important;
    line-height: 1.2;
}
.privacy_policy_agree a {
    font-size: 14px !important;
}

.privacy_policy_content{
    height: calc(100vh - 230px);
}
.popup-window.ui-message-box:has(.privacy_policy_content) {
    width: calc(100vw - 40px)!important;
    max-width:800px!important;
}

.bxmaker-authuserphone-simple:has(div[style=""]) + .privacy_policy_agree{
    display:none
}

.bxmaker-authuserphone-simple a {
    color: #E23737;
    opacity: .7;
}

.bxmaker-authuserphone-simple a:hover {
    color: #E23737;
    opacity: 1;
}

.bxmaker-authuserphone-input__field {
    background-color: transparent;
    border: none;
    border-radius: 0;
}
.bxmaker-authuserphone-input {
    flex-direction: row;
    align-items: center;
    gap: 5px;
    border: 2px solid #d9dcde;
    border-radius: 6px;
    padding: 0 0 0 10px;
    position: relative;
}
.bxmaker-authuserphone-input-with-flag-block {
    position: relative;
}
.bxmaker-authuserphone-input-with-flag-popup {
    /* background: white; */
    /* border-radius: 16px; */
    /* padding: 20px; */
    /* box-shadow: 0 0 5px grey; */
    display: none;
}
.bxmaker-authuserphone-countries-popup {
    border-radius: 6px;
}
.bxmaker-authuserphone-input-with-flag-popup span {
    cursor: pointer;
    display: inline-block;
}
.bxmaker-authuserphone-input:not(.bxmaker-authuserphone-input--hover) input::placeholder{
    color: transparent;
}
.bxmaker-authuserphone-input__validation {
    position: absolute;
    top: 100%;
    left: 0;
}
.bxmaker-authuserphone-input--invalid {
    border-color: #f9004c;
    margin-bottom: 40px !important;
}
.bxmaker-authuserphone-captcha__input .bxmaker-authuserphone-input-with-flag-block {
    display: none !important;
}

.bxmaker-authuserphone-simple-code-methods {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}
.bxmaker-authuserphone-simple-code-method {
    border-radius: 16px;
    background-color: white;
    border: 1px solid #E23737;
    padding: 5px 16px;
    color: #E23737;
    cursor: pointer;
    transition: all .3s;
    font-size: 14px;
}
.bxmaker-authuserphone-simple-code-methods-title {
    font-size: 14px;
    font-family: 'Inter-Regular';
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: start;
}
.bxmaker-authuserphone-simple-code-methods.error .bxmaker-authuserphone-simple-code-methods-title::before {
    content: '';
    width: 9px;
    height: 9px;
    background-color: #E23737;
    border-radius: 50%;
    margin-right: 5px;
    display: inline-block;
}
.bxmaker-authuserphone-simple-code-method:not(.code-method-disable):hover,
.bxmaker-authuserphone-simple-code-method.selected{
    background-color: #E23737;
    color: white;
}
.bxmaker-authuserphone-simple-code-method.code-method-disable {
    opacity: 0.3;
    cursor: default;
}