*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui,sans-serif;

}

body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f0f0f, #2c2c2c, #1a1a1a);
}

.login-box{
    position: relative;
    width: 400px;
    height: 450px;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 20px;

}

h2{
    font-size: 2em;
    color: white;

}

.input-box{
    position: relative;
    width: 310px;
    margin: 30px 0;
    border-bottom: 2px solid ;
}

.input-box label{
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 1em;
    color: white;
    pointer-events: none;
    transition: 0.5s;
}

.input-box input:focus~label,
.input-box input:valid~label{
    top: -5px;
}

.input-box input{
    width: 100%;
    height: 50px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1em;
    color: white;
    border-bottom: 2px solid #aaa;
    padding: 0 35px 0 5px;

}

.input-box .icon{
    position: absolute;
    right: 8px;
    color: white;
    font-size: 1,2em;
    line-height: 57px;
}

button{
    width: 50%;
    height: 40px;
    background: white;
    border: none;
    outline: none;
    border-radius: 30px;
    transition: 0.5s;

}

button:hover{
    background: grey;
}