/* Стили css для страницы входа - шаблон templates/registration/login.py */



/* Выключение кнопки "вход" на этой странице */
.entry-btn {
    display: none
}



/* Стили для блока с контентом */
.content-block-around {
    display: flex;
    box-sizing: border-box;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    min-width: 75%;
}



/* Стили картинки с сердцем */
.image-container {
    display: none;
}

/* Картинка показывается только если ширина экрана больше определенного значения */
@media (min-width: 700px) and (min-height: 500px) {
    .image-container {
        display: flex;
        box-sizing: border-box;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
}

.heart-network-shadow-grey {
    width: 100%;
    max-height: 75vh;
}

.locked {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    pointer-events: none;
}



/* Стили для формы ввода логина и пароля */
.form-container{
    display: flex;
    box-sizing: border-box;
    margin: 0px;
    padding: 25px 10px;
    align-items: center;
    justify-content: center;
    height: auto;
    width: auto;
    max-width: 520px;
    min-width: 350px;
    border-color: #fff;
    border-width: 0px;
    border-radius: 20px;
    background: rgba(67, 93, 104, 0.7);
    text-align: center;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #fff; 
}

.form-header {
    box-sizing: border-box;
    margin: auto;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    font-size: 20px;
}

.custom-input{
    box-sizing: border-box;
    width: 95%;
    max-width: 480px;
    margin: 15px 0px;
    padding: 10px;
    flex-grow: 1;
    border: none;
    outline: none;
    background-color: transparent;
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    background-image: linear-gradient(to bottom, #fff, #fff);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 100% 1px;
}

.custom-input::placeholder {
    color: rgba(255, 255, 255, 1);
}

.info {
    display: block;
    box-sizing: border-box;
    margin: 0px auto;
    width: 75%;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 100;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.8)
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus {
    border: 0;
    -webkit-text-fill-color: #fff;
    -webkit-box-shadow: 100px 0 0px 50px transparent inset;
    transition: background-color 5000s ease-in-out 0s;
}

.buttons-container{
    display: flex;
    box-sizing: border-box;
    margin: 20px 20px 0px;
    justify-content: space-around;
}

.form-button {
    padding: 0.5em 1.3em;
    border: 1px solid white;
    border-radius: 20px;
    text-decoration: none;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: black;
    background-color: rgba(255, 255, 255, 1);
}

.form-button:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.form-button:active {
    background-color: rgba(255, 255, 255, 0.7);
}