MedScope-Backend / static /css /loginStyle.css
ShadowGard3n's picture
Deploying
f639e70
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
body {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(45deg, #0a192f, #172a46);
padding: 20px;
}
.container {
width: 100%;
max-width: 400px;
}
.login-form {
background: #172a46;
padding: 40px;
border-radius: 10px;
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
border: 1px solid #304a6e;
transform: translateY(0);
transition: transform 0.3s ease;
}
.login-form:hover {
transform: translateY(-5px);
}
h2 {
color: #ccd6f6;
text-align: center;
margin-bottom: 30px;
font-size: 28px;
font-weight: 600;
}
.form-group {
position: relative;
margin-bottom: 30px;
}
.form-group input {
width: 100%;
padding: 10px 0;
font-size: 16px;
color: #ccd6f6;
background: transparent;
border: none;
border-bottom: 2px solid #304a6e;
outline: none;
transition: border-color 0.3s ease;
}
.form-group label {
position: absolute;
top: 10px;
left: 0;
font-size: 16px;
color: #8892b0;
pointer-events: none;
transition: all 0.3s ease;
}
.form-group input:focus,
.form-group input:valid {
border-bottom-color: #64ffda;
}
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
top: -20px;
font-size: 12px;
color: #64ffda;
}
.login-button {
width: 100%;
padding: 12px;
background: #64ffda;
color: #0a192f;
border: none;
border-radius: 5px;
font-size: 16px;
font-weight: bold;
cursor: pointer;
transition: background 0.3s ease, transform 0.2s ease;
}
.login-button:hover {
background: #52d3b4;
transform: translateY(-2px);
}
.login-button:active {
transform: translateY(0);
}
.signup-link {
text-align: center;
margin-top: 20px;
color: #8892b0;
}
.signup-link a {
color: #64ffda;
text-decoration: none;
font-weight: 500;
transition: color 0.3s ease;
}
.signup-link a:hover {
color: #52d3b4;
text-decoration: underline;
}
.separator {
display: flex;
align-items: center;
text-align: center;
margin: 20px 0;
font-weight: bold;
color: #8892b0;
font-size: 14px;
}
.separator::before,
.separator::after {
content: "";
flex: 1;
border-bottom: 1px solid #304a6e;
margin: 0 10px;
}
.google-btn {
display: flex;
align-items: center;
justify-content: center;
background-color: #172a46;
color: #ccd6f6;
border: 1px solid #304a6e;
border-radius: 5px;
padding: 10px;
width: 100%;
font-size: 16px;
font-weight: bold;
cursor: pointer;
transition: 0.3s ease-in-out;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
text-align: center;
}
.google-btn:hover {
background-color: #304a6e;
border-color: #64ffda;
}
.google-btn img {
height: 20px;
width: 20px;
margin-right: 10px;
background: white;
padding: 2px;
border-radius: 50%;
}