:root {
--bg-dark: #0f172a;
--accent: #2563eb;
--text-dark: #1e293b;
--text-light: #64748b;
--border: #e2e8f0;
}
body {
margin: 0;
height: 100vh;
background-color: var(--bg-dark);
background-image: radial-gradient(#1e293b 1px, transparent 1px);
background-size: 20px 20px;
font-family: 'Public Sans', sans-serif;
display: flex;
align-items: center;
justify-content: center; /* ESTO mantiene la tarjeta en el centro */
}
.login-card {
background: #ffffff;
width: 100%;
max-width: 400px;
padding: 40px;
border-radius: 24px;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
text-align: center;
animation: fadeIn 0.6s ease-out;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
h2 {
color: var(--text-dark);
font-weight: 700;
font-size: 1.5rem;
margin-bottom: 30px;
}
.user-picker {
display: flex;
justify-content: center;
gap: 30px;
margin-bottom: 35px;
}
.user-item {
cursor: pointer;
transition: all 0.3s ease;
}
.avatar-box {
width: 80px;
height: 80px;
background: #f1f5f9;
border-radius: 20px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 10px;
border: 2px solid transparent;
transition: all 0.3s ease;
}
.avatar-box svg {
width: 45px;
height: 45px;
fill: #94a3b8;
transition: all 0.3s ease;
}
.user-item p {
font-size: 0.75rem;
font-weight: 700;
color: var(--text-light);
text-transform: uppercase;
margin: 0;
}
.user-item.selected .avatar-box {
background: #eff6ff;
border-color: var(--accent);
transform: scale(1.05);
}
.user-item.selected .avatar-box svg {
fill: var(--accent);
}
.user-item.selected p {
color: var(--accent);
}
.form-content {
display: none;
text-align: left;
}
.input-wrapper {
position: relative;
margin-bottom: 25px;
}
.input-wrapper label {
display: block;
font-size: 0.7rem;
font-weight: 700;
color: var(--text-light);
text-transform: uppercase;
letter-spacing: 0.5px;
margin-bottom: 8px;
padding-left: 4px;
}
.input-wrapper input {
width: 100%;
height: 50px;
background: #f8fafc;
border: 1px solid var(--border);
border-radius: 12px;
padding: 0 16px;
font-size: 1rem;
color: var(--text-dark);
outline: none;
box-sizing: border-box;
transition: all 0.3s;
}
.input-wrapper input:focus {
border-color: var(--accent);
background: #fff;
box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}
.btn-action {
width: 100%;
height: 55px;
background: var(--text-dark);
color: white;
border: none;
border-radius: 12px;
font-weight: 700;
font-size: 1rem;
cursor: pointer;
transition: all 0.3s;
margin-top: 10px;
}
.btn-action:hover {
background: var(--accent);
transform: translateY(-2px);
box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}
@media (max-width: 600px) {
    body {
    justify-content: center;
    padding-left: 0;
    }
}