body {
margin: 0;
padding: 0;
font-family: sans-serif;
background: #dde1e7;
user-select: none;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.container {
position: relative;
width: 380px;
}
.form-box {
width: 100%;
background: #dde1e7;
padding: 45px 35px 40px;
box-sizing: border-box;
border-radius: 10px;
box-shadow: -4px -4px 7px #fffdfdb7,
3px 3px 5px rgba(94, 104, 121, 0.288);
display: none;
}
.form-box.active {
display: block;
}
.text {
font-size: 28px;
color: #000;
font-weight: 600;
text-align: center;
letter-spacing: 2px;
}
form {
margin-top: 30px;
}
form .field {
margin-top: 20px;
display: flex;
align-items: center;
position: relative;
}
.field .fas {
height: 50px;
width: 50px;
color: #868686;
font-size: 18px;
line-height: 50px;
text-align: center;
background: #dde1e7;
box-shadow: inset 2px 2px 5px #babecc,
inset -5px -5px 10px #ffffff73;
border-radius: 5px 0 0 5px;
}
.field input {
height: 50px;
width: 100%;
font-size: 17px;
color: #333;
padding: 0 40px 0 15px;
border: none;
outline: none;
background: #dde1e7;
box-shadow: inset 2px 2px 5px #babecc,
inset -5px -5px 10px #ffffff73;
border-radius: 0 5px 5px 0;
}
.toggle-password {
position: absolute;
right: 12px;
font-size: 18px;
color: #666;
cursor: pointer;
}
form button {
height: 50px;
width: 100%;
margin-top: 35px;
border-radius: 5px;
border: none;
background: #dde1e7;
font-size: 18px;
font-weight: 600;
cursor: pointer;
box-shadow: -3px -3px 7px #fffdfdb7,
2px 2px 5px rgba(94, 104, 121, 0.288);
}
form button:hover {
color: #0dafbb;
box-shadow: inset 2px 2px 5px #babecc,
inset -5px -5px 10px #ffffff73;
}
.link {
margin-top: 25px;
text-align: center;
color: #000;
}
.link a {
color: #08adef;
text-decoration: none;
}
.link a:hover {
text-decoration: underline;
}
.social-login {
margin-top: 20px;
padding: 12px;
border-radius: 5px;
text-align: center;
font-size: 16px;
font-weight: 600;
cursor: pointer;
}
.facebook {
background: #3b5998;
color: #fff;
}
.google {
background: #db4437;
color: #fff;
}