/* стили формы логирования */
.wrapLoginForm {
    margin-top: 50px;
}

.greeting {
    margin-bottom: 50px;
    text-align: center;
    font-size: 26px;
    font-weight: 600;
}

form {
    margin: 0 auto;
    max-width: 600px;
    min-height: max-content;
    font-style: italic;
}

.fName {
    margin: 0 auto 20px;
    max-width: 400px;
    position: relative;
}

.fName label {
    display: block;
    padding-left: 30px;
}

.fName input {
    display: block;
    margin-top: 10px;
    padding-left: 15px;
    width: 400px;
    height: 40px;
    border: none;
    border-radius: 8px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.82);
    font-size: 20px;
    font-family: Tahoma;
}

input:focus {
    border: 5px solid #2f3640;
    box-shadow: none;
}

.remember {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
}

/*стили для checkbox*/
input[type="checkbox"] {
    appearance: none;
    background: #fff;
    border: 2px solid #415674;
    height: 1.5em;
    width: 1.5em;
    vertical-align: text-bottom;
    position: relative;
}

input[type="checkbox"]::before {
    content: "";
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    top: 0;
}

input[type="checkbox"]:checked::before {
    border-right: 5px solid #4b83fc;
    border-bottom: 6px solid #4b83fc;
    height: 90%;
    width: 30%;
    transform: rotate(50deg) translateY(-20%) translateX(-10%);
}


/*стили ссылок и кнопки*/
#sendLoginForm, #updatePassport, .loginBtn, .remindBtn, .btn {
    display: block;
    margin: 30px auto 0;
    padding: 8px 24px;
    width: 300px;
    height: 45px;
    background: #e74c3c;
    color: #f5f6fa;
    border-radius: 8px;
    font-size: 20px;
    text-align: center;
    text-decoration: none;
    font-style: normal;
    cursor: pointer;
}

/*стили появляющегося предупреждения о неверных данных*/
.authenticationWarning {
    display: none;
    margin: 0 auto 30px;
    padding: 10px 5px;
    max-width: 500px;;
    background: red;
    color: #f5f6fa;
    text-align: center;
    font-size: 20px;
}

.authMessage {
    margin-bottom: 15px;
    font-size: 22px;
    text-align: center;
}


/* блок напоминания пароля */
.remindEmail {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.remindEmail.unVisible {
    display: none;
}

/* у формы напоминания пароля переопрееляем стили */
.remindForm {
    padding: 10px;
    max-width: 1000px;
    border: 3px solid #e74c3c;
    border-radius: 8px;
    background-color: #d7e9e2;
}

.remindForm label {
    font-size: 20px;
}

.remindEmail input {
    display: inline-block;
    width: 350px;
    height: 40px; 
    font-size: 20px;
    font-family: Tahoma;
}

/*Стили для того, чтобы показывать пароль*/
.showPassword {
    position: absolute;
    top: 34px;
    right: 10px;
    display: inline-block;
    width: 30px;
    height: 30px;
    border: none;
    background-image: url("../../img/eye.svg");
    background-position: 0 0;
    background-repeat: no-repeat;
    cursor: pointer;
}

.showPassword.view {
    background-image: url("../../img/noEye.svg");
}

/*  у кнопки переопределяю стили, которые были заложены выше для тега button */
.remindBtn {
    display: inline-block;
    margin-top: 15px;
    margin-left: 15px;
    width: 250px;    
}

.repeatBtn {
    display: none;
    background-color: yellow;
    color: red;
    font-size: 20px;
    padding: 1rem 2rem;
}

@media (max-width: 900px) {
    .wrapLoginForm {
        margin-top: 20px;
    }

    .greeting {
        margin-bottom: 20px;
    }

    form {
        max-width: 100%;
        padding-left: 3%;
        padding-right: 3%;
    }

    .fName {
        max-width: 94%;
    }

    .fName input {
        padding-left: 15px;
        width: 100%;
        height: 30px;
        font-size: 16px;
        font-family: Tahoma, Arial, sans-serif;
    }

    /*  напоминание пароля  */
    .remindForm {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .remindEmail input {
        display: inline-block;
        width: 95%;
        height: 30px;
        padding-left: 15px;
        font-size: 16px;
        font-family: Tahoma, Arial, sans-serif;
    }

    .remindForm label {
        font-size: 16px;
    }

    #sendLoginForm, #updatePassport, .loginBtn, .remindBtn, .btn {
        height: 35px;
        padding: 8px 15px;
        font-size: 1em;
    }
}
