.phone-confirm-popup {
    max-width: 380px;
    padding: 30px 20px 25px;
    text-align: center;
}

.phone-confirm-popup__title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.phone-confirm-popup__desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

.phone-confirm-popup__digits {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.phone-confirm-popup__digit {
    width: 50px;
    height: 56px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    border: 2px solid #d0d0d0;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.phone-confirm-popup__digit:focus {
    border-color: #f0c14b;
    box-shadow: 0 0 0 2px rgba(240, 193, 75, 0.25);
}

.phone-confirm-popup__error {
    color: #dd625d;
    font-size: 12px;
    margin-bottom: 10px;
    min-height: 16px;
}

.phone-confirm-popup__timer {
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
}

.phone-confirm-popup__resend {
    margin-top: 5px;
}

.phone-confirm-popup__resend a {
    color: #0066cc;
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
}

.phone-confirm-popup__resend a.disabled {
    color: #999;
    pointer-events: none;
    text-decoration: none;
}

.phone-confirm-popup__loader {
    text-align: center;
    padding: 10px 0;
}

.phone-confirm-popup__loader img {
    width: 24px;
    height: 24px;
}
#popup_login  .popup_auth_additional .btn {
    padding-left:0;
    width:auto;
    float: none;
    clear: both;
}
#popup_login  .auth-phone-step{
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}
#popup_login  .auth-phone-step .label{
    margin-bottom:5px;
}
.popup_auth_additional{
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    margin-top:10px;
    gap: 12px;
}

#popup_login .popup_auth_additional .additional {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
    margin-top: 0;
    clear: both;
}
#popup_login .formItem .form-error{
    position: absolute;
    left: -27px;
    top: 33px;
}

#popup_login .popup_auth_additional .button.auth-submit-disabled {
    background: linear-gradient(180deg, #EFEFEF 23.96%, #DCDCDC 100%);
    color: #747474 !important;
    box-shadow: -1px -1px 2px 0 #00000033 inset;
}

#popup_login .popup_auth_additional .button.auth-submit-disabled:hover {
    background: linear-gradient(180deg, #EFEFEF 23.96%, #DCDCDC 100%);
}
