@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');
*{
    margin: 0;
    padding: 0;
    font-family: 'poppins',sans-serif;
}
section{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    
    background-color: black;
    background-position: center;
    background-size: cover;
}
.form-box{
    margin: 3vh;
    padding: 1vh;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid #064f8d;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 15px #064f8d;

}
h2{
    font-size: 2em;
    color: #707070;
    text-align: center;
}
.inputbox{
    position: relative;
    margin: 30px 0;
    width: 310px;
    border-bottom: 2px solid #064f8d;
}
.inputbox label{
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    color: #707070;
    font-size: 1em;
    pointer-events: none;
    transition: .5s;
}
input:focus ~ label,
input:valid ~ label{
top: -5px;
}
.inputbox input {
    width: 100%;
    height: 50px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1em;
    padding:0 35px 0 5px;
    color: #707070;
}
.inputbox ion-icon{
    position: absolute;
    right: 8px;
    color: #707070;
    font-size: 1.2em;
    top: 20px;
}
.forget{
    margin: -15px 0 15px ;
    font-size: .9em;
    color: #fff;
    display: flex;
    justify-content: space-between;  
}

.forget label input{
    margin-right: 3px;
    
}
.forget label a{
    color: #fff;
    text-decoration: none;
}
.forget label a:hover{
    text-decoration: underline;
}
button{
    width: 100%;
    height: 40px;
    border-radius: 40px;
    background: linear-gradient(to top, #43abe0, #064f8d);
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1em;
    font-weight: 400;
    color: white;
    transition: 0.3s ease; /* Smooth transition */
}
button:hover {
    background: #0ab58d;

}

.register{
    font-size: .9em;
    color: #fff;
    text-align: center;
    margin: 25px 0 10px;
    opacity:0.1;
}
.register p a{
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    opacity:0.1;
}
.register p a:hover{
    text-decoration: underline;
}
.inputbox .icon {
    position: absolute;
    top: 50%;
    left: 90%;
    transform: translateY(-50%);
    color: #43abe0;
    font-size: 18px;
}

  