LANIA_Proyecto/css/login.css

133 lines
2.0 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Open Sans', sans-serif;
}
body {
background-color: #f1f0f6;
display: grid;
place-items: center;
min-height: 100vh;
}
.login-container {
background-color: #ffffff;
border: 2px solid #e8e8e8;
border-radius: 8px;
padding: 2rem;
width: 100%;
max-width: 500px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
@media screen and (max-width: 768px) {
.login-container {
width: 80%;
}
}
.login-encabezado {
text-align: center;
margin-bottom: 1.5rem;
}
.login-logo {
max-width: 150px;
height: auto;
margin-bottom: 1rem;
}
.login-titulo {
font-size: 1.5rem;
color: #333;
display: flex;
align-items: center;
justify-content: center;
}
.login-subtitulo {
color: #666;
margin-top: 0.5rem;
}
.login-formulario {
color: #666;
margin-top: 0.5rem;
}
.form-grupo {
margin-bottom: 1rem;
}
.form-label {
display: flex;
align-items: center;
margin-bottom: 0.5rem;
font-weight: bold;
}
.form-input {
width: 100%;
padding: 0.75rem;
border: 1px solid #e8e8e8;
border-radius: 4px;
background-color: #f6f6f6;
transition: all 0.3s ease;
}
.form-input:focus {
outline: none;
border-color: #35245b;
box-shadow: 0 0 0 2px rgba(2, 27, 48, 0.2);
}
.login-boton {
background-color: #35245b;
color: white;
border: none;
border-radius: 4px;
padding: 0.75rem;
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
cursor: pointer;
transition: all 0.3s ease;
margin-top: 1rem;
width: 100%;
}
.login-boton:hover {
background-color: #432d74;
box-shadow: 0 4px 8px #53388f;
}
.login-boton:active {
transform: scale(0.98);
}
.material-icons {
font-size: 1.25rem;
}
.mensaje-error {
display: none;
background-color: #f8d7da;
color: #dc3545;
border: 1px solid #dc3545;
border-radius: 4px;
padding: 0.75rem;
margin-top: 1rem;
text-align: center;
animation: fadeIn 0.3s ease-in-out;
}