*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body{
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(83, 85, 138, 0.6), rgba(38, 0, 255, 0.774)); 
}

.login-box{
    width: 360px;
    padding: 40px 32px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px);
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.login-box h2{
    text-align: center;
    margin-bottom: 35px;
    font-weight: 600;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #b5c8c9, #fbf6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.input-box{
    position: relative;
    margin-bottom: 32px;
}
.input-box input{
    width: 100%;
    padding: 14px 10px;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 16px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
}
.input-box label{
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, .7);
    pointer-events: none;
    transition: .4s ease;
}

.input-box input:focus ~ label,
.input-box input:valid ~ label{
    top: -8px;
    font-size: 12px;
    color: #00f5ff;
}

.input-box span{
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #e2e2e2, #040107);
    transition: .4s;
}
.input-box input:focus ~span{
    width: 100%;
}

.options{
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 25px;
}
.options a{
    color: #00f7ff7c;
    text-decoration: none;
}

.options a:houver{
    text-decoration: underline;
}

button{
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(90deg, #f7f7f7, #9524ff);
    font-size: 16px;
    font-weight: 600;
    color: #000;
    cursor: pointer;
    transition: .3s;
}

button:houver{
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(168, 85, 247, .7);
}

.register{
    text-align: center;
    margin-top: 22px;
    font-size: 14px;
}
.register a{
    color: #00f5ff;
    text-decoration: none;
}

.register a:houver{
    text-decoration: underline;
}