-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstyles.css
More file actions
312 lines (277 loc) · 12.7 KB
/
Copy pathstyles.css
File metadata and controls
312 lines (277 loc) · 12.7 KB
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
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
:root {
--bg: #0b1020;
--panel: #0f1530;
--panel-2: #0b122a;
--text: #f2f4f8;
--muted: #b9bfd3;
--brand: #6c7cff;
--brand-2: #3ee7b5;
--line: #202846;
--success: #38d365;
}
* {
box-sizing: border-box;
}
html, body {
margin: 0;
padding: 0;
background: radial-gradient(1200px 600px at 80% -10%, rgba(108,124,255,.25), transparent),
radial-gradient(900px 500px at -10% -20%, rgba(62,231,181,.15), transparent),
var(--bg);
color: var(--text);
font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
}
.container {
width: min(1120px, 92vw);
margin: 0 auto;
}
/* Nav */
.nav {
position: sticky;
top: 0;
z-index: 20;
backdrop-filter: blur(8px);
background: rgba(11, 16, 32, .6);
border-bottom: 1px solid var(--line);
}
.nav__inner {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 0;
}
.logo {
font-weight: 800;
font-size: 20px;
}
.logo span { color: var(--brand); }
.nav__links a {
color: var(--text);
text-decoration: none;
margin-left: 18px;
opacity: .9;
}
/* Hero */
.hero {
position: relative;
padding: 72px 0 48px;
}
.hero__inner {
display: grid;
grid-template-columns: 1.15fr .85fr;
gap: 36px;
align-items: center;
}
.hero h1 { font-size: 44px; margin: 0 0 8px; }
.subtitle { color: var(--muted); margin: 0 0 18px; }
.hero__cta { display: flex; gap: 12px; margin: 18px 0 20px; }
.hub-cta { flex-direction: column; align-items: center; }
.hub-cta .btn { width: 260px; justify-content: center; }
.hero__badges { display: flex; gap: 10px; flex-wrap: wrap; }
.badge { background: rgba(108,124,255,.15); color: #dfe3ff; padding: 6px 10px; border-radius: 999px; font-size: 12px; }
.hero__visual { display: flex; justify-content: flex-end; }
.hero__bg { position: absolute; inset: 0; background: radial-gradient(600px 300px at 80% 0%, rgba(108,124,255,.08), transparent); pointer-events: none; }
/* Sections */
.section { padding: 56px 0; }
.section--alt { background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0)); }
.section h2 { margin: 0 0 8px; font-size: 28px; }
.section__lead { color: var(--muted); margin: 0 0 22px; }
.grid.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.feature__icon { font-size: 22px; }
.grid.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pricecard { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; }
.pricecard--pro { border-color: rgba(108,124,255,.6); box-shadow: 0 0 0 1px rgba(108,124,255,.25) inset; }
.pricecard__header { display: flex; align-items: baseline; justify-content: space-between; }
.price { font-size: 28px; font-weight: 800; color: var(--brand); }
.pricecard ul { margin: 12px 0 18px; padding-left: 18px; color: var(--muted); }
/* Tabs */
.tabs { display: inline-flex; gap: 8px; background: var(--panel-2); border: 1px solid var(--line); padding: 6px; border-radius: 12px; }
.tab { background: transparent; color: var(--text); border: 1px solid transparent; padding: 8px 12px; border-radius: 10px; cursor: pointer; }
.tab.is-active { background: rgba(108,124,255,.14); border-color: rgba(108,124,255,.35); }
.tabpanes { margin-top: 18px; }
.tabpane { display: none; }
.tabpane.is-active { display: block; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.card__title { font-weight: 700; margin-bottom: 10px; }
.card__row { display: flex; align-items: center; justify-content: space-between; border-top: 1px dashed #273159; padding: 8px 0; }
/* Lists */
.list { margin: 0; padding-left: 18px; color: var(--muted); }
/* Buttons */
.btn { background: linear-gradient(180deg, #7c8aff, #5767ff); color: white; border: 0; padding: 10px 14px; border-radius: 10px; font-weight: 600; cursor: pointer; box-shadow: 0 4px 18px rgba(108,124,255,.25); }
.btn:hover { filter: brightness(1.05); }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid #33407a; box-shadow: none; }
.btn--sm { padding: 8px 12px; font-size: 14px; }
.btn--block { width: 100%; }
.iconbtn { background: transparent; border: 0; color: var(--text); cursor: pointer; font-size: 16px; }
.chip { padding: 4px 8px; border-radius: 999px; background: #243163; font-size: 12px; }
.chip--success { background: #193b2a; color: #b8ffd0; }
/* Demo */
.demo { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; }
.demo__controls { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: end; }
.demo__controls label { display: grid; gap: 6px; color: var(--muted); font-size: 14px; }
.demo__controls select, .demo__controls input { background: #0b1533; color: var(--text); border: 1px solid #273159; border-radius: 8px; padding: 8px 10px; }
.demo__panel { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat { background: #0b1533; border: 1px solid #273159; border-radius: 12px; padding: 12px; }
.stat__label { color: var(--muted); font-size: 12px; }
.stat__value { font-size: 22px; font-weight: 800; margin-top: 4px; }
/* Auth */
.auth { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; align-items: end; }
.auth label { display: grid; gap: 6px; color: var(--muted); font-size: 14px; }
.auth input { background: #0b1533; color: var(--text); border: 1px solid #273159; border-radius: 8px; padding: 8px 10px; }
.auth__status { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
.auth__user { color: #dfe3ff; font-weight: 600; }
/* Highlight pulse */
.pulse { box-shadow: 0 0 0 3px rgba(108,124,255,.45), 0 0 0 10px rgba(108,124,255,.18); transition: box-shadow .4s ease; }
/* Usage meter */
.demo__graph { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin-bottom: 12px; grid-column: 1 / -1; }
.demo__graph canvas { width: 100%; height: 180px; display: block; }
.usage { display: none; }
/* Admin */
.admin { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; }
.admin__controls { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: end; }
.admin__controls label { display: grid; gap: 6px; color: var(--muted); font-size: 14px; }
.admin__controls input, .admin__controls select { background: #0b1533; color: var(--text); border: 1px solid #273159; border-radius: 8px; padding: 8px 10px; }
.admin__preview { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.toast { margin-top: 8px; color: #b8ffd0; background: #143a28; border: 1px solid #1c5e3e; padding: 8px 10px; border-radius: 8px; display: none; }
/* Tables */
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.table th { color: var(--muted); font-weight: 600; }
.tag { padding: 4px 8px; border-radius: 999px; font-size: 12px; border: 1px solid #273159; }
.tag--danger { color: #ffd1d1; background: #3a1414; border-color: #5e1c1c; }
.tag--warn { color: #fff0cc; background: #3a2a14; border-color: #5e451c; }
/* Footer */
.footer { border-top: 1px solid var(--line); padding: 32px 0; margin-top: 24px; background: rgba(255,255,255,.02); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; }
.footer__links a { color: var(--muted); text-decoration: none; margin-left: 14px; }
/* Modal */
.modal { position: fixed; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.45); }
.modal[hidden] { display: none; }
.modal__dialog { width: min(520px, 92vw); background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.modal__header { display: flex; align-items: center; justify-content: space-between; }
.modal__body { color: var(--muted); margin: 10px 0 16px; }
.modal__actions { display: flex; gap: 10px; justify-content: flex-end; }
.modal form {
display: flex;
flex-direction: column;
gap: 16px;
margin-bottom: 16px;
}
.modal form label {
display: flex;
flex-direction: column;
gap: 4px;
font-size: 14px;
font-weight: 500;
}
.modal form input,
.modal form select {
padding: 8px 12px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 14px;
}
/* Cards */
.cards .pricecard button { margin-top: auto; }
/* Payment page specific helpers (keeps visual theme consistent with main site) */
.payment-card { max-width: 980px; margin: 28px auto; padding: 20px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(2,6,23,0.45); }
.plans-row { display:flex; gap:16px; flex-wrap:wrap; align-items: start; }
.plan-col { flex:1; min-width:260px; }
.plan { background: transparent; border-radius: 12px; padding: 12px; }
.plan-box { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-bottom: 8px; }
.price { font-size: 18px; font-weight: 800; color: var(--brand); margin: 6px 0 8px; }
.actions { display:flex; gap:10px; margin-top:12px; align-items:center; }
/* Button aliases used by payment.html to match existing .btn styles */
.btn { /* keep existing look, ensure availability */ background: linear-gradient(180deg, #7c8aff, #5767ff); color: white; border: 0; padding: 10px 14px; border-radius: 10px; font-weight: 600; cursor: pointer; box-shadow: 0 4px 18px rgba(108,124,255,.25); }
.btn:hover { filter: brightness(1.05); }
.btn.primary { /* alias for main action (keeps parity) */ background: linear-gradient(180deg, #7c8aff, #5767ff); color: #fff; border: 0; box-shadow: 0 6px 22px rgba(108,124,255,.16); }
.btn.ghost { /* alias for ghost variant (keeps parity) */ background: transparent; color: var(--text); border: 1px solid #33407a; box-shadow: none; }
/* Message box on payment page */
.msg, .message { margin-top:12px; padding:10px; border-radius:8px; display:none; background: rgba(108,124,255,0.06); color: var(--muted); border: 1px solid rgba(108,124,255,0.06); }
/* ensure message element is visible when toggled */
.msg[style] { display: block; }
/* small helper utilities used by payment.html */
.small { font-size: 13px; }
.muted { color: var(--muted); }
.note { margin-top:8px; color: var(--muted); }
/* Form inputs reuse existing auth styles */
input[type="email"], input[type="password"], input[type="text"], textarea {
background: #0b1533;
color: var(--text);
border: 1px solid #273159;
border-radius: 8px;
padding: 8px 10px;
width: 100%;
}
/* Ensure responsive stacking like main layout */
@media (max-width: 820px) {
.plans-row { flex-direction: column; }
.plan-col { min-width: auto; }
}
/* Small screens */
@media (max-width: 940px) {
.hero__inner, .demo, .admin { grid-template-columns: 1fr; }
.grid.features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
.nav__inner { flex-direction: column; gap: 10px; }
.nav__links { display: flex; flex-wrap: wrap; justify-content: center; }
.grid.features { grid-template-columns: 1fr; }
.grid.cards { grid-template-columns: 1fr; }
.demo__controls, .admin__controls { grid-template-columns: 1fr 1fr; }
.auth { grid-template-columns: 1fr 1fr; }
}
/* Device Manager */
.device-manager {
margin-top: 20px;
padding-top: 20px;
border-top: 1px solid var(--line);
grid-column: 1 / -1;
}
.device-manager h4 {
margin: 0 0 12px;
font-size: 14px;
font-weight: 600;
color: var(--muted);
}
.device-list {
margin-bottom: 12px;
font-size: 14px;
}
.device-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 8px; /* Reduced padding for a smaller block */
background: var(--panel-2);
border: 1px solid var(--line);
border-radius: 8px;
margin-bottom: 8px;
}
.device-item__info {
display: flex;
gap: 8px;
align-items: center;
}
.device-item__name {
color: var(--text);
font-weight: 500;
}
.device-item__type {
font-size: 12px;
color: var(--muted);
}
.device-item__remove {
color: var(--muted);
background: transparent;
border: none;
cursor: pointer;
font-size: 16px; /* Adjust size as needed */
padding: 0; /* Remove padding for a tighter fit */
}
.device-item__remove:hover {
color: var(--text); /* Change color on hover */
}