*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial,Helvetica,sans-serif;
}

body{

background:#f5f7fb;

display:flex;
justify-content:center;
align-items:center;

min-height:100vh;

padding:20px;

transition:.3s;

}

.auth-box{

width:100%;
max-width:430px;

background:rgba(255,255,255,.65);

backdrop-filter:blur(20px);
-webkit-backdrop-filter:blur(20px);

border:1px solid rgba(255,255,255,.4);

border-radius:30px;

padding:35px 25px;

box-shadow:
0 15px 35px rgba(0,0,0,.12);

animation:fade .5s ease;

}

.auth-box h1{

text-align:center;

color:#0a2d66;

margin-bottom:30px;

font-size:32px;

}

.auth-box input{

width:100%;

height:55px;

margin-bottom:18px;

padding:0 18px;

font-size:16px;

border:1px solid #ddd;

border-radius:16px;

outline:none;

transition:.3s;

background:white;

}

.auth-box input:focus{

border-color:#2d6cdf;

box-shadow:
0 0 0 4px rgba(45,108,223,.15);

}

.auth-box button{

width:100%;

height:55px;

border:none;

border-radius:18px;

background:#2d6cdf;

color:white;

font-size:18px;

font-weight:bold;

cursor:pointer;

transition:.3s;

box-shadow:
0 10px 25px rgba(45,108,223,.35);

}

.auth-box button:hover{

transform:translateY(-2px);

}

.switch{

margin-top:20px;

text-align:center;

font-size:15px;

color:#555;

}

.switch a{

text-decoration:none;

font-weight:bold;

color:#2d6cdf;

margin-left:5px;

}

.switch a:hover{

text-decoration:underline;

}

#registerForm{

animation:fade .3s ease;

}

#loginForm{

animation:fade .3s ease;

}

@keyframes fade{

from{

opacity:0;
transform:translateY(20px);

}

to{

opacity:1;
transform:translateY(0);

}

}

/* Mobile */

@media(max-width:480px){

.auth-box{

padding:30px 20px;

}

.auth-box h1{

font-size:28px;

}

.auth-box input{

height:52px;

font-size:15px;

}

.auth-box button{

height:52px;

font-size:17px;

}

}