﻿input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px white inset; /* Установка белого фона */
    box-shadow: 0 0 0px 1000px white inset;
    -webkit-text-fill-color: #000; /* Цвет текста */
    transition: background-color 5000s ease-in-out 0s;
}

.authorize-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}
.auth-error {
    text-align: center;
    color: var(--danger-color);
    padding-top: 1rem
}
.authorize {
    width: 30%;
    display: flex;
    flex-direction: column;
}
.form-control {
    display: flex;
    align-items: center;
    border: none;
    border-radius: 0.55rem;
    margin-top: 1.5rem;
}
    .form-control input {
        flex: 1 1 auto;
        margin-left: 0.5rem;
        border: none;
    }
.authorize-title {
}
.greetings {
    color: var(--secondary-text-color);
    font-size: 0.9rem;
}
.authorize-form {
}
.input-field {
    
}
.input-field::placeholder {
    font-weight: 500;
    font-size: 0.8rem;
    color: var(--placeholder-color);
}
.input-img {
    width: 1.25rem;
    height: 1.25rem;
}
.input-password {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
}
.hide-pass,
.show-pass,
.hide-pass-confirmation,
.show-pass-confirmation {
    cursor: pointer;
}
.show-pass,
.show-pass-confirmation {
    display: none;
}
.forgot-pass {
    text-align: end;
}
.authorize-google {
    border-top: 1px solid #ced4da;
    padding: 1rem 2rem 1rem;
}
.google-img {
    width: 30px;
    height: 30px;
}
.validation-error {
    color: var(--danger-color);
    font-size: 0.8rem;
}
.register-block {
    display: flex;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid var(--secondary-color);
    justify-content: space-between;
} 
    .register-block a {
        text-decoration: underline; 
    }
        .register-block a:hover {
            color: var(--primary-color);
        }

#Registration {
    cursor: pointer;
    padding-right: 3rem;
}

.sended-confirmation {
    color: var(--primary-color);
    padding: 1rem 0;
}

.common-button {
    margin-top: 1.5rem;
    height: 2.4rem;
    border-radius: 0.55rem;
}

/*modifications*/
@media (max-width: 991.98px) {
    .authorize {
        width: 50%;
    }
}

@media(max-width: 767.98px) {
    .authorize {
        width: 70%;
    }
}

@media(max-width: 469.98px) {
    .authorize-login {
        padding: 1rem 1.5rem 0.25rem;
    }
    .authorize-password {
        padding: 0rem 1.5rem 0.75rem;
    }
    .submit-login {
        padding: 0rem 1.5rem 1rem;
    }
    .authorize {
        width: 100%;
    }
}