1/* ZnoteX installer — same visual language as the admin panel, standalone. */
2
3:root {
4 --bg: #eef1f5;
5 --panel: #ffffff;
6 --panel-2: #f7f9fb;
7 --fg: #222831;
8 --muted: #6b7787;
9 --line: #dfe4ec;
10 --accent: #17a2b8;
11 --green: #2ea36c;
12 --red: #e05563;
13 --amber: #e6a532;
14 --radius: 10px;
15 --shadow: 0 1px 2px rgba(20,30,45,.06), 0 4px 14px rgba(20,30,45,.06);
16}
17
18* { box-sizing: border-box; }
19
20body {
21 margin: 0;
22 min-height: 100vh;
23 background: var(--bg);
24 color: var(--fg);
25 font: 14.5px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
26 -webkit-font-smoothing: antialiased;
27}
28
29.wrap { max-width: 860px; margin: 0 auto; padding: 32px 20px 60px; }
30
31/* Header */
32.head {
33 display: flex;
34 align-items: center;
35 justify-content: space-between;
36 margin-bottom: 22px;
37}
38.brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; }
39.mark {
40 display: grid; place-items: center;
41 width: 34px; height: 34px;
42 border-radius: 8px;
43 background: var(--accent); color: #fff;
44 font-size: 13px; font-weight: 700; letter-spacing: .4px;
45}
46.version { color: var(--muted); font-size: 13px; }
47
48/* Step rail */
49.steps {
50 display: flex; flex-wrap: wrap; gap: 6px;
51 margin: 0 0 18px; padding: 0; list-style: none;
52}
53.steps li {
54 display: flex; align-items: center; gap: 8px;
55 flex: 1 1 120px;
56 padding: 9px 12px;
57 background: var(--panel); border: 1px solid var(--line);
58 border-radius: var(--radius);
59 color: var(--muted); font-size: 12.5px;
60}
61.steps .num {
62 display: grid; place-items: center;
63 width: 22px; height: 22px; flex: 0 0 22px;
64 border-radius: 50%;
65 background: var(--panel-2); border: 1px solid var(--line);
66 font-size: 11px; font-weight: 700;
67}
68.steps li.is-current { border-color: var(--accent); color: var(--fg); font-weight: 600; }
69.steps li.is-current .num { background: var(--accent); border-color: var(--accent); color: #fff; }
70.steps li.is-done .num { background: var(--green); border-color: var(--green); color: #fff; }
71
72/* Card */
73.card {
74 background: var(--panel);
75 border: 1px solid var(--line);
76 border-radius: var(--radius);
77 box-shadow: var(--shadow);
78 padding: 26px 28px;
79}
80.card h1 { margin: 0 0 6px; font-size: 21px; }
81.card h2 { margin: 26px 0 10px; font-size: 15px; }
82.card > p:first-of-type { margin-top: 0; }
83.lead { color: var(--muted); margin: 0 0 22px; }
84
85/* Messages */
86.good, .bad, .warn, .info {
87 padding: 11px 14px; border-radius: 6px;
88 border: 1px solid transparent; border-left-width: 4px;
89 margin: 0 0 16px; font-size: 13.5px;
90}
91.good { background:#e8f7ef; border-color:#b8e6cd; border-left-color:var(--green); color:#1c6b45; }
92.bad { background:#fdecee; border-color:#f6c9ce; border-left-color:var(--red); color:#9e2733; }
93.warn { background:#fdf3e3; border-color:#f3ddb4; border-left-color:var(--amber); color:#8a5c12; }
94.info { background:#e9f4fa; border-color:#bfdff0; border-left-color:var(--accent);color:#1b5b7d; }
95
96/* Checklist */
97.checks { margin: 0; padding: 0; list-style: none; }
98.checks li {
99 display: flex; align-items: flex-start; gap: 10px;
100 padding: 10px 0; border-bottom: 1px solid var(--line);
101}
102.checks li:last-child { border-bottom: 0; }
103.checks .state { flex: 0 0 20px; font-weight: 700; line-height: 1.5; }
104.checks .ok { color: var(--green); }
105.checks .no { color: var(--red); }
106.checks .opt { color: var(--amber); }
107.checks .what { flex: 1 1 auto; }
108.checks .detail { display: block; color: var(--muted); font-size: 12.5px; }
109
110/* Forms */
111.field { margin-bottom: 15px; }
112.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 15px; }
113label.lbl { display: block; margin-bottom: 5px; font-size: 12.5px; font-weight: 600; }
114input[type=text], input[type=password], input[type=email], input[type=number], select {
115 width: 100%; padding: 9px 11px;
116 border: 1px solid var(--line); border-radius: 6px;
117 background: var(--panel); color: var(--fg);
118 font: inherit; font-size: 14px; outline: none;
119}
120input:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(23,162,184,.16); }
121.hint { margin: 5px 0 0; color: var(--muted); font-size: 12.5px; }
122
123/* Buttons */
124.actions { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin-top: 22px; }
125.btn {
126 display: inline-flex; align-items: center; gap: 7px;
127 padding: 9px 17px; border: 1px solid transparent; border-radius: 6px;
128 background: var(--accent); color: #fff;
129 font: inherit; font-size: 14px; font-weight: 600;
130 text-decoration: none; cursor: pointer;
131}
132.btn:hover { filter: brightness(1.08); }
133.btn.ghost { background: transparent; border-color: var(--line); color: var(--fg); }
134.btn.ghost:hover { background: var(--panel-2); filter: none; }
135.btn.green { background: var(--green); }
136.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
137
138/* Bits */
139code {
140 font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
141 font-size: 12.5px;
142 background: var(--panel-2); padding: 1px 5px; border-radius: 4px;
143}
144pre {
145 background:#10161e; color:#c3cede; padding:14px; border-radius:6px;
146 overflow-x:auto; font-size:12.5px; line-height:1.5;
147}
148pre code { background: none; padding: 0; color: inherit; }
149table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 10px 0; }
150th, td { padding: 8px 10px; text-align: left; border-bottom: 1px solid var(--line); }
151th { color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; }
152.foot { margin-top: 20px; color: var(--muted); font-size: 12.5px; text-align: center; }
153