Spaces:
Paused

dushyantsingh0
backend stabilisation
e0932b9
Raw History Blame Contribute Delete
10.8 kB
.nexus-shell {
display: flex;
background: var(--bg-dark);
height: 100vh;
width: 100vw;
font-family: var(--font-sans);
color: var(--text-main);
overflow: hidden;
}
@media (max-width: 1024px) {
.nexus-shell {
flex-direction: column;
overflow-y: auto;
height: auto;
}
}
.nexus-main-frame {
flex: 1;
display: flex;
flex-direction: column;
min-width: 0;
height: 100vh;
position: relative;
overflow: hidden;
background: var(--bg-dark);
}
@media (max-width: 1024px) {
.nexus-main-frame {
height: auto;
width: 100%;
min-height: calc(100vh - 80px); /* Account for mobile nav */
}
}
.nexus-viewport {
flex: 1;
overflow-y: auto;
padding: 0;
background: var(--bg-dark);
}
/* Splash Screens */
.nexus-loading-screen,
.nexus-unauthorized-overlay {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
background-color: var(--bg-dark);
background-image:
radial-gradient(circle at 50% 50%, var(--primary-glow) 0%, transparent 60%);
padding: 24px;
}
.nexus-loading-box,
.nexus-unauthorized-box {
background: var(--bg-card);
backdrop-filter: blur(32px) saturate(160%);
padding: 64px 48px;
border-radius: 36px;
border: 1.5px solid var(--border-subtle);
display: flex;
flex-direction: column;
align-items: center;
gap: 32px;
box-shadow: var(--shadow-xl);
max-width: 520px;
width: 100%;
text-align: center;
animation: splashIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
position: relative;
overflow: hidden;
}
.nexus-loading-box::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 4px;
background: var(--primary);
opacity: 0.15;
}
@keyframes splashIn {
from { opacity: 0; transform: scale(0.96) translateY(20px); }
to { opacity: 1; transform: scale(1) translateY(0); }
}
.nexus-loading-msg {
font-family: var(--font-heading);
font-size: 11px;
font-weight: 800;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.15em;
margin: 0;
}
.nexus-loading-bar {
width: 240px;
height: 4px;
background: rgba(0, 0, 0, 0.05);
border-radius: 10px;
overflow: hidden;
}
.nexus-loading-progress {
width: 40%;
height: 100%;
background: var(--primary);
border-radius: 10px;
animation: nexus-loading-slide 2s infinite ease-in-out;
box-shadow: 0 0 15px var(--primary-glow);
}
@keyframes nexus-loading-slide {
0% { transform: translateX(-100%); width: 20%; }
50% { width: 60%; }
100% { transform: translateX(200%); width: 20%; }
}
/* Security Overlay Text */
.nexus-unauthorized-box h1 {
font-family: var(--font-heading);
font-size: 32px;
font-weight: 800;
color: var(--text-main);
margin: 0;
letter-spacing: -0.03em;
}
.nexus-unauthorized-box p {
font-size: 16px;
line-height: 1.8;
color: var(--text-muted);
margin: 0;
font-weight: 500;
}
/* Buttons */
.nexus-btn-primary {
background: var(--primary);
color: white;
border: none;
padding: 18px 42px;
border-radius: 16px;
font-weight: 800;
font-size: 15px;
cursor: pointer;
transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
box-shadow: 0 10px 25px var(--primary-shadow);
font-family: var(--font-heading);
text-transform: uppercase;
letter-spacing: 0.05em;
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
}
.nexus-btn-primary:hover {
transform: translateY(-4px);
box-shadow: 0 15px 35px var(--primary-shadow);
}
.nexus-btn-secondary {
background: rgba(255, 255, 255, 0.03);
color: #fff;
border: 1.5px solid var(--border-subtle);
padding: 18px 42px;
border-radius: 16px;
font-weight: 800;
font-size: 15px;
cursor: pointer;
transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
font-family: var(--font-heading);
text-transform: uppercase;
letter-spacing: 0.05em;
}
.nexus-btn-secondary:hover {
background: rgba(255, 255, 255, 0.08);
border-color: var(--border-hi);
transform: translateY(-2px);
}
/* --- ORGANIC AESTHETIC OVERHAUL --- */
:root {
--organic-radius: 12px;
--organic-shadow: 0 20px 50px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.02);
--organic-primary: var(--banner-gradient, var(--primary));
--organic-glass: rgba(255, 255, 255, 0.7);
}
.organic-surface {
background: var(--bg-card);
backdrop-filter: blur(24px) saturate(160%);
-webkit-backdrop-filter: blur(24px) saturate(160%);
border: 1px solid var(--border-subtle);
box-shadow: var(--shadow-xl);
border-radius: var(--organic-radius);
transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.organic-lume {
position: relative;
overflow: hidden;
}
.organic-lume::after {
content: "";
position: absolute;
top: -50%;
left: -50%;
right: -50%;
bottom: -50%;
background: radial-gradient(circle at center, var(--primary-glow) 0%, transparent 70%);
opacity: 0.4;
pointer-events: none;
animation: aura-pulse 8s infinite alternate ease-in-out;
}
@keyframes aura-pulse {
0% { transform: scale(1) translate(-5%, -5%); opacity: 0.2; }
100% { transform: scale(1.1) translate(5%, 5%); opacity: 0.5; }
}
.speech-contour-user {
border-radius: 32px 32px 4px 32px;
background: var(--organic-primary) !important;
color: #fff !important;
box-shadow: 0 10px 30px var(--primary-glow);
}
.speech-contour-agent {
border-radius: 32px 32px 32px 4px;
background: #fff !important;
color: var(--text-main) !important;
border: 1px solid var(--border-subtle) !important;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}
.mesh-bg {
position: fixed;
inset: 0;
z-index: -1;
background-color: #fbfcfe;
background-image:
radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.08) 0px, transparent 50%),
radial-gradient(at 50% 0%, rgba(124, 58, 237, 0.08) 0px, transparent 50%),
radial-gradient(at 100% 0%, rgba(168, 85, 247, 0.08) 0px, transparent 50%),
radial-gradient(at 100% 100%, rgba(99, 102, 241, 0.08) 0px, transparent 50%),
radial-gradient(at 0% 100%, rgba(124, 58, 237, 0.08) 0px, transparent 50%);
opacity: 1;
}
.tactical-grid {
position: absolute;
inset: 0;
background-image:
linear-gradient(rgba(124, 58, 237, 0.05) 1px, transparent 1px),
linear-gradient(90deg, rgba(124, 58, 237, 0.05) 1px, transparent 1px);
background-size: 40px 40px;
mask-image: radial-gradient(circle at center, black, transparent 85%);
pointer-events: none;
z-index: 1;
}
.animate-float {
animation: float 6s ease-in-out infinite;
}
@keyframes float {
0% { transform: translateY(0px); }
50% { transform: translateY(-10px); }
100% { transform: translateY(0px); }
}
.shimmer {
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
background-size: 200% 100%;
animation: shimmer 2s infinite;
}
@keyframes shimmer {
0% { background-position: -200% 0; }
100% { background-position: 200% 0; }
}
/* --- SYSTEMIC DROPDOWN OVERHAUL --- */
.nexus-select {
width: 100%;
padding: 12px 16px;
border-radius: 12px;
border: 1.5px solid var(--border-subtle);
font-size: 13px;
font-weight: 600;
color: var(--text-main);
background: var(--bg-dark);
cursor: pointer;
outline: none;
appearance: none; /* Cross-browser reset */
-webkit-appearance: none;
-moz-appearance: none;
font-family: var(--font-sans);
transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.nexus-select:focus {
border-color: var(--primary);
box-shadow: 0 0 0 4px var(--primary-glow);
background: var(--bg-card);
}
.nexus-select option {
background: var(--bg-card);
color: var(--text-main);
padding: 12px;
font-weight: 500;
}
/* Custom indicator container */
.select-wrapper {
position: relative;
width: 100%;
}
.select-chevron {
position: absolute;
right: 14px;
top: 50%;
transform: translateY(-50%);
pointer-events: none;
color: var(--text-muted);
opacity: 0.6;
transition: opacity 0.3s;
}
.select-wrapper:hover .select-chevron {
opacity: 1;
}
/* Scrollbar hardening for dropdowns */
.nexus-select::-webkit-scrollbar {
width: 6px;
}
.nexus-select::-webkit-scrollbar-thumb {
background: var(--border-subtle);
border-radius: 10px;
}
/* --- RESPONSIVE GRID UTILITIES --- */
.nexus-metrics-grid,
.nexus-quick-actions-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 24px;
margin-bottom: 40px;
}
@media (max-width: 1280px) {
.nexus-metrics-grid,
.nexus-quick-actions-grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 768px) {
.nexus-metrics-grid,
.nexus-quick-actions-grid {
grid-template-columns: 1fr;
gap: 16px;
}
}
@media (max-width: 640px) {
.nexus-viewport {
padding: 0;
}
.nexus-dashboard-padding {
padding: 24px !important;
}
}
/* --- RESPONSIVE GRID UTILITIES --- */
.nexus-metrics-grid,
.nexus-quick-actions-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 24px;
margin-bottom: 40px;
}
@media (max-width: 1280px) {
.nexus-metrics-grid,
.nexus-quick-actions-grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 768px) {
.nexus-metrics-grid,
.nexus-quick-actions-grid {
grid-template-columns: 1fr;
gap: 16px;
}
}
@media (max-width: 640px) {
.nexus-viewport {
padding: 0;
}
.nexus-dashboard-padding {
padding: 24px !important;
}
}
.nexus-secondary-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 32px;
}
@media (max-width: 1024px) {
.nexus-secondary-grid {
grid-template-columns: 1fr;
gap: 24px;
}
}
@media (max-width: 768px) {
.nexus-dashboard-hero {
padding: 32px !important;
gap: 32px !important;
}
.nexus-dashboard-hero h1 {
font-size: 28px !important;
}
}
.nexus-article-item {
padding: 20px;
margin: 0 -20px;
border-radius: 16px;
border-bottom: 1px solid var(--border-subtle);
cursor: pointer;
transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nexus-article-item:last-child {
border-bottom: none;
}
.nexus-article-item:hover {
background: var(--bg-hover);
transform: translateY(-4px) scale(1.02);
box-shadow: 0 20px 40px rgba(0,0,0,0.06);
border-bottom-color: transparent;
z-index: 2;
position: relative;
}
.nexus-ticket-item {
padding: 20px;
margin: 0 -20px;
border-radius: 16px;
border-bottom: 1px solid var(--border-subtle);
cursor: pointer;
transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
display: flex;
align-items: center;
gap: 16px;
}
.nexus-ticket-item:last-child {
border-bottom: none;
}
.nexus-ticket-item:hover {
background: var(--bg-hover);
transform: translateY(-4px) scale(1.02);
box-shadow: 0 20px 40px rgba(0,0,0,0.06);
border-bottom-color: transparent;
z-index: 2;
position: relative;
}