.user-auth {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    flex-direction: column;
}

.user-auth-container {
    background: white;
    padding: 20px;
    border-radius: 4px;
    width: 304px;
}

.user-auth[com="phone"] .user-auth-container-title:before {
    content: "Введите ваш телефон";
}

.user-auth[com="sms"] .user-auth-container-title:before {
    content: "Введите код из СМС";
}

.user-auth[wait]:after {
    content: attr(wait);
    font-size: 20px;
    margin-top: 10px;
    width: 55px;
}

.g-recaptcha.err {
    background: var(--background-color);
    border: 1px solid var(--background-color);
    border-radius: 4px;
    border-color: red;
}

.user-auth[com="phone"] .user-auth-container-but:before {
    content: "Получить код";
}

.user-auth[com="sms"] .user-auth-container-but:before {
    content: "Проверить код";
}

.user-auth[wait] .user-auth-container-but {
    background: var(--light-gray-color);
    cursor: wait;
    color: var(--dark-gray-color);
}

@media (max-width: 600px) {
    .user-auth-container {
        position: absolute;
        top: 4vh;
        z-index: 1;
    }

    .login-emblem {
        position: absolute;
        top: 30vh;
        content: "";
        background: url(/public/img/login_emblem.svg) no-repeat center;
        background-size: contain;
        display: block;
        width: 80%;
        height: 50%;
        user-select: none;
    }
}
