/**************************
    FORGOT PASSWORD
***************************/
body{
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.forgot_password,
.reset_password{
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.indiero{
    /* align-self: flex-end; */
    color: var(--bordeaux);
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .5rem;
}
.indiero i{
    font-size: 1.5rem;
}
.indiero:hover{
    color: var(--dark_gold);
}
.forgot_password h1,
.reset_password h1{
    color: var(--bordeaux);
    text-transform: uppercase;
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 2.5rem;
    text-align: center;
    margin: 3.5rem 0;
    margin-bottom: .85rem;
}
.forgot_password h2,
.reset_password  h2{
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5rem;
    text-transform: uppercase;
    color: var(--dark_gray);
    text-align: center;
    margin-bottom: 3.5rem;
}
.forgot_password form{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
.forgot_password form > div{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
.forgot_password form label,
.reset_password form label{
    color: var(--bordeaux);
    font-weight: 700;
    font-size: 1rem;
}
.forgot_password form input,
.reset_password form input{
    padding: 0.50rem 1.25rem;
    max-width: 300px;
    width: 100%;
    border: 4px solid var(--bordeaux);
    border-radius: 3px;
    outline: none;
}
.forgot_password form button,
.reset_password form button{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.63rem 1.25rem;
    background-color: var(--bright_gold);
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    transition: all .3s ease;
    width: fit-content;
    text-transform: uppercase;
    font-family: inherit;
    border: none;
    outline: none;
    cursor: pointer;
}
.forgot_password form button:hover,
.reset_password form button:hover{
    background-color: var(--dark_gold);
}
.error,
.success{
    width: 100%;
    font-size: 18px;
    line-height: 1.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
}
.error{
    color: var(--error);
}
.success{
    color: green;
}
/**************************
    RESET PASSWORD
***************************/
.reset_password form{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
}
.reset_password form > div{
    max-width: 465px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.reset_password form button{
    align-self: center;
    margin-top: 2rem;
}
.error_ul{
    width: fit-content;
    font-size: 18px;
    line-height: 1.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--error);
}
.error_ul ul{
    list-style: disc;
}
/**************************
    MEDIA QUERY
***************************/
@media screen and (max-width: 430px){
    .forgot_password,
    .reset_password{
        width: 90%;
    }
    .forgot_password h1,
    .reset_password h1{
        font-size: 1.5rem;
        line-height: 2.5rem;
    }
    .forgot_password form{
        flex-direction: column;
        gap: 3rem;
    }
    .forgot_password form > div{
        flex-direction: column;
        align-items: flex-start;
        gap: .3rem;
        width: 80%;
    }
    .reset_password form > div{
        max-width: none;
        width: 100%;
        margin: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: .5rem;
    }
    .reset_password form > div label{
        width: 75%;
        text-align: left;
    }
    .reset_password form button{
        align-self: center;
        margin-top: 2rem;
    }
}
@media screen and (max-width: 390px){
    .reset_password form > div label{
        width: 80%;
    }
}
@media screen and (max-width: 375px){
    .reset_password form > div label{
        width: 90%;
    }
}
@media screen and (max-width: 320px){
    .forgot_password,
    .reset_password{
        width: 90%;
    }
    .forgot_password h1,
    .reset_password h1{
        font-size: 21px;
        line-height: 2rem;
    }
    .forgot_password form > div{
        width: 100%;
    }
    .reset_password form > div label{
        width: 100%;
    }
}