Spaces:
Paused

nexus / frontend /packages /shared /src /components /LoginCard.module.css
dushyantsingh0
Beta 1.0: Pure Backend Release (Excluding Frontend)
5eb4857
Raw History Blame Contribute Delete
3.78 kB
.loginPage {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
z-index: 9999;
background: linear-gradient(-45deg, #020617, #0f172a, #1e1b4b, #020617);
background-size: 400% 400%;
animation: liquidBg 15s ease infinite;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
@keyframes liquidBg {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
.card {
width: 100%;
max-width: 440px;
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(24px);
-webkit-backdrop-filter: blur(24px);
padding: 56px 48px;
border-radius: 32px;
border: 1px solid rgba(255, 255, 255, 0.4);
box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
display: flex;
flex-direction: column;
gap: 40px;
animation: cardEntrance 0.8s cubic-bezier(0.23, 1, 0.32, 1);
box-sizing: border-box;
}
@keyframes cardEntrance {
from { opacity: 0; transform: translateY(30px) scale(0.98); }
to { opacity: 1; transform: translateY(0) scale(1); }
}
.header {
text-align: center;
}
.brandLogo {
font-size: 36px;
font-weight: 900;
letter-spacing: -0.04em;
margin-bottom: 12px;
background: linear-gradient(135deg, #1e40af 0%, #4f46e5 100%);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
display: flex;
align-items: center;
justify-content: center;
animation: shimmer 4s ease-in-out infinite;
}
@keyframes shimmer {
0% { filter: brightness(1) drop-shadow(0 0 0px rgba(79, 70, 229, 0)); }
50% { filter: brightness(1.15) drop-shadow(0 0 8px rgba(79, 70, 229, 0.2)); }
100% { filter: brightness(1) drop-shadow(0 0 0px rgba(79, 70, 229, 0)); }
}
.subtitle {
color: #475569;
font-size: 15px;
font-weight: 600;
letter-spacing: 0.01em;
opacity: 0.8;
}
.form {
display: flex;
flex-direction: column;
gap: 24px;
}
.submitBtn {
width: 100%;
margin-top: 12px;
height: 54px;
border-radius: 14px;
font-size: 16px;
font-weight: 800;
background: linear-gradient(135deg, #1e40af 0%, #4f46e5 100%) !important;
color: #fff !important;
border: none !important;
box-shadow: 0 10px 30px rgba(30, 64, 175, 0.2);
cursor: pointer;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.submitBtn:hover {
transform: translateY(-3px);
box-shadow: 0 15px 40px rgba(30, 64, 175, 0.4);
filter: brightness(1.1);
}
.footer {
text-align: center;
font-size: 14px;
color: #64748b;
font-weight: 500;
}
.footer .link {
color: #1e40af;
font-weight: 800;
text-decoration: none;
cursor: pointer;
margin-left: 6px;
transition: color 0.2s ease;
}
.footer .link:hover {
color: #4f46e5;
text-decoration: underline;
}
.partnerBranding {
position: absolute;
bottom: 24px;
left: 0;
right: 0;
text-align: center;
color: rgba(255, 255, 255, 0.4);
font-size: 11px;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.3em;
display: flex;
align-items: center;
justify-content: center;
gap: 16px;
pointer-events: none;
}
.line {
height: 1px;
width: 32px;
background: rgba(255, 255, 255, 0.15);
}
.errorAlert {
background: #FEF2F2;
border: 1px solid #FEE2E2;
color: #B91C1C;
padding: 14px 18px;
border-radius: 14px;
font-size: 13px;
font-weight: 600;
line-height: 1.5;
display: flex;
align-items: center;
gap: 10px;
animation: errorShake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}
@keyframes errorShake {
10%, 90% { transform: translateX(-1px); }
20%, 80% { transform: translateX(2px); }
30%, 50%, 70% { transform: translateX(-4px); }
40%, 60% { transform: translateX(4px); }
}