.modal-message{
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    top: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.3);

}

.message-box{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    position: absolute;
    width: 500px;
    background: #FFFFFF;
    border-radius: 24px;
    align-content: center;
    justify-content: center;
    padding: 36px 40px 36px 40px;
}

.text-auth-enter.text-frame{
    color: red;
    width: 400px;
    text-align: center;
}

.auth-button-frame{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0px;
    gap: 20px;
    height: 160px;
    flex: none;
    order: 1;
    flex-grow: 0;
    z-index: 1;

}

.telegram-login{
    display: flex;
    box-sizing: border-box;
    width: 320px;
    height: 60px;
    background: #54a9eb;
    border: 1px solid #54a9eb;
    border-radius: 14px;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
    justify-content: center;
    align-items: center;
}


.auth-text-button-frame{
/* Вход на платформу осуществляется через Telegram */

    width: 320px;
    height: 40px;

    font-family: 'Mulish', serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    /* or 20px */
    text-align: center;

    color: #767676;


    /* Inside auto layout */
    flex: none;
    order: 2;
    align-self: stretch;
    flex-grow: 0;

}
.message-box-auth-enter-frame{
    /* Frame 435 */
/* Auto layout */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px;
    gap: 30px;
    /* Inside auto layout */
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
    z-index: 0;

}

.message-box-auth-logo{
    /* StudyForge */

    width: 156px;
    height: 16px;

    background-image: url("/static/img/auth/StudyForgeLogo.svg");
    background-size: contain;

    /* Inside auto layout */
    flex: none;
    order: 0;
    flex-grow: 0;

}

.message-box-auth-enter-text-frame{
    /* Frame 146 */

    /* Auto layout */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px;
    gap: 20px;

    width: 320px;
    height: 16px;


    /* Inside auto layout */
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;

}

.auth-text-container{
    /* Frame 146 */

    /* Auto layout */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px;
    gap: 20px;

    /*width: 320px;*/
    height: 16px;


    /* Inside auto layout */
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;

}

.message-box.auth{
    width: 400px;
    position: relative;
}

.line1-auth-enter{
    /* Line 12 */

    width: 120px;
    height: 0px;

    /* Gray */
    border: 1px solid #DBDBDB;
    transform: rotate(-180deg);

    /* Inside auto layout */
    flex: none;
    order: 0;
    flex-grow: 1;

}

.line2-auth-enter{
/* Line 11 */

    width: 120px;
    height: 0px;

    /* Gray */
    border: 1px solid #DBDBDB;
    transform: rotate(-180deg);

    /* Inside auto layout */
    flex: none;
    order: 2;
    flex-grow: 1;

}

.text-auth-enter{
/* Вход */

    width: 40px;
    height: 16px;

    font-family: 'Mulish', serif;
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    /* identical to box height, or 16px */

    /* Black */
    color: #0D0D0E;


    /* Inside auto layout */
    flex: none;
    order: 1;
    flex-grow: 0;

}

#close-auth{
    position: absolute;
    width: 18px;
    height: 18px;
    right: 15px;
    top: 15px;
    background-image: url("/static/img/auth/authClose.svg");
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 10;
    cursor: pointer;
}