feat(auth): estrategia multicanal (WebControl + Google/Facebook + MariaDB Staff) y rediseño de login con mascota bot

This commit is contained in:
2026-10-20 15:35:43 -05:00
parent 72ce6adc12
commit f7cfccefa8
11 changed files with 694 additions and 133 deletions
+115
View File
@@ -249,3 +249,118 @@ main {
transform: translateY(-1px);
}
/* ==============================================================================
Segmented Tabs & Social Buttons for Multi-Channel Login
============================================================================== */
.login-segmented-tabs {
display: flex;
background: #f1f5f9;
border-radius: 14px;
padding: 5px;
margin-bottom: 1.5rem;
gap: 6px;
}
.login-tab-btn {
flex: 1;
border: none;
background: transparent;
padding: 0.65rem 0.85rem;
border-radius: 10px;
font-size: 0.88rem;
font-weight: 600;
color: #64748b;
transition: all 0.2s ease;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
cursor: pointer;
}
.login-tab-btn:hover {
color: #0f172a;
}
.login-tab-btn.active {
background: #ffffff;
color: #0284c7;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
}
.login-tab-btn.active.staff-active {
color: #4f46e5;
}
.login-divider {
display: flex;
align-items: center;
text-align: center;
margin: 1.5rem 0 1rem;
color: #94a3b8;
font-size: 0.76rem;
text-transform: uppercase;
letter-spacing: 0.06em;
font-weight: 600;
}
.login-divider::before,
.login-divider::after {
content: '';
flex: 1;
border-bottom: 1px solid #e2e8f0;
}
.login-divider:not(:empty)::before {
margin-right: .75em;
}
.login-divider:not(:empty)::after {
margin-left: .75em;
}
.btn-social-fb {
border: 1px solid #cbd5e1;
background: #ffffff;
color: #1877f2;
font-weight: 600;
font-size: 0.9rem;
border-radius: 12px;
padding: 0.65rem 1rem;
transition: all 0.2s ease;
text-decoration: none;
}
.btn-social-fb:hover {
background: #f0f6ff;
border-color: #1877f2;
color: #0c56be;
}
.staff-badge-pill {
display: inline-flex;
align-items: center;
gap: 6px;
background: rgba(79, 70, 229, 0.1);
color: #4f46e5;
border: 1px solid rgba(79, 70, 229, 0.2);
border-radius: 9999px;
padding: 0.25rem 0.65rem;
font-size: 0.75rem;
font-weight: 600;
}
.client-badge-pill {
display: inline-flex;
align-items: center;
gap: 6px;
background: rgba(2, 132, 199, 0.1);
color: #0284c7;
border: 1px solid rgba(2, 132, 199, 0.2);
border-radius: 9999px;
padding: 0.25rem 0.65rem;
font-size: 0.75rem;
font-weight: 600;
}