/*Poppins Font*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;0,800;1,700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
/*Color variables*/
:root{
    --primary-color: #edede3;
    --second-color: #ffffff;
    --black-color: #000000;
}
body{
    background-image: url("/admin/img/bg-forgot.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
a{
    text-decoration: none;
    color:var(--second-color);
}
a:hover{
    text-decoration: underline;
}
.wrapper{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: rgba(0,0,0,0.2);
    flex-direction: column;
    position: relative;
    padding: 20px 10px;
}

/* Forgot Password Box */
.forgot_box{
    position: relative;
    width: 430px;
    backdrop-filter: blur(25px);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 8.5em 2.5em 5em 2.5em ;
    color:var(--second-color);
    box-shadow: 0px 0px 10px 2px rgba(0,0,0,0.3);
    margin-top: 40px ;
}
/*Header Quen mat khau*/
.forgot-header{
    position: absolute;
    top: 0;
    left: 50%;
    transform:translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    width: 140px;
    height: 70px;
    border-radius: 0 0 20px 20px;
}
.forgot-header span{
    font-size: 16px;
    color: var(--black-color);
}
.forgot-header::before{
    content: "";
    position: absolute;
    top: 0;
    left: -30px;
    width: 30px;
    height: 30px;
    border-top-right-radius: 50%;
    background: transparent;
    box-shadow: 15px 0 0 0 var(--primary-color);
}
.forgot-header::after{
    content: "";
    position: absolute;
    top: 0;
    right: -30px;
    width : 30px;
    height: 30px;
    border-top-left-radius: 50%;
    background: transparent;
    box-shadow: -15px 0 0 0 var(--primary-color);
}
/*Input*/
.input_box{
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 20px 0;
    bottom: 50px;
}
.input-field{
    width:100%;
    height: 66px;
    font-size: 16px;
    background: transparent;
    color: var(--second-color);
    padding-inline: 20px 50px;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    outline: none;
}
#email{
    margin-bottom: 10px;
}
.label{
    position: absolute;
    top: 21px;
    left: 20px;
    transition: .2s;
    font-size: 15px;
}
.input-field:focus ~ .label,
.input-field:not(:placeholder-shown) ~ .label{
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 14px;
    background-color: var(--primary-color);
    border-radius: 30px;
    color:var(--black-color);
    padding: 0 10px;
}
.icon{
    position: absolute;
    top: 21px;
    right: 25px;
    font-size: 20px;
}
/*Submit gui lien ket*/
.input-submit{
    width: 100%;
    height: 50px;
    background: var(--primary-color);
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: .3s;
}
.input-submit:hover{
    background: var(--second-color);
}

/*Tro ve trang dang nhap*/
.back-to-login {
    text-align: center;
    margin-top: 20px;
}

.back-to-login span {
    font-size: 14px;
}
.back-to-login a {
    font-weight: 500;
    font-size: 16px;
    margin-left: 5px;
    color: var(--second-color);
    text-decoration: none;
}
.login-box {
    display: inline-block;
    padding: 5px 10px;
    border: 2px solid var(--second-color);
    border-radius: 5px;
    background-color: rgba(176, 255, 66, 0.1);
    color: #ffffff;
    transition:.3s;
}

.login-box:hover {
    border: 2px solid rgb(204, 30, 204);
    background-color:var(--second-color);
    color:  rgb(204, 30, 204);

}
@media (max-width: 426px){
    .forgot_box{
        width: 100%;
    }
}
