Spaces:
Paused

File size: 4,291 Bytes
5eb4857
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
534ec62
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
.nexus-shell {
  display: flex;
  background: #F9FAFB; /* COLORS.gray50 */
  min-height: 100vh;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  letter-spacing: -0.02em;
  color: #111827; /* COLORS.gray900 */
}

.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;
}

@keyframes branding-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes branding-pulse {
  0%, 100% { opacity: 1; filter: brightness(1) saturate(1); }
  50% { opacity: 0.9; filter: brightness(1.3) saturate(1.2); }
}

.nexus-branding-animated {
  background: linear-gradient(
    90deg,
    #C2410C 0%,
    #B91C1C 25%,
    #991B1B 50%,
    #B91C1C 75%,
    #C2410C 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 1px rgba(194, 65, 12, 0.2);
  animation: branding-shimmer 4s infinite linear, branding-pulse 3s infinite ease-in-out;
  display: inline-block;
  font-weight: 800;
}

.nexus-loading-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: radial-gradient(circle at 50% 50%, #F8FAFC 0%, #F1F5F9 100%);
}

.nexus-loading-box {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  padding: 48px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  box-shadow: 0 40px 100px rgba(30, 58, 138, 0.1);
  max-width: 400px;
  text-align: center;
  animation: nexus-fade-in 0.8s ease-out;
}

.nexus-loading-msg {
  font-size: 14px;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
}

.nexus-loading-bar {
  width: 240px;
  height: 6px;
  background: #E2E8F0;
  border-radius: 3px;
  overflow: hidden;
}

.nexus-loading-progress {
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, #1E40AF, #3B82F6);
  border-radius: 3px;
  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: radial-gradient(circle at 50% 50%, #F8FAFC 0%, #F1F5F9 100%);
  padding: 24px;
}

.nexus-unauthorized-box {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  padding: 48px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-shadow: 0 40px 100px rgba(30, 58, 138, 0.1);
  max-width: 520px;
  text-align: center;
  animation: nexus-fade-in 0.8s ease-out;
}

.nexus-unauthorized-box h1 {
  font-size: 36px;
  font-weight: 800;
  color: #1E293B;
  margin: 12px 0 0;
  letter-spacing: -0.02em;
}

.nexus-unauthorized-box p {
  font-size: 16px;
  line-height: 1.6;
  color: #64748B;
  margin-bottom: 24px;
}

.nexus-unauthorized-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.nexus-btn-primary {
  background: linear-gradient(90deg, #1E40AF, #3B82F6);
  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(30, 64, 175, 0.2);
}

.nexus-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 64, 175, 0.3);
  filter: brightness(1.1);
}

.nexus-btn-secondary {
  background: #F1F5F9;
  color: #475569;
  border: 1px solid #E2E8F0;
  padding: 16px 28px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
}

.nexus-btn-secondary:hover {
  background: #E2E8F0;
  color: #1E293B;
}