|
| 1 | +@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap'); |
1 | 2 | :root { |
2 | 3 | color-scheme: light; |
| 4 | + --bg: #f5f7fb; |
| 5 | + --panel: #ffffff; |
| 6 | + --border: #e4e8f1; |
| 7 | + --text: #0f172a; |
| 8 | + --muted: #4b5563; |
| 9 | + --accent: #0b63f6; |
| 10 | + --accent-soft: #dfeafe; |
| 11 | + --shadow: 0 12px 30px -14px rgba(15, 23, 42, 0.35); |
| 12 | + --radius: 14px; |
3 | 13 | } |
4 | 14 |
|
5 | 15 | body { |
6 | | - font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; |
| 16 | + font-family: 'Space Grotesk', 'Segoe UI', system-ui, -apple-system, sans-serif; |
7 | 17 | margin: 0; |
8 | | - padding: 0; |
9 | | - background: #f6f8fb; |
| 18 | + padding: 16px; |
| 19 | + background: radial-gradient(circle at 18% 20%, #e8f0ff 0, rgba(232,240,255,0) 30%), radial-gradient(circle at 92% 10%, #dff5ff 0, rgba(223,245,255,0) 25%), var(--bg); |
| 20 | + color: var(--text); |
10 | 21 | } |
11 | 22 |
|
12 | 23 | .shell { |
13 | | - padding: 16px; |
| 24 | + padding: 0; |
| 25 | + max-width: 460px; |
14 | 26 | } |
15 | 27 |
|
16 | 28 | header { |
17 | | - margin-bottom: 12px; |
| 29 | + margin-bottom: 10px; |
18 | 30 | } |
19 | 31 |
|
20 | 32 | .eyebrow { |
21 | 33 | text-transform: uppercase; |
22 | 34 | letter-spacing: 0.1em; |
23 | 35 | font-size: 11px; |
24 | | - color: #6b7280; |
| 36 | + color: var(--muted); |
25 | 37 | } |
26 | 38 |
|
27 | 39 | h2 { |
28 | 40 | margin: 4px 0; |
29 | 41 | font-size: 20px; |
| 42 | + letter-spacing: -0.02em; |
30 | 43 | } |
31 | 44 |
|
32 | 45 | .muted { |
33 | | - color: #6b7280; |
| 46 | + color: var(--muted); |
34 | 47 | font-size: 12px; |
35 | 48 | } |
36 | 49 |
|
37 | 50 | .card { |
38 | | - background: #fff; |
39 | | - border: 1px solid #e5e7eb; |
40 | | - border-radius: 10px; |
41 | | - padding: 12px; |
42 | | - margin-bottom: 12px; |
43 | | - box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06); |
| 51 | + background: var(--panel); |
| 52 | + border: 1px solid var(--border); |
| 53 | + border-radius: var(--radius); |
| 54 | + padding: 14px; |
| 55 | + margin-bottom: 14px; |
| 56 | + box-shadow: var(--shadow); |
44 | 57 | } |
45 | 58 |
|
46 | 59 | .card-title { |
|
62 | 75 |
|
63 | 76 | .label { |
64 | 77 | font-size: 12px; |
65 | | - color: #6b7280; |
| 78 | + color: var(--muted); |
66 | 79 | margin-bottom: 2px; |
67 | 80 | } |
68 | 81 |
|
69 | 82 | input { |
70 | 83 | width: 100%; |
71 | 84 | padding: 10px; |
72 | | - border: 1px solid #e5e7eb; |
73 | | - border-radius: 8px; |
| 85 | + border: 1px solid var(--border); |
| 86 | + border-radius: 10px; |
74 | 87 | box-sizing: border-box; |
75 | 88 | font-size: 14px; |
76 | 89 | margin: 4px 0; |
| 90 | + background: #f9fbff; |
77 | 91 | } |
78 | 92 |
|
79 | 93 | button { |
80 | | - background: #0f172a; |
| 94 | + background: var(--text); |
81 | 95 | color: #fff; |
82 | 96 | border: none; |
83 | | - border-radius: 8px; |
| 97 | + border-radius: 10px; |
84 | 98 | padding: 10px 14px; |
85 | 99 | cursor: pointer; |
86 | 100 | font-weight: 600; |
| 101 | + letter-spacing: -0.01em; |
87 | 102 | } |
88 | 103 |
|
89 | 104 | button.secondary { |
90 | | - background: #e5e7eb; |
91 | | - color: #0f172a; |
| 105 | + background: #eef1f6; |
| 106 | + color: var(--text); |
92 | 107 | } |
93 | 108 |
|
94 | 109 | .pill { |
95 | | - background: #0ea5e9; |
| 110 | + background: var(--accent); |
96 | 111 | color: #fff; |
97 | | - padding: 4px 8px; |
| 112 | + padding: 4px 10px; |
98 | 113 | border-radius: 999px; |
99 | 114 | display: inline-block; |
100 | 115 | font-size: 12px; |
| 116 | + font-weight: 700; |
101 | 117 | } |
102 | 118 |
|
103 | 119 | .results ul { |
@@ -125,57 +141,69 @@ button.secondary { |
125 | 141 | } |
126 | 142 |
|
127 | 143 | .insert-btn { |
128 | | - background: #0ea5e9; |
| 144 | + background: var(--accent); |
129 | 145 | color: #fff; |
130 | | - padding: 6px 10px; |
| 146 | + padding: 8px 12px; |
131 | 147 | font-size: 11px; |
132 | | - border-radius: 6px; |
| 148 | + border-radius: 10px; |
133 | 149 | white-space: nowrap; |
134 | | - font-weight: 500; |
| 150 | + font-weight: 600; |
135 | 151 | } |
136 | 152 |
|
137 | 153 | .insert-btn:hover { |
138 | | - background: #0284c7; |
| 154 | + background: #0a54d6; |
139 | 155 | } |
140 | 156 |
|
141 | 157 | .fav-btn { |
142 | | - background: #f59e0b; |
| 158 | + background: linear-gradient(135deg, #f7b500 0%, #e69700 100%); |
143 | 159 | color: #fff; |
144 | 160 | padding: 6px 10px; |
145 | 161 | font-size: 14px; |
146 | | - border-radius: 6px; |
147 | | - font-weight: 500; |
| 162 | + border-radius: 10px; |
| 163 | + font-weight: 600; |
148 | 164 | } |
149 | 165 |
|
150 | 166 | .fav-btn:hover { |
151 | | - background: #d97706; |
| 167 | + filter: brightness(0.96); |
152 | 168 | } |
153 | 169 |
|
154 | 170 | .tabs { |
155 | | - display: flex; |
156 | | - gap: 4px; |
| 171 | + display: grid; |
| 172 | + grid-template-columns: repeat(auto-fit, minmax(88px, 1fr)); |
| 173 | + gap: 8px; |
157 | 174 | margin-bottom: 12px; |
158 | | - border-bottom: 1px solid #e5e7eb; |
| 175 | + border: 1px solid var(--border); |
| 176 | + border-radius: 16px; |
| 177 | + padding: 10px; |
| 178 | + background: var(--panel); |
| 179 | + box-shadow: var(--shadow); |
159 | 180 | } |
160 | 181 |
|
161 | 182 | .tab { |
162 | | - background: transparent; |
163 | | - color: #6b7280; |
164 | | - padding: 8px 12px; |
165 | | - font-size: 13px; |
166 | | - border: none; |
167 | | - border-bottom: 2px solid transparent; |
| 183 | + background: #f6f8fc; |
| 184 | + color: #465467; |
| 185 | + padding: 10px 6px; |
| 186 | + font-size: 12px; |
| 187 | + border: 1px solid var(--border); |
| 188 | + border-radius: 12px; |
168 | 189 | cursor: pointer; |
169 | | - font-weight: 500; |
| 190 | + font-weight: 600; |
| 191 | + display: flex; |
| 192 | + flex-direction: column; |
| 193 | + align-items: center; |
| 194 | + gap: 6px; |
| 195 | + transition: all 0.2s ease; |
170 | 196 | } |
171 | 197 |
|
172 | 198 | .tab.active { |
173 | | - color: #0f172a; |
174 | | - border-bottom-color: #0ea5e9; |
| 199 | + color: var(--text); |
| 200 | + border-color: var(--accent); |
| 201 | + box-shadow: 0 8px 16px -12px rgba(11, 99, 246, 0.6); |
| 202 | + background: #eef3ff; |
175 | 203 | } |
176 | 204 |
|
177 | 205 | .tab:hover { |
178 | | - background: #f9fafb; |
| 206 | + background: #edf1f7; |
179 | 207 | } |
180 | 208 |
|
181 | 209 | .preview-btn { |
|
0 commit comments