Spaces:
3SCError404
/
Paused

nexus / frontend /apps /customer /src /App.css
dushyantsingh0
backend stabilization
fdde098
Raw History Blame Contribute Delete
3.99 kB
.nexus-shell {
display: flex;
background: var(--bg-dark);
min-height: 100vh;
font-family: var(--font-main);
color: var(--text-main);
}
.nexus-main-frame {
flex: 1;
display: flex;
flex-direction: column;
min-width: 0;
overflow: hidden;
}
.nexus-viewport {
flex: 1;
overflow-y: auto;
}
/* Base styles to match reference JSX */
* {
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
background: var(--bg-dark);
}
@keyframes branding-shimmer {
0% { background-position: -200% 0; }
100% { background-position: 200% 0; }
}
.nexus-branding-animated {
background: linear-gradient(
90deg,
var(--primary) 0%,
var(--primary-glow) 50%,
var(--primary) 100%
);
background-size: 200% auto;
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
animation: branding-shimmer 4s infinite linear;
display: inline-block;
font-weight: 800;
font-family: var(--font-header);
}
.nexus-loading-screen {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
background: var(--bg-dark);
}
.nexus-loading-box {
background: rgba(255, 255, 255, 0.03);
backdrop-filter: blur(24px);
padding: 48px;
border-radius: 24px;
border: 1px solid rgba(255, 255, 255, 0.08);
display: flex;
flex-direction: column;
align-items: center;
gap: 24px;
box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
max-width: 400px;
text-align: center;
animation: nexus-fade-in 0.8s ease-out;
}
.nexus-loading-msg {
font-size: 11px;
font-weight: 800;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.15em;
margin: 0;
}
.nexus-loading-bar {
width: 200px;
height: 4px;
background: rgba(255, 255, 255, 0.05);
border-radius: 2px;
overflow: hidden;
}
.nexus-loading-progress {
width: 40%;
height: 100%;
background: var(--primary);
border-radius: 2px;
animation: nexus-loading-slide 2s infinite ease-in-out;
}
@keyframes nexus-loading-slide {
0% { transform: translateX(-100%); }
50% { transform: translateX(150%); }
100% { transform: translateX(-100%); }
}
@keyframes nexus-fade-in {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
/* Security & Redirection Overlay */
.nexus-unauthorized-overlay {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
background: var(--bg-dark);
padding: 24px;
}
.nexus-unauthorized-box {
background: rgba(255, 255, 255, 0.03);
backdrop-filter: blur(24px);
padding: 48px;
border-radius: 24px;
border: 1px solid rgba(255, 255, 255, 0.08);
display: flex;
flex-direction: column;
align-items: center;
gap: 16px;
box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
max-width: 520px;
text-align: center;
animation: nexus-fade-in 0.8s ease-out;
}
.nexus-unauthorized-box h1 {
font-size: 32px;
font-weight: 800;
color: var(--text-main);
margin: 12px 0 0;
letter-spacing: -0.02em;
font-family: var(--font-header);
}
.nexus-unauthorized-box p {
font-size: 15px;
line-height: 1.6;
color: var(--text-muted);
margin-bottom: 24px;
}
.nexus-unauthorized-actions {
display: flex;
flex-direction: column;
gap: 12px;
width: 100%;
}
.nexus-btn-primary {
background: var(--primary);
color: white;
border: none;
padding: 16px 28px;
border-radius: 14px;
font-weight: 700;
font-size: 15px;
cursor: pointer;
transition: all 0.2s;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.nexus-btn-primary:hover {
transform: translateY(-2px);
background: var(--primary-glow);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.nexus-btn-secondary {
background: rgba(255, 255, 255, 0.05);
color: var(--text-main);
border: 1px solid var(--border-subtle);
padding: 16px 28px;
border-radius: 14px;
font-weight: 600;
font-size: 15px;
cursor: pointer;
transition: all 0.2s;
}
.nexus-btn-secondary:hover {
background: rgba(255, 255, 255, 0.1);
}