Files
Complejo_Cap1tan/css/Login.css
T
MarcosFlorSalcedo 8ec55e40fc 1ra Versión
2026-07-14 18:24:27 -03:00

327 lines
6.0 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Segoe UI", sans-serif;
}
body {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #7a897a, #000);
}
.container {
border: 1px solid rgba(255,255,255,0.15);
width: 90%;
max-width: 420px;
padding: 40px 35px;
border-radius: 12px;
color: #fff;
backdrop-filter: blur(20px);
box-shadow: 0 6px 20px rgb(36 255 91 / 40%);
background: rgba(0,0,0,0.6);
}
.container h1 {
text-align: center;
margin-bottom: 30px;
font-size: 2rem;
color: #1e7d1e;
font-weight: 700;
}
/* Formularios */
form {
display: flex;
flex-direction: column;
gap: 25px;
}
.input-box {
border: 1px solid rgba(255,255,255,0.2);
display: flex;
align-items: center;
height: 55px;
border-radius: 35px;
padding: 0 20px;
background: rgba(255,255,255,0.05);
transition: all 0.3s ease;
}
.input-box input {
flex: 1;
background: transparent;
border: 0;
outline: 0;
font-size: 16px;
color: #fff;
min-width: 0;
}
.input-box input::placeholder {
color: rgba(255,255,255,0.7);
}
.input-box:focus-within {
border-color: #1e7d1e;
box-shadow: 0 0 8px rgba(30,125,30,0.7);
}
/* Recordarme y link */
.remember-password {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
gap: 15px;
font-size: 14px;
}
.remember-password a {
color: #d9f2d9;
text-decoration: none;
transition: 0.3s;
}
.remember-password a:hover {
text-decoration: underline;
color: #1e7d1e;
}
/* Botón */
.btnI {
border-radius: 30px;
border: none;
outline: none;
font-size: 16px;
font-weight: 600;
padding: 12px;
cursor: pointer;
background-color: #145214;
color: white;
transition: all 0.3s ease;
box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.btnI:hover {
background-color: #1e7d1e;
transform: scale(1.05);
}
/* Registro */
.register {
text-align: center;
font-size: 14px;
margin-top: 5px;
}
.register a {
color: #1e7d1e;
text-decoration: none;
font-weight: 600;
margin-left: 5px;
transition: 0.3s;
}
.register a:hover {
text-decoration: underline;
}
/* Estilos del Modal de Recuperación */
.modal {
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.6);
display: flex;
align-items: center;
justify-content: center;
animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.modal-content {
background: rgba(0, 0, 0, 0.6);
border: 2px solid rgba(30, 125, 30, 0.5);
border-radius: 12px;
padding: 40px 40px;
width: 90%;
max-width: 500px;
box-shadow: 0 6px 20px rgb(36 255 91 / 40%);
position: relative;
backdrop-filter: blur(20px);
animation: slideIn 0.3s ease;
color: #fff;
}
@keyframes slideIn {
from {
transform: translateY(-50px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
.close {
position: absolute;
right: 20px;
top: 20px;
font-size: 28px;
font-weight: bold;
color: rgba(255, 255, 255, 0.7);
cursor: pointer;
transition: color 0.3s ease;
}
.close:hover {
color: #1e7d1e;
}
.paso-recuperacion {
display: flex;
flex-direction: column;
gap: 15px;
}
.paso-recuperacion h2 {
text-align: center;
color: #1e7d1e;
font-size: 1.5rem;
margin-bottom: 5px;
font-weight: 700;
}
.paso-recuperacion p {
text-align: center;
color: rgba(255, 255, 255, 0.8);
font-size: 14px;
margin-bottom: 10px;
}
.paso-recuperacion input {
border: 2px solid rgba(255, 255, 255, 0.3);
background: rgba(255, 255, 255, 0.05);
border-radius: 8px;
padding: 12px 20px;
color: #fff;
font-size: 16px;
transition: all 0.3s ease;
outline: none;
height: 55px;
width: 100%;
margin-top: 15px;
}
.paso-recuperacion input::placeholder {
color: rgba(255, 255, 255, 0.5);
}
.paso-recuperacion input:focus {
border-color: #1e7d1e;
box-shadow: 0 0 8px rgba(30, 125, 30, 0.7);
}
/* Contenedor de botones para paso 2 */
.paso-recuperacion .botones-grupo {
display: flex;
gap: 15px;
margin-top: 30px;
}
.paso-recuperacion .botones-grupo button {
flex: 1;
}
.btnRecuperar {
border-radius: 8px;
border: none;
outline: none;
font-size: 16px;
font-weight: 600;
padding: 12px;
cursor: pointer;
background-color: #145214;
color: white;
transition: all 0.3s ease;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
height: 55px;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.btnRecuperar:hover:not(:disabled) {
background-color: #1e7d1e;
transform: scale(1.05);
}
.btnRecuperar:disabled {
background-color: #0a5a0a;
cursor: not-allowed;
opacity: 0.7;
}
.btnVolver {
border-radius: 8px;
border: 2px solid rgba(255, 255, 255, 0.3);
outline: none;
font-size: 16px;
font-weight: 600;
padding: 12px;
cursor: pointer;
background-color: transparent;
color: rgba(255, 255, 255, 0.8);
transition: all 0.3s ease;
height: 55px;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.btnVolver:hover {
border-color: #1e7d1e;
color: #1e7d1e;
background-color: rgba(30, 125, 30, 0.1);
}
.mensaje {
padding: 12px;
border-radius: 8px;
text-align: center;
font-size: 14px;
min-height: 20px;
margin-top: 10px;
}
.mensaje.success {
background-color: rgba(30, 125, 30, 0.3);
color: #90ee90;
border: 1px solid rgba(30, 125, 30, 0.5);
}
.mensaje.error {
background-color: rgba(255, 0, 0, 0.2);
color: #ff6b6b;
border: 1px solid rgba(255, 0, 0, 0.5);
}