feat: rediseño de inicio de sesion minimalista estilo OrderEAT/SiboPay con doodle gastronomico y bottom sheet; respaldo de diseno clasico

This commit is contained in:
unknown
2026-10-07 16:28:39 -06:00
parent b85d0ca019
commit 8d6425aa01
5 changed files with 683 additions and 172 deletions
+245 -1
View File
@@ -2169,7 +2169,251 @@ body.dark-mode .floating-cart-bar {
}
/* ==========================================================================
VISTA DE LOGIN Y AUTENTICACIÓN
VISTA DE LOGIN: WELCOME SPLASH & BOTTOM SHEET (ESTILO ORDER-EAT / SIBOPAY)
========================================================================== */
.splash-welcome-screen {
position: fixed;
inset: 0;
background: linear-gradient(170deg, #0284c7 0%, #0369a1 100%);
z-index: 9999;
display: flex;
flex-direction: column;
overflow: hidden;
user-select: none;
}
/* Patrón de siluetas de alimentos difuminado (Marca de agua / Watermark) */
.splash-doodle-bg {
position: absolute;
inset: 0;
pointer-events: none;
background-image: url("data:image/svg+xml,%3Csvg width='130' height='130' viewBox='0 0 130 130' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' opacity='0.16'%3E%3Cpath d='M15 32 h28 a3 3 0 0 1 3 3 v12 a10 10 0 0 1 -10 10 h-14 a10 10 0 0 1 -10 -10 v-12 a3 3 0 0 1 3 -3 z'/%3E%3Cpath d='M24 26 c0 -3 10 -3 10 0'/%3E%3Cpath d='M9 37 h6'/%3E%3Cpath d='M46 37 h6'/%3E%3Cpath d='M92 26 c-6 -8 -16 0 -16 8 c0 10 12 18 16 20 c4 -2 16 -10 16 -20 c0 -8 -10 -16 -16 -8'/%3E%3Cpath d='M92 26 c0 -5 4 -7 7 -8'/%3E%3Cpath d='M20 102 c-4 -4 -3 -10 2 -12 c0 -6 8 -8 12 -4 c4 -6 14 -4 14 3 c4 2 5 8 1 12 c-2 2 -4 3 -7 3 h-15 c-3 0 -5 -1 -7 -2 z'/%3E%3Cpath d='M30 105 v12'/%3E%3Cpath d='M82 86 v24'/%3E%3Cpath d='M78 86 v8 c0 3 8 3 8 0 v-8'/%3E%3Cpath d='M82 94 v16'/%3E%3Cpath d='M98 86 c-3 0 -5 4 -5 9 c0 4 3 6 5 6 v17'/%3E%3Cpath d='M98 86 v32'/%3E%3Cellipse cx='60' cy='62' rx='13' ry='5'/%3E%3Cpath d='M49 62 c2 6 20 6 22 0'/%3E%3C/g%3E%3C/svg%3E");
background-size: 130px 130px;
background-repeat: repeat;
}
.splash-content-wrap {
position: relative;
z-index: 2;
flex: 1;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
padding: 40px 24px calc(28px + env(safe-area-inset-bottom, 16px));
max-width: 440px;
margin: 0 auto;
width: 100%;
box-sizing: border-box;
}
.splash-brand-hero {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
margin-top: 10px;
}
.splash-emblem-wrap {
width: 136px;
height: 136px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.22);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 3.5px solid rgba(255, 255, 255, 0.45);
display: flex;
align-items: center;
justify-content: center;
padding: 16px;
box-sizing: border-box;
box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
margin-bottom: 22px;
animation: pulse 4s infinite ease-in-out;
}
.splash-emblem-img {
width: 100%;
height: 100%;
object-fit: contain;
filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.2));
}
.splash-title {
color: #ffffff;
font-size: 3.1rem;
font-weight: 900;
letter-spacing: -1.2px;
margin: 0;
line-height: 1;
text-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
}
.splash-tagline {
color: rgba(255, 255, 255, 0.95);
font-size: 1rem;
font-weight: 700;
margin: 10px 0 0 0;
letter-spacing: 0.3px;
text-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
}
.splash-actions-box {
width: 100%;
display: flex;
flex-direction: column;
gap: 12px;
align-items: center;
}
.splash-btn-primary {
width: 100%;
height: 54px;
border-radius: 9999px;
background: #ffffff;
color: #0284c7;
border: none;
font-size: 1.05rem;
font-weight: 900;
cursor: pointer;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
transition: transform 0.15s ease, box-shadow 0.15s ease;
display: flex;
align-items: center;
justify-content: center;
letter-spacing: 0.2px;
}
.splash-btn-primary:active {
transform: scale(0.97);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.splash-btn-secondary {
width: 100%;
height: 52px;
border-radius: 9999px;
background: rgba(255, 255, 255, 0.12);
color: #ffffff;
border: 2px solid rgba(255, 255, 255, 0.85);
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
font-size: 1.02rem;
font-weight: 900;
cursor: pointer;
transition: transform 0.15s ease, background 0.15s ease;
display: flex;
align-items: center;
justify-content: center;
letter-spacing: 0.2px;
}
.splash-btn-secondary:active {
transform: scale(0.97);
background: rgba(255, 255, 255, 0.25);
}
.splash-disclaimer {
color: rgba(255, 255, 255, 0.88);
font-size: 0.76rem;
text-align: center;
margin: 6px 0 0 0;
line-height: 1.45;
font-weight: 600;
max-width: 330px;
}
.splash-disclaimer a {
color: #ffffff;
font-weight: 900;
text-decoration: underline;
cursor: pointer;
}
/* ==========================================================================
BOTTOM SHEET (VENTANA INFERIOR DESLIZABLE)
========================================================================== */
.bottom-sheet-backdrop {
position: fixed;
inset: 0;
background: rgba(15, 23, 42, 0.65);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
z-index: 10000;
display: flex;
align-items: flex-end;
justify-content: center;
opacity: 0;
pointer-events: none;
transition: opacity 0.25s ease;
}
.bottom-sheet-backdrop.open {
opacity: 1;
pointer-events: auto;
}
.bottom-sheet-card {
width: 100%;
max-width: 460px;
background: #ffffff;
border-top-left-radius: 28px;
border-top-right-radius: 28px;
padding: 14px 22px calc(24px + env(safe-area-inset-bottom, 12px));
box-shadow: 0 -12px 45px rgba(0, 0, 0, 0.32);
max-height: 90vh;
overflow-y: auto;
box-sizing: border-box;
transform: translateY(100%);
transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.bottom-sheet-backdrop.open .bottom-sheet-card {
transform: translateY(0);
}
.bottom-sheet-pill-handle {
width: 44px;
height: 5px;
border-radius: 3px;
background: #cbd5e1;
margin: 0 auto 14px;
}
.bottom-sheet-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 16px;
padding-bottom: 12px;
border-bottom: 1px solid #f1f5f9;
}
.bottom-sheet-close-btn {
background: #f1f5f9;
border: none;
width: 32px;
height: 32px;
border-radius: 50%;
font-size: 1.1rem;
color: #64748b;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.15s;
}
.bottom-sheet-close-btn:hover {
background: #e2e8f0;
color: #0f172a;
}
/* ==========================================================================
VISTA DE LOGIN CLÁSICA (COMPATIBILIDAD Y MEMORIA)
========================================================================== */
.login-overlay {
position: fixed;