html, body{
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    /* Настраиваем шрифт для всего приложения */
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    color: #e7e7e7;
    /* Отключает выделение текста*/
    -moz-user-select: -moz-none;
    -o-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    overflow: hidden;
}
body{
    /* Фон */
    /* background-image: url('/static/img/background.jpg'); */
    background: url('/static/img/background_5.webp') center;
    background-size: cover;
    min-height: 100vh;
    backdrop-filter: grayscale(0%) blur(1px);
}

/* Убедитесь, что контент поверх видео */
main {
    position: relative;
    z-index: 1; /* Контент поверх видео */
}

main{
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: var(--theme-color-3); */
    background-color: rgba(28, 33, 39, 0.7);
    height: 100%;
    width: 100%;
}
.window{
    /* background-color: var(--theme-color-1); */
    background-color: rgba(28, 33, 39, 0.7);
    opacity: 1;
    height: 600px;
    min-width: 550px;
    width: 550px;
    /* border-radius: 30px; */
    /* box-shadow: 0px 0px 10px 3px var(--theme-color-1); */
}
/* Логотип*/
.logo{
    font-weight: bold;
    padding: 50px;
}
.logo-company{
    font-size: 70px;
    text-align: center;
}
.logo-name{
    font-size: 40px;
    text-align: center;
    color: var(--theme-color-2);
    /* padding: 0px 65px; */
    margin-top: -15px;
}
/* Сообщение о вводе */
.input-msg{
    font-size: 30px;
    text-align: center;
}
/* Блок с вводом данных */
.input{
    font-size: 35px;
    padding: 20px 60px;
    display: grid;
    grid-template-columns: 1fr 250px;
    grid-template-rows: 60px;
}
.input-name{
    height: 60px;
}
.input-value{
    border-bottom: 1px solid;
    /* border-radius: 8px; */
    border-width: 3px;
    /* border-color:var(--theme-color-2); */
    /* background-color: #e7e7e7; */
    height: 40px;
    vertical-align:middle;
}

.input-value-box{
    height: 100%;
    width: calc(100% - 20px);
    padding: 0px;
    margin: 0px;
    outline:none;
    border: none;
    border-radius: 8px;
    vertical-align: top;
    font-size: 25px;
    color: #ffffff;
    padding: 0px 10px;
    background-color: #e7e7e700;
}
/* input:-webkit-autofill {
    background-color: #8a913c !important;
    background-image:none !important;
    color: #000000 !important;
 } */

 input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus {
    border: 0px;
    -webkit-text-fill-color: #ffffff;
    /* -webkit-box-shadow: 0 0 0px 1000px #000 inset; */
    transition: background-color 5000s ease-in-out 0s;
}

/* Сообщение об входе */
.input-response{
    font-size: 20px;
    text-align: center;
    height: 30px;
}
/* Кнопка */
.button{
    padding: 30px;
    justify-content: center;
    display: flex;
    align-items: center;
}
.btn-auth-enter{
    width: 60%;
    justify-content: center;
    display: flex;
    height: 100%;
 
}
.btn-auth-other{
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ico-auth{
    height: 40px;
    width: 40px;
    padding-top: 3px;
    padding-bottom: 3px;
}

/* Показ и скрытие QR кода при наведении*/
.enter-qr:hover{
    color: var(--theme-color-2);
    cursor: pointer;
}
.img-qr-start-hide{
    display: none;
}
.enter-qr:hover .img-qr-start-hide{
    display: block;
}
.enter-qr:hover .img-qr-start-show{
    display: none;
}

/* Показ и скрытие telegram при наведении*/
.enter-telegram:hover{
    color: var(--theme-color-2);
    cursor: pointer;
}
.img-telegram-start-hide{
    display: none;
}
.enter-telegram:hover .img-telegram-start-hide{
    display: block;
}
.enter-telegram:hover .img-telegram-start-show{
    display: none;
}

/* Стилизация кнопок */
.btn-login{
    /* border: 1px solid #c2c2c2; */
    padding: 0px 10px;
    height: 65px;
    font-size: 40px;
    font-weight: bold;
    line-height: 1.5;
    border-radius: 3px;
    background-color: #e7e7e7;
    color: #292e33;
    margin-right: 3px;
    margin-left: 3px;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    white-space: nowrap;
}
.btn-login:hover{
    background-color: var(--theme-color-2);
    border-color: var(--theme-color-2);
    color: var(--text-btn-color-1);
}
.btn-login:active{
    box-shadow: 0px 0px 1px 2px var(--theme-color-2);
}

/* qr code*/
#qrcode-auth{
    justify-content: center;
    display: flex;
    height: 180px;
}
#qrcode-auth canvas{
    border: #fff solid 5px;
    border-radius: 4px;
    margin: 10px;
}
/* Сообщение о вводе */
.input-another-auth-msg{
    font-size: 23px;
    text-align: center;
}
.input-another-auth-bot-name{
    font-size: 35px;
    text-align: center;
    color: var(--theme-color-2);
    padding-top: 10px;
    padding-bottom: 10px;
}
.input-another-auth-bot-code{
    font-size: 60px;
    text-align: center;
    color: var(--theme-color-2);
    padding-top: 10px;
    padding-bottom: 15px;
}



/* Кнопка обновить*/
.btn-qr-auth-reload{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 180px;
    font-size: 23px;
}
.btn-telegram-auth-reload{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 250px;
    height: 107px;
    font-size: 23px;
}
.reload-block-left{
    padding-top: 10px;
    padding-right: 5px;
    height: 80px;
}
.reload-block-right{
    padding-top: 10px;
    padding-left: 5px;
    height: 80px;
    display: flex;
    align-items: center;
}

.ico-reload{
    height: 70px;
    width: 70px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.reload-block{
    display: flex;
    justify-content: center;
}

.btn-qr-auth-reload:hover, .btn-telegram-auth-reload:hover{
    color: var(--theme-color-2);
    cursor: pointer;

}

.img-reload-start-hide{
    display: none;
}
.btn-qr-auth-reload:hover .img-reload-start-hide, .btn-telegram-auth-reload:hover .img-reload-start-hide{
    display: block;
}
.btn-qr-auth-reload:hover .img-reload-start-show, .btn-telegram-auth-reload:hover .img-reload-start-show{
    display: none;
}

/* Приветственное сообщение */
.auth-top-hello{
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: var(--theme-color-1);
    color: #fff;
    font-size: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: hello-background 0.2s forwards;
}
.auth-hello-msg, .auth-hello-name{
    opacity: 0;
    animation: hello-msg 1.5s forwards;
}
@keyframes hello-background {
    0% {opacity: 0;}
    100% {opacity: 1;}
}
@keyframes hello-msg {
    0% {opacity: 0;}
    35% {opacity: 0;}
    100% {opacity: 1;}
}

/* Авторизация через Тинькофф ID */
.enter-tinkoff-id-btn{
    width: calc(height);
}