@magicfeedback/popup-sdk 1.21.1 → 1.22.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/README.md +1 -1
  2. package/dist/2.2.44-HO4Z2OYX.mjs +2421 -0
  3. package/dist/2.2.44-HO4Z2OYX.mjs.map +1 -0
  4. package/dist/2.2.44-NTG36TY5.mjs +2421 -0
  5. package/dist/2.2.44-NTG36TY5.mjs.map +1 -0
  6. package/dist/assets/assets/style.css +113 -36
  7. package/dist/assets/assets/survey-css/2.2.44.css +2413 -0
  8. package/dist/{chunk-7KMBH25G.mjs → chunk-4TNJ2IBB.mjs} +265 -40
  9. package/dist/chunk-4TNJ2IBB.mjs.map +1 -0
  10. package/dist/{chunk-NNWYOG43.mjs → chunk-5UURWEOR.mjs} +265 -40
  11. package/dist/chunk-5UURWEOR.mjs.map +1 -0
  12. package/dist/{chunk-4C3DSMUT.mjs → chunk-6HPKIMVM.mjs} +265 -40
  13. package/dist/chunk-6HPKIMVM.mjs.map +1 -0
  14. package/dist/index.d.mts +28 -1
  15. package/dist/index.d.ts +28 -1
  16. package/dist/index.js +4322 -1466
  17. package/dist/index.js.map +1 -1
  18. package/dist/index.mjs +78 -27
  19. package/dist/index.mjs.map +1 -1
  20. package/dist/index.native.d.mts +28 -1
  21. package/dist/index.native.d.ts +28 -1
  22. package/dist/index.native.js +4322 -1466
  23. package/dist/index.native.js.map +1 -1
  24. package/dist/index.native.mjs +78 -27
  25. package/dist/index.native.mjs.map +1 -1
  26. package/dist/react-native.d.mts +22 -0
  27. package/dist/react-native.d.ts +22 -0
  28. package/dist/react-native.js +2962 -230
  29. package/dist/react-native.js.map +1 -1
  30. package/dist/react-native.mjs +78 -27
  31. package/dist/react-native.mjs.map +1 -1
  32. package/dist/renderPopup-L5TROMDQ.mjs +4001 -0
  33. package/dist/renderPopup-L5TROMDQ.mjs.map +1 -0
  34. package/dist/{renderPopup-IKPXPDB7.mjs → renderPopup-SFDIFFUT.mjs} +70 -40
  35. package/dist/renderPopup-SFDIFFUT.mjs.map +1 -0
  36. package/dist/renderPopup-UXD7L3FX.mjs +4001 -0
  37. package/dist/renderPopup-UXD7L3FX.mjs.map +1 -0
  38. package/package.json +2 -2
  39. package/dist/chunk-4C3DSMUT.mjs.map +0 -1
  40. package/dist/chunk-7KMBH25G.mjs.map +0 -1
  41. package/dist/chunk-NNWYOG43.mjs.map +0 -1
  42. package/dist/renderPopup-IKPXPDB7.mjs.map +0 -1
  43. package/dist/renderPopup-M5ZIXNV6.mjs +0 -3847
  44. package/dist/renderPopup-M5ZIXNV6.mjs.map +0 -1
  45. package/dist/renderPopup-QVMBE4L4.mjs +0 -3847
  46. package/dist/renderPopup-QVMBE4L4.mjs.map +0 -1
@@ -0,0 +1,2421 @@
1
+ import "./chunk-3QS3WKRC.mjs";
2
+
3
+ // src/assets/survey-css/2.2.44.css
4
+ var __default = `/**
5
+ * NO EDITAR A MANO \u2014 generado por scripts/vendor-survey-css.mjs
6
+ *
7
+ * Copia de @magicfeedback/native@2.2.44 \u2192 dist/styles/magicfeedback-default.css
8
+ * (la hoja can\xF3nica del paquete, la que apunta su campo "style"), con estos cambios locales:
9
+ *
10
+ * 1. Sin el @import de Google Fonts (Nunito): no queremos una petici\xF3n externa desde la
11
+ * p\xE1gina del host, y la tipograf\xEDa la decide el popup.
12
+ * 2. .magicfeedback-container hereda la fuente del popup (var(--deepdots-font, inherit)).
13
+ * 3. Los selectores de elementos (h2, p, input\u2026) vienen acotados por el paquete con
14
+ * :where(.magicfeedback-container, \u2026) desde 2.2.43 (DD-180); ese prefijo se cambia por
15
+ * .deepdots-popup, el mismo alcance que antes (tambi\xE9n visten t\xEDtulo y mensaje final).
16
+ * 4. El grupo .magicfeedback-radio se cualifica como div.magicfeedback-radio (la clase acaba
17
+ * tambi\xE9n en el <input> del boolean).
18
+ * 5. Todo :hover va dentro de @media (hover: hover): en t\xE1ctil WebKit deja el hover pegado
19
+ * en el \xFAltimo punto tocado y la opci\xF3n de la p\xE1gina siguiente parec\xEDa seleccionada.
20
+ * 6. Al final, un bloque de reglas propias del popup (fuente en los controles y padding del
21
+ * radio nativo).
22
+ *
23
+ * Las variables --mf-* se dejan en :root a prop\xF3sito: el modal del priority-list se portea a
24
+ * <body>, fuera de .deepdots-popup, y ah\xED las necesita.
25
+ *
26
+ * Para subir de versi\xF3n: npm i @magicfeedback/native@<v> && node scripts/vendor-survey-css.mjs
27
+ */
28
+
29
+ /**
30
+ * @magicfeedback/native - Default Styles
31
+ * Clean, minimal, and elegant survey rendering
32
+ */
33
+
34
+ /* @import de Google Fonts (Nunito) eliminado al vendorizar: la fuente la pone el popup. */
35
+
36
+ /* ========================================
37
+ CSS VARIABLES - Design SYSTEM
38
+ ======================================== */
39
+ :root {
40
+ /* Colors - Minimal Pastel */
41
+ /* --mf-primary is the one source of truth for brand/accent color \u2014
42
+ every token below derives from it via color-mix() (or references
43
+ it directly) so changing this single value, here or via a
44
+ per-integration override, keeps hover/light/border states in
45
+ sync automatically instead of going stale independently. Scoped
46
+ to genuinely interactive/accent surfaces (buttons, selected
47
+ chips, focus rings) \u2014 general body text stays on its own neutral
48
+ scale below, not tied to the brand color. */
49
+ --mf-primary: #5d7bad;
50
+ --mf-primary-hover: color-mix(in srgb, var(--mf-primary) 85%, black);
51
+ /* --mf-tint-base is what light tints mix into: white here, the dark
52
+ surface in dark mode (DD-238). */
53
+ --mf-tint-base: #FFFFFF;
54
+ --mf-primary-light-mix: 15%;
55
+ --mf-primary-border-mix: 35%;
56
+ --mf-primary-light: color-mix(in srgb, var(--mf-primary) var(--mf-primary-light-mix), var(--mf-tint-base));
57
+ /* a translucent tint \u2014 mixed with transparent (opacity), not white,
58
+ so it reads as a soft shadow of the brand color rather than a
59
+ pastel of it. */
60
+ --mf-primary-border: color-mix(in srgb, var(--mf-primary) var(--mf-primary-border-mix), transparent);
61
+
62
+ --mf-text-primary: #1E293B;
63
+ --mf-text-secondary: #475569;
64
+ --mf-text-muted: #94A3B8;
65
+
66
+ --mf-bg-primary: #F8FAFC;
67
+ --mf-bg-secondary: #FFFFFF;
68
+ --mf-bg-hover: #EEF2F6;
69
+
70
+ --mf-border: #E2E8F0;
71
+ --mf-border-focus: var(--mf-primary);
72
+
73
+ --mf-success: #16A34A;
74
+ --mf-error: #EF4444;
75
+ --mf-warning: #F59E0B;
76
+
77
+ --mf-surface: #FFFFFF;
78
+ --mf-surface-alt: #F1F5F9;
79
+ --mf-accent: #38BDF8;
80
+
81
+ /* Colors that used to be hard-coded in rules and render code (DD-238) */
82
+ --mf-on-primary: #FFFFFF;
83
+ --mf-text-strong: #000000;
84
+ --mf-danger-text: #C70039;
85
+ --mf-star: #fbbf24;
86
+ --mf-star-empty: #CCCCCC;
87
+ --mf-overlay: rgba(0, 0, 0, 0.4);
88
+ --mf-shadow-modal: 0 8px 24px rgba(0, 0, 0, 0.2);
89
+
90
+ /* Spacing */
91
+ --mf-space-xs: 0.25rem;
92
+ --mf-space-sm: 0.5rem;
93
+ --mf-space-md: 0.75rem;
94
+ --mf-space-lg: 1rem;
95
+ --mf-space-xl: 1.5rem;
96
+
97
+ /* Border Radius */
98
+ --mf-radius-sm: 0.5rem;
99
+ --mf-radius-md: 0.75rem;
100
+ --mf-radius-lg: 1.25rem;
101
+ --mf-radius-full: 9999px;
102
+
103
+ /* Shadows */
104
+ --mf-shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.06);
105
+ --mf-shadow-md: 0 8px 20px rgba(15, 23, 42, 0.08);
106
+ --mf-shadow-lg: 0 16px 30px rgba(15, 23, 42, 0.12);
107
+ --mf-shadow-focus: 0 0 0 3px rgba(30, 41, 59, 0.15);
108
+ --mf-shadow-card: 0 18px 40px rgba(15, 23, 42, 0.08);
109
+
110
+ /* Typography */
111
+ --mf-font-sans: "Nunito", "Quicksand", "Avenir Next", "Trebuchet MS", sans-serif;
112
+ --mf-font-size-sm: 0.875rem;
113
+ --mf-font-size-base: 1rem;
114
+ --mf-font-size-lg: 1.125rem;
115
+ --mf-font-size-xl: 1.25rem;
116
+ --mf-line-height: 1.6;
117
+
118
+ /* Font Weights */
119
+ --mf-font-weight-normal: 400;
120
+ --mf-font-weight-medium: 500;
121
+ --mf-font-weight-semibold: 600;
122
+ --mf-font-weight-bold: 700;
123
+ --mf-font-weight-extrabold: 800;
124
+
125
+ /* Transitions */
126
+ --mf-transition: all 0.2s ease;
127
+ --mf-transition-fast: all 0.15s ease;
128
+ }
129
+
130
+ /* ========================================
131
+ DARK MODE (DD-238)
132
+ Set by the SDK on the container (and the portaled modal backdrop) when the
133
+ survey Style background is dark, or when the host forces mode: 'dark'.
134
+ The Style's own dark background colors are written inline on the same
135
+ element, so they win over the defaults below; the derived tokens use var()
136
+ so they resolve against those inline values.
137
+ ======================================== */
138
+ .magicfeedback-container[data-mf-mode="dark"],
139
+ .magicfeedback-preview[data-mf-mode="dark"],
140
+ .magicfeedback-modal-backdrop[data-mf-mode="dark"] {
141
+ color-scheme: dark;
142
+
143
+ --mf-text-primary: #F1F5F9;
144
+ --mf-text-secondary: #CBD5E1;
145
+ --mf-text-muted: #94A3B8;
146
+ --mf-text-strong: #FFFFFF;
147
+
148
+ --mf-bg-primary: #0F172A;
149
+ --mf-bg-secondary: #1E293B;
150
+ --mf-surface: #1E293B;
151
+ --mf-surface-alt: color-mix(in srgb, var(--mf-surface) 90%, white);
152
+ --mf-bg-hover: color-mix(in srgb, var(--mf-surface) 84%, white);
153
+ --mf-border: color-mix(in srgb, var(--mf-surface) 72%, white);
154
+
155
+ --mf-tint-base: var(--mf-surface);
156
+ --mf-primary-light-mix: 30%;
157
+ --mf-primary-border-mix: 55%;
158
+ --mf-primary-light: color-mix(in srgb, var(--mf-primary) var(--mf-primary-light-mix), var(--mf-tint-base));
159
+ --mf-primary-border: color-mix(in srgb, var(--mf-primary) var(--mf-primary-border-mix), transparent);
160
+
161
+ --mf-success: #4ADE80;
162
+ --mf-error: #F87171;
163
+ --mf-warning: #FBBF24;
164
+ --mf-danger-text: #FF8FA3;
165
+ --mf-star-empty: color-mix(in srgb, var(--mf-surface) 60%, white);
166
+ --mf-overlay: rgba(0, 0, 0, 0.6);
167
+
168
+ --mf-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
169
+ --mf-shadow-md: 0 8px 20px rgba(0, 0, 0, 0.35);
170
+ --mf-shadow-lg: 0 16px 30px rgba(0, 0, 0, 0.45);
171
+ --mf-shadow-focus: 0 0 0 3px rgba(241, 245, 249, 0.25);
172
+ --mf-shadow-card: 0 18px 40px rgba(0, 0, 0, 0.35);
173
+ --mf-shadow-modal: 0 8px 24px rgba(0, 0, 0, 0.6);
174
+ }
175
+
176
+ /* Priority list arrows are a black SVG image: flip them to light. */
177
+ [data-mf-mode="dark"] .magicfeedback-priority-list-arrow-up,
178
+ [data-mf-mode="dark"] .magicfeedback-priority-list-arrow-down {
179
+ filter: invert(1);
180
+ }
181
+
182
+ /* ========================================
183
+ ANIMATIONS
184
+ ======================================== */
185
+ @keyframes mf-fade-in {
186
+ from {
187
+ opacity: 0;
188
+ transform: translateY(8px);
189
+ }
190
+ to {
191
+ opacity: 1;
192
+ transform: translateY(0);
193
+ }
194
+ }
195
+
196
+ @keyframes mf-slide-in {
197
+ from {
198
+ opacity: 0;
199
+ transform: translateX(-16px);
200
+ }
201
+ to {
202
+ opacity: 1;
203
+ transform: translateX(0);
204
+ }
205
+ }
206
+
207
+ @keyframes mf-scale-in {
208
+ from {
209
+ opacity: 0;
210
+ transform: scale(0.95);
211
+ }
212
+ to {
213
+ opacity: 1;
214
+ transform: scale(1);
215
+ }
216
+ }
217
+
218
+ @keyframes mf-pulse {
219
+ 0%,
220
+ 100% {
221
+ opacity: 1;
222
+ }
223
+ 50% {
224
+ opacity: 0.8;
225
+ }
226
+ }
227
+
228
+ /* ========================================
229
+ BASE CONTAINER
230
+ ======================================== */
231
+ .magicfeedback-container {
232
+ /* Local: hereda la fuente del popup; --deepdots-font viene de PopupStyle.font. */
233
+ font-family: var(--deepdots-font, inherit);
234
+ color: var(--mf-text-primary);
235
+ line-height: var(--mf-line-height);
236
+ animation: mf-fade-in 0.4s ease-out;
237
+ border-radius: var(--mf-radius-lg);
238
+ }
239
+
240
+ /* ========================================
241
+ MESSAGES
242
+ ======================================== */
243
+ .magicfeedback-success-message,
244
+ .magicfeedback-info-message,
245
+ .magicfeedback-start-message {
246
+ padding: var(--mf-space-lg);
247
+ margin: var(--mf-space-lg) 0;
248
+ animation: mf-scale-in 0.3s ease-out;
249
+ }
250
+
251
+ /* .magicfeedback-info-message/-start-message are set via innerHTML (see
252
+ renderInfoPage.ts / questions.service.ts's renderStartMessage) \u2014 whatever
253
+ rich text a survey author writes lands here as real HTML, not just the
254
+ <p>/<img> pair this used to style. Covering the rest of what a rich-text
255
+ editor commonly outputs (headings, lists, links, emphasis, quotes, code,
256
+ rules) keeps that content on the same type scale and palette as the rest
257
+ of the widget instead of falling back to unstyled browser defaults. */
258
+ .magicfeedback-success-message > :first-child,
259
+ .magicfeedback-info-message > :first-child,
260
+ .magicfeedback-start-message > :first-child {
261
+ margin-top: 0;
262
+ }
263
+
264
+ .magicfeedback-success-message > :last-child,
265
+ .magicfeedback-info-message > :last-child,
266
+ .magicfeedback-start-message > :last-child {
267
+ margin-bottom: 0;
268
+ }
269
+
270
+ .magicfeedback-success-message p,
271
+ .magicfeedback-info-message p,
272
+ .magicfeedback-start-message p {
273
+ font-size: var(--mf-font-size-base);
274
+ color: var(--mf-text-secondary);
275
+ margin: 0 0 var(--mf-space-md);
276
+ line-height: var(--mf-line-height);
277
+ }
278
+
279
+ .magicfeedback-info-message h1,
280
+ .magicfeedback-info-message h2,
281
+ .magicfeedback-info-message h3,
282
+ .magicfeedback-info-message h4,
283
+ .magicfeedback-info-message h5,
284
+ .magicfeedback-info-message h6,
285
+ .magicfeedback-start-message h1,
286
+ .magicfeedback-start-message h2,
287
+ .magicfeedback-start-message h3,
288
+ .magicfeedback-start-message h4,
289
+ .magicfeedback-start-message h5,
290
+ .magicfeedback-start-message h6 {
291
+ color: var(--mf-text-primary);
292
+ font-weight: var(--mf-font-weight-bold);
293
+ line-height: 1.3;
294
+ margin: var(--mf-space-lg) 0 var(--mf-space-sm);
295
+ text-align: start;
296
+ }
297
+
298
+ .magicfeedback-info-message h1, .magicfeedback-start-message h1 { font-size: var(--mf-font-size-xl); }
299
+ .magicfeedback-info-message h2, .magicfeedback-start-message h2 { font-size: var(--mf-font-size-lg); }
300
+ .magicfeedback-info-message h3,
301
+ .magicfeedback-info-message h4,
302
+ .magicfeedback-info-message h5,
303
+ .magicfeedback-info-message h6,
304
+ .magicfeedback-start-message h3,
305
+ .magicfeedback-start-message h4,
306
+ .magicfeedback-start-message h5,
307
+ .magicfeedback-start-message h6 { font-size: var(--mf-font-size-base); }
308
+
309
+ .magicfeedback-info-message strong,
310
+ .magicfeedback-info-message b,
311
+ .magicfeedback-start-message strong,
312
+ .magicfeedback-start-message b {
313
+ font-weight: var(--mf-font-weight-bold);
314
+ color: var(--mf-text-primary);
315
+ }
316
+
317
+ .magicfeedback-info-message a,
318
+ .magicfeedback-start-message a {
319
+ color: var(--mf-primary);
320
+ text-decoration: underline;
321
+ text-underline-offset: 2px;
322
+ }
323
+
324
+ @media (hover: hover) {
325
+ .magicfeedback-info-message a:hover,
326
+ .magicfeedback-start-message a:hover {
327
+ color: var(--mf-primary-hover);
328
+ }
329
+ }
330
+
331
+ .magicfeedback-info-message ul,
332
+ .magicfeedback-info-message ol,
333
+ .magicfeedback-start-message ul,
334
+ .magicfeedback-start-message ol {
335
+ margin: 0 0 var(--mf-space-md);
336
+ padding-inline-start: var(--mf-space-xl);
337
+ color: var(--mf-text-secondary);
338
+ line-height: var(--mf-line-height);
339
+ }
340
+
341
+ .magicfeedback-info-message li + li,
342
+ .magicfeedback-start-message li + li {
343
+ margin-top: var(--mf-space-xs);
344
+ }
345
+
346
+ .magicfeedback-info-message blockquote,
347
+ .magicfeedback-start-message blockquote {
348
+ margin: 0 0 var(--mf-space-md);
349
+ padding: var(--mf-space-sm) var(--mf-space-md);
350
+ border-inline-start: 3px solid var(--mf-primary-border);
351
+ color: var(--mf-text-secondary);
352
+ font-style: italic;
353
+ }
354
+
355
+ .magicfeedback-info-message code,
356
+ .magicfeedback-start-message code {
357
+ font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
358
+ font-size: 0.9em;
359
+ background: var(--mf-bg-hover);
360
+ padding: 0.15em 0.4em;
361
+ border-radius: var(--mf-radius-sm);
362
+ }
363
+
364
+ .magicfeedback-info-message pre,
365
+ .magicfeedback-start-message pre {
366
+ margin: 0 0 var(--mf-space-md);
367
+ padding: var(--mf-space-md);
368
+ background: var(--mf-bg-hover);
369
+ border-radius: var(--mf-radius-md);
370
+ overflow-x: auto;
371
+ }
372
+
373
+ .magicfeedback-info-message pre code,
374
+ .magicfeedback-start-message pre code {
375
+ background: none;
376
+ padding: 0;
377
+ }
378
+
379
+ .magicfeedback-info-message hr,
380
+ .magicfeedback-start-message hr {
381
+ border: none;
382
+ border-top: 1px solid var(--mf-border);
383
+ margin: var(--mf-space-lg) 0;
384
+ }
385
+
386
+ .magicfeedback-success-message img,
387
+ .magicfeedback-info-message img,
388
+ .magicfeedback-start-message img {
389
+ max-width: 100%;
390
+ height: auto;
391
+ margin: var(--mf-space-lg) auto;
392
+ display: block;
393
+ border-radius: var(--mf-radius-md);
394
+ }
395
+
396
+ .magicfeedback-image {
397
+ max-height: 400px;
398
+ height: auto;
399
+ max-width: 100%;
400
+ margin: var(--mf-space-lg) auto;
401
+ display: block;
402
+ border-radius: var(--mf-radius-md);
403
+ }
404
+
405
+ /* ========================================
406
+ FORM STRUCTURE
407
+ ======================================== */
408
+ .magicfeedback-form {
409
+ display: flex;
410
+ flex-direction: column;
411
+ gap: var(--mf-space-lg);
412
+ padding: clamp(16px, 2.5vw, 28px);
413
+ }
414
+
415
+ .magicfeedback-questions {
416
+ display: flex;
417
+ flex-direction: column;
418
+ gap: var(--mf-space-xl);
419
+ width: 100%;
420
+ }
421
+
422
+ .magicfeedback-div {
423
+ display: flex;
424
+ flex-direction: column;
425
+ gap: var(--mf-space-sm);
426
+ animation: mf-slide-in 0.3s ease-out;
427
+ background: var(--mf-bg-secondary);
428
+ border-radius: var(--mf-radius-md);
429
+ }
430
+
431
+ /* ========================================
432
+ LABELS & TYPOGRAPHY
433
+ ======================================== */
434
+ .magicfeedback-label {
435
+ font-size: var(--mf-font-size-lg);
436
+ font-weight: var(--mf-font-weight-bold);
437
+ color: var(--mf-text-primary);
438
+ line-height: var(--mf-line-height);
439
+ text-align: start;
440
+ letter-spacing: -0.01em;
441
+ }
442
+
443
+ .magicfeedback-sublabel {
444
+ font-size: var(--mf-font-size-base);
445
+ font-weight: var(--mf-font-weight-normal);
446
+ color: var(--mf-text-secondary);
447
+ margin-bottom: var(--mf-space-sm);
448
+ }
449
+
450
+ /* Element rules (h2, p, inputs, ...) are scoped to the survey container, the
451
+ previewQuestion() host and the priority-list modal, which is portaled to
452
+ <body>. This sheet is
453
+ loaded on the host page, so a bare \`p\` or \`input\` would restyle the host
454
+ app too. :where() keeps the specificity of the bare selector, so every
455
+ .magicfeedback-* rule still wins over these as before. */
456
+ .deepdots-popup h2 {
457
+ font-size: var(--mf-font-size-xl);
458
+ font-weight: 600;
459
+ color: var(--mf-text-primary);
460
+ margin: 0 0 var(--mf-space-xl) 0;
461
+ text-align: center;
462
+ letter-spacing: -0.01em;
463
+ }
464
+
465
+ .deepdots-popup p {
466
+ margin: 0;
467
+ font-size: var(--mf-font-size-sm);
468
+ color: var(--mf-text-secondary);
469
+ }
470
+
471
+ /* ========================================
472
+ FORM INPUTS
473
+ ======================================== */
474
+ .deepdots-popup input[type="date"],
475
+ .deepdots-popup input[type="text"],
476
+ .deepdots-popup input[type="number"],
477
+ .deepdots-popup input[type="email"],
478
+ .deepdots-popup input[type="password"],
479
+ .deepdots-popup textarea,
480
+ .deepdots-popup select {
481
+ padding: 0.75rem 0.9rem;
482
+ font-size: var(--mf-font-size-base);
483
+ font-family: inherit;
484
+ color: var(--mf-text-primary);
485
+ background-color: var(--mf-surface);
486
+ border: 2px solid var(--mf-border);
487
+ border-radius: var(--mf-radius-md);
488
+ outline: none;
489
+ transition: var(--mf-transition);
490
+ -webkit-appearance: none;
491
+ appearance: none;
492
+ box-shadow: var(--mf-shadow-sm);
493
+ }
494
+
495
+ .deepdots-popup textarea {
496
+ min-height: 100px;
497
+ resize: vertical;
498
+ }
499
+
500
+ .deepdots-popup input::placeholder,
501
+ .deepdots-popup textarea::placeholder {
502
+ color: var(--mf-text-muted);
503
+ }
504
+
505
+ /* Remove number input spinners */
506
+ .deepdots-popup input::-webkit-outer-spin-button,
507
+ .deepdots-popup input::-webkit-inner-spin-button {
508
+ -webkit-appearance: none;
509
+ margin: 0;
510
+ }
511
+
512
+ .deepdots-popup input[type="number"] {
513
+ /* -moz-appearance: textfield; removed for lint compatibility */
514
+ }
515
+
516
+ /* Email @ button (assets.atButton). --mf-secondary is defined by MagicSurvey;
517
+ the fallback is the same #2E2E2E. */
518
+ .magicfeedback-email-container {
519
+ display: flex;
520
+ flex-direction: column;
521
+ gap: var(--mf-space-sm);
522
+ }
523
+
524
+ .magicfeedback-email-row {
525
+ display: flex;
526
+ align-items: stretch;
527
+ gap: var(--mf-space-sm);
528
+ }
529
+
530
+ .magicfeedback-email-row input[type="email"] {
531
+ flex: 1 1 auto;
532
+ min-width: 0;
533
+ }
534
+
535
+ .magicfeedback-email-inset {
536
+ position: relative;
537
+ }
538
+
539
+ .magicfeedback-email-inset input[type="email"] {
540
+ width: 100%;
541
+ box-sizing: border-box;
542
+ padding-inline-end: 3.6rem;
543
+ }
544
+
545
+ .magicfeedback-email-row input[type="email"]:focus,
546
+ .magicfeedback-email-inset input[type="email"]:focus {
547
+ border-color: var(--mf-border-focus);
548
+ }
549
+
550
+ .magicfeedback-email-at {
551
+ flex: none;
552
+ aspect-ratio: 1;
553
+ align-self: stretch;
554
+ min-width: 46px;
555
+ display: grid;
556
+ place-items: center;
557
+ padding: 0;
558
+ font-family: inherit;
559
+ font-size: 1.35rem;
560
+ font-weight: var(--mf-font-weight-extrabold);
561
+ line-height: 1;
562
+ color: var(--mf-on-primary);
563
+ background-color: var(--mf-secondary, #2E2E2E);
564
+ border: 2px solid var(--mf-secondary, #2E2E2E);
565
+ border-radius: var(--mf-radius-full);
566
+ cursor: pointer;
567
+ box-shadow: var(--mf-shadow-sm);
568
+ -webkit-tap-highlight-color: transparent;
569
+ touch-action: manipulation;
570
+ -webkit-user-select: none;
571
+ user-select: none;
572
+ transition: transform 0.12s ease, background-color 0.12s ease, box-shadow 0.12s ease;
573
+ }
574
+
575
+ .magicfeedback-email-at:active {
576
+ background-color: color-mix(in srgb, var(--mf-secondary, #2E2E2E) 85%, black);
577
+ transform: scale(0.92);
578
+ box-shadow: none;
579
+ }
580
+
581
+ .magicfeedback-email-at:focus-visible {
582
+ outline: 3px solid var(--mf-primary-border);
583
+ outline-offset: 2px;
584
+ }
585
+
586
+ .magicfeedback-email-inset .magicfeedback-email-at {
587
+ position: absolute;
588
+ inset-inline-end: 7px;
589
+ top: 50%;
590
+ transform: translateY(-50%);
591
+ width: 2.5rem;
592
+ height: 2.5rem;
593
+ min-width: 0;
594
+ aspect-ratio: auto;
595
+ font-size: 1.15rem;
596
+ color: var(--mf-text-primary);
597
+ background-color: var(--mf-surface-alt);
598
+ border: 1px solid var(--mf-border);
599
+ box-shadow: none;
600
+ }
601
+
602
+ .magicfeedback-email-inset .magicfeedback-email-at:active {
603
+ transform: translateY(-50%) scale(0.9);
604
+ color: var(--mf-primary);
605
+ background-color: var(--mf-primary-light);
606
+ border-color: var(--mf-primary-border);
607
+ }
608
+
609
+ .magicfeedback-email-hint {
610
+ margin: 0;
611
+ text-align: start;
612
+ font-size: var(--mf-font-size-sm);
613
+ line-height: 1.45;
614
+ color: var(--mf-text-secondary);
615
+ }
616
+
617
+ .magicfeedback-email-hint b {
618
+ font-weight: var(--mf-font-weight-extrabold);
619
+ color: var(--mf-text-primary);
620
+ }
621
+
622
+ /* Custom Select Arrow */
623
+ .deepdots-popup select {
624
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
625
+ background-repeat: no-repeat;
626
+ background-position: right var(--mf-space-md) center;
627
+ padding-inline-end: var(--mf-space-xl);
628
+ }
629
+
630
+ /* Error State */
631
+ .deepdots-popup input.error,
632
+ .deepdots-popup select.error,
633
+ .deepdots-popup textarea.error {
634
+ border-color: var(--mf-error);
635
+ }
636
+
637
+ .magicfeedback-error {
638
+ margin-top: var(--mf-space-xs);
639
+ font-size: var(--mf-font-size-sm);
640
+ color: var(--mf-error);
641
+ }
642
+
643
+ /* ========================================
644
+ CHECKBOX & RADIO OPTIONS
645
+ ======================================== */
646
+ .magicfeedback-checkbox,
647
+ div.magicfeedback-radio {
648
+ display: flex;
649
+ flex-direction: column;
650
+ gap: var(--mf-space-sm);
651
+ width: 100%;
652
+ }
653
+
654
+ /* Single choice in a row (assets.direction "row"): one equal box per
655
+ option. The "other" text field wraps to its own line below. Stacked
656
+ (phone, or too narrow) it is the usual vertical list again. */
657
+ .magicfeedback-radio--row {
658
+ flex-direction: row;
659
+ flex-wrap: wrap;
660
+ }
661
+
662
+ .magicfeedback-radio--row > .magicfeedback-radio-container {
663
+ flex: 1 1 0;
664
+ min-width: 0;
665
+ }
666
+
667
+ .magicfeedback-radio--row > .magicfeedback-extra-option {
668
+ flex-basis: 100%;
669
+ }
670
+
671
+ .magicfeedback-radio--row.magicfeedback-radio--stacked {
672
+ flex-direction: column;
673
+ flex-wrap: nowrap;
674
+ }
675
+
676
+ .magicfeedback-radio--row.magicfeedback-radio--stacked > .magicfeedback-radio-container {
677
+ flex: none;
678
+ }
679
+
680
+ .magicfeedback-radio--row .magicfeedback-radio-container label {
681
+ overflow-wrap: anywhere;
682
+ }
683
+
684
+ .magicfeedback-checkbox-container,
685
+ .magicfeedback-radio-container {
686
+ display: flex;
687
+ align-items: center;
688
+ gap: var(--mf-space-sm);
689
+ padding: var(--mf-space-md);
690
+ border: 1.5px solid var(--mf-border);
691
+ border-radius: var(--mf-radius-md);
692
+ cursor: pointer;
693
+ transition: var(--mf-transition-fast);
694
+ }
695
+
696
+ @media (hover: hover) {
697
+ .magicfeedback-checkbox-container:hover,
698
+ .magicfeedback-radio-container:hover {
699
+ background-color: var(--mf-bg-hover);
700
+ border-color: var(--mf-primary);
701
+ }
702
+ }
703
+
704
+ .magicfeedback-checkbox-container:has(input:checked),
705
+ .magicfeedback-radio-container:has(input:checked) {
706
+ background-color: var(--mf-primary-light);
707
+ border-color: var(--mf-primary);
708
+ }
709
+
710
+ .magicfeedback-checkbox input[type="checkbox"],
711
+ .magicfeedback-radio-container input[type="radio"] {
712
+ width: 18px;
713
+ height: 18px;
714
+ margin: 0;
715
+ cursor: pointer;
716
+ flex-shrink: 0;
717
+ accent-color: var(--mf-primary);
718
+ }
719
+
720
+ .magicfeedback-checkbox label,
721
+ .magicfeedback-radio-container label {
722
+ font-size: var(--mf-font-size-base);
723
+ text-align: start;
724
+ color: var(--mf-text-primary);
725
+ cursor: pointer;
726
+ margin: 0;
727
+ flex: 1;
728
+ }
729
+
730
+ /* ========================================
731
+ BOOLEAN OPTIONS
732
+ ======================================== */
733
+ .magicfeedback-boolean-container {
734
+ display: flex;
735
+ gap: var(--mf-space-md);
736
+ width: 100%;
737
+ }
738
+
739
+ .magicfeedback-boolean-option {
740
+ flex: 1;
741
+ position: relative;
742
+ }
743
+
744
+ .magicfeedback-boolean-option input[type="radio"] {
745
+ position: absolute;
746
+ opacity: 0;
747
+ width: 0;
748
+ height: 0;
749
+ }
750
+
751
+ .magicfeedback-boolean-option label {
752
+ display: flex;
753
+ align-items: center;
754
+ justify-content: center;
755
+ padding: var(--mf-space-md);
756
+ font-size: var(--mf-font-size-base);
757
+ font-weight: 500;
758
+ color: var(--mf-text-secondary);
759
+ border: 1.5px solid var(--mf-border);
760
+ border-radius: var(--mf-radius-md);
761
+ cursor: pointer;
762
+ transition: var(--mf-transition-fast);
763
+ margin: 0;
764
+ width: -webkit-fill-available;
765
+ height: inherit;
766
+ }
767
+
768
+ @media (hover: hover) {
769
+ .magicfeedback-boolean-option label:hover {
770
+ background-color: var(--mf-bg-hover);
771
+ border-color: var(--mf-primary);
772
+ }
773
+ }
774
+
775
+ .magicfeedback-boolean-option input[type="radio"]:checked + label {
776
+ color: var(--mf-primary);
777
+ background-color: var(--mf-primary-light);
778
+ border-color: var(--mf-primary);
779
+ font-weight: 600;
780
+ }
781
+
782
+ /* ========================================
783
+ RATING SYSTEMS
784
+ ======================================== */
785
+ .magicfeedback-rating,
786
+ .magicfeedback-rating-number,
787
+ .magicfeedback-rating-star {
788
+ width: 100%;
789
+ }
790
+
791
+ .magicfeedback-rating-container,
792
+ .magicfeedback-rating-number-container,
793
+ .magicfeedback-rating-star-container {
794
+ display: flex;
795
+ flex-wrap: wrap;
796
+ gap: var(--mf-space-sm);
797
+ justify-content: center;
798
+ align-items: center;
799
+ padding: var(--mf-space-md) 0;
800
+ list-style: none;
801
+ margin: 0;
802
+ }
803
+
804
+ /* Caption line below the row \u2014 min on one side, max on the other (swapped
805
+ for order: "rtl") \u2014 same simple, non-responsive pattern as the
806
+ rating-number row caption. Used by rating-star and rating-emoji. */
807
+ .magicfeedback-rating-placeholder {
808
+ display: flex;
809
+ justify-content: space-between;
810
+ gap: var(--mf-space-md);
811
+ width: 100%;
812
+ margin-top: var(--mf-space-sm);
813
+ font-size: var(--mf-font-size-sm);
814
+ font-weight: var(--mf-font-weight-semibold);
815
+ color: var(--mf-text-secondary);
816
+ }
817
+
818
+ .magicfeedback-rating-placeholder-value {
819
+ overflow-wrap: anywhere;
820
+ }
821
+
822
+ .magicfeedback-rating-placeholder-value:last-child {
823
+ text-align: end;
824
+ }
825
+
826
+ /* Rating with Images */
827
+ .magicfeedback-rating-option-label-container input[type="radio"] {
828
+ position: absolute;
829
+ opacity: 0;
830
+ width: 0;
831
+ height: 0;
832
+ }
833
+
834
+ .magicfeedback-rating-option-label-container img {
835
+ width: 56px;
836
+ height: 56px;
837
+ cursor: pointer;
838
+ transition: var(--mf-transition-fast);
839
+ border-radius: var(--mf-radius-full);
840
+ border: 2px solid transparent;
841
+ }
842
+
843
+ @media (hover: hover) {
844
+ .magicfeedback-rating-option-label-container img:hover {
845
+ transform: scale(1.1);
846
+ border-color: var(--mf-primary);
847
+ }
848
+ }
849
+
850
+ .magicfeedback-rating-option-label-container input[type="radio"]:checked + img {
851
+ border-color: var(--mf-primary);
852
+ box-shadow: 0 0 0 3px var(--mf-primary-light);
853
+ }
854
+
855
+ .magicfeedback-rating-option-label-container label {
856
+ display: block;
857
+ text-align: center;
858
+ font-size: var(--mf-font-size-sm);
859
+ color: var(--mf-text-secondary);
860
+ margin-top: var(--mf-space-xs);
861
+ cursor: pointer;
862
+ }
863
+
864
+ /* Rating Numbers \u2014 each option is its own outlined chip in the survey's
865
+ primary color, with a gap between them. Row and column use the same
866
+ chip; column additionally has room to show each option's own text
867
+ plainly next to its number. */
868
+
869
+ /* Every size here is width:100%/flex:1 combined with the chip's own
870
+ padding and border. Without border-box, the browser's default
871
+ content-box adds that padding/border on TOP of the declared size, so
872
+ the chip quietly overflows past its flex slot \u2014 reading as "not quite
873
+ full width" or, worse, pushing into the next chip. */
874
+ .magicfeedback-rating-number-container,
875
+ .magicfeedback-rating-number-option,
876
+ .magicfeedback-rating-number-option-label-container,
877
+ .magicfeedback-rating-number-value {
878
+ box-sizing: border-box;
879
+ }
880
+
881
+ /* The shared rating-container rule (above, reused by star rating) sets
882
+ align-items:center for its row-of-chips layout \u2014 in a stacked column
883
+ that still nudges a 100%-wide chip inward instead of a true 0 offset.
884
+ Force stretch so every chip fills the exact same width, flush on
885
+ both sides. */
886
+ .magicfeedback-rating-number-container-column,
887
+ .magicfeedback-rating-number-container-column-reverse {
888
+ align-items: stretch;
889
+ }
890
+
891
+ /* Caption line below the row \u2014 the single place min/max labels live
892
+ for row mode, shared by mobile and desktop. */
893
+ .magicfeedback-rating-number-scale-labels {
894
+ display: flex;
895
+ justify-content: space-between;
896
+ gap: var(--mf-space-md);
897
+ margin-top: var(--mf-space-sm);
898
+ font-size: var(--mf-font-size-sm);
899
+ font-weight: var(--mf-font-weight-semibold);
900
+ color: var(--mf-text-secondary);
901
+ }
902
+
903
+ .magicfeedback-rating-number-scale-label {
904
+ overflow-wrap: anywhere;
905
+ }
906
+
907
+ /* assets.minMaxPlaceholderPosition: the caption above or below the row. */
908
+ .magicfeedback-rating-number-scale-labels--top {
909
+ margin-top: 0;
910
+ margin-bottom: var(--mf-space-sm);
911
+ }
912
+
913
+ .magicfeedback-rating-number-scale-labels--bottom {
914
+ margin-top: var(--mf-space-sm);
915
+ margin-bottom: 0;
916
+ }
917
+
918
+ /* Row with a text per number: the text sits above each chip (below with
919
+ numberPlaceholdersPosition "bottom"). The option is a column laid out
920
+ inline; this only spaces and styles the text. */
921
+ .magicfeedback-rating-number-option--captioned {
922
+ gap: var(--mf-space-xs);
923
+ }
924
+
925
+ .magicfeedback-rating-number-option-caption {
926
+ font-size: var(--mf-font-size-sm);
927
+ font-weight: var(--mf-font-weight-semibold);
928
+ color: var(--mf-text-secondary);
929
+ text-align: center;
930
+ line-height: 1.25;
931
+ overflow-wrap: anywhere;
932
+ cursor: pointer;
933
+ }
934
+
935
+ .magicfeedback-rating-number-scale-label:last-child {
936
+ text-align: end;
937
+ }
938
+
939
+ /* Column, no per-option text: each row is its own separated chip, so
940
+ the min/max labels bookend the stack from outside it \u2014 one line
941
+ above the first chip, one below the last. Margin goes on whichever
942
+ side actually faces the list \u2014 the "before" label (always the first
943
+ child) gets space below it, the "after" one (always right after the
944
+ container, extra option row or not) gets space above it \u2014 so both
945
+ sit the same distance from the chips regardless of which one it is. */
946
+ .magicfeedback-rating-number-scale-label-block {
947
+ font-size: var(--mf-font-size-sm);
948
+ font-weight: var(--mf-font-weight-semibold);
949
+ color: var(--mf-text-secondary);
950
+ text-align: center;
951
+ }
952
+
953
+ .magicfeedback-rating-number-scale-label-block:first-child {
954
+ margin-bottom: var(--mf-space-sm);
955
+ }
956
+
957
+ .magicfeedback-rating-number-container + .magicfeedback-rating-number-scale-label-block {
958
+ margin-top: var(--mf-space-sm);
959
+ }
960
+
961
+ .magicfeedback-rating-number-option {
962
+ display: flex;
963
+ }
964
+
965
+ .magicfeedback-rating-number-option-label-container {
966
+ position: relative;
967
+ width: 100%;
968
+ display: flex;
969
+ cursor: pointer;
970
+ }
971
+
972
+ .magicfeedback-rating-number-option-label-container input[type="radio"] {
973
+ position: absolute;
974
+ opacity: 0;
975
+ width: 0;
976
+ height: 0;
977
+ }
978
+
979
+ .magicfeedback-rating-number-value {
980
+ display: flex;
981
+ align-items: center;
982
+ justify-content: center;
983
+ width: 100%;
984
+ transition: var(--mf-transition-fast);
985
+ color: var(--mf-text-secondary);
986
+ font-weight: var(--mf-font-weight-semibold);
987
+ }
988
+
989
+ /* Row: individual outlined chips in the survey's own primary color \u2014
990
+ var(--mf-primary) so whatever brand color a given survey sets carries
991
+ through automatically, no color hardcoded here. */
992
+ .magicfeedback-rating-number-container-row,
993
+ .magicfeedback-rating-number-container-row-reverse {
994
+ flex-wrap: nowrap;
995
+ gap: var(--mf-space-sm);
996
+ }
997
+
998
+ .magicfeedback-rating-number-option-row,
999
+ .magicfeedback-rating-number-option-row-reverse {
1000
+ flex: 1 1 0;
1001
+ min-width: 0;
1002
+ }
1003
+
1004
+ .magicfeedback-rating-number-option-row .magicfeedback-rating-number-value,
1005
+ .magicfeedback-rating-number-option-row-reverse .magicfeedback-rating-number-value {
1006
+ min-height: 56px;
1007
+ padding: var(--mf-space-sm);
1008
+ border: 2px solid var(--mf-primary-border);
1009
+ border-radius: var(--mf-radius-md);
1010
+ background: var(--mf-bg-secondary);
1011
+ color: var(--mf-primary);
1012
+ font-size: var(--mf-font-size-lg);
1013
+ font-weight: var(--mf-font-weight-bold);
1014
+ }
1015
+
1016
+ /* More than 6 options (e.g. a 0-10 NPS scale): still one row, never
1017
+ wraps \u2014 but scaled down on purpose, so it reads as a compact chip
1018
+ rather than the same 56px button stretched thin. */
1019
+ .magicfeedback-rating-number-container-row--dense .magicfeedback-rating-number-option-row .magicfeedback-rating-number-value,
1020
+ .magicfeedback-rating-number-container-row--dense .magicfeedback-rating-number-option-row-reverse .magicfeedback-rating-number-value {
1021
+ min-height: 36px;
1022
+ padding: var(--mf-space-xs);
1023
+ border-radius: var(--mf-radius-sm);
1024
+ font-size: 0.8rem;
1025
+ }
1026
+
1027
+ @media (hover: hover) {
1028
+ .magicfeedback-rating-number-option-row .magicfeedback-rating-number-option-label-container:hover .magicfeedback-rating-number-value,
1029
+ .magicfeedback-rating-number-option-row-reverse .magicfeedback-rating-number-option-label-container:hover .magicfeedback-rating-number-value {
1030
+ background: var(--mf-primary-light);
1031
+ }
1032
+ }
1033
+
1034
+ .magicfeedback-rating-number-option-row .magicfeedback-rating-number-option-label-container input[type="radio"]:checked + .magicfeedback-rating-number-value,
1035
+ .magicfeedback-rating-number-option-row-reverse .magicfeedback-rating-number-option-label-container input[type="radio"]:checked + .magicfeedback-rating-number-value {
1036
+ color: var(--mf-on-primary);
1037
+ background-color: var(--mf-primary);
1038
+ box-shadow: var(--mf-shadow-md);
1039
+ }
1040
+
1041
+ /* Extra option: always its own row below the scale, and styled like every
1042
+ other chip now \u2014 "doesn't apply" is still not a point on the 1..N
1043
+ continuum, but it no longer needs a different border style to say so. */
1044
+ .magicfeedback-rating-number-extra-row {
1045
+ display: flex;
1046
+ justify-content: center;
1047
+ margin-top: var(--mf-space-sm);
1048
+ }
1049
+
1050
+ .magicfeedback-rating-number-option--extra {
1051
+ flex: 0 1 auto;
1052
+ }
1053
+
1054
+ .magicfeedback-rating-number-option--extra .magicfeedback-rating-number-option-label-container {
1055
+ width: auto;
1056
+ }
1057
+
1058
+ .magicfeedback-rating-number-option--extra .magicfeedback-rating-number-value {
1059
+ min-height: 36px;
1060
+ padding: 0 var(--mf-space-md);
1061
+ border: 2px solid var(--mf-primary-border);
1062
+ border-radius: var(--mf-radius-md);
1063
+ background: var(--mf-bg-secondary);
1064
+ color: var(--mf-primary);
1065
+ font-size: var(--mf-font-size-sm);
1066
+ }
1067
+
1068
+ @media (hover: hover) {
1069
+ .magicfeedback-rating-number-option--extra .magicfeedback-rating-number-option-label-container:hover .magicfeedback-rating-number-value {
1070
+ background: var(--mf-primary-light);
1071
+ }
1072
+ }
1073
+
1074
+ .magicfeedback-rating-number-option--extra .magicfeedback-rating-number-option-label-container input[type="radio"]:checked + .magicfeedback-rating-number-value {
1075
+ color: var(--mf-on-primary);
1076
+ background-color: var(--mf-primary);
1077
+ box-shadow: var(--mf-shadow-md);
1078
+ }
1079
+
1080
+ /* Column: the same separated chips as row, just stacked \u2014 each option is
1081
+ its own outlined chip with a gap between them, not one shared box. */
1082
+ .magicfeedback-rating-number-container-column,
1083
+ .magicfeedback-rating-number-container-column-reverse {
1084
+ gap: var(--mf-space-sm);
1085
+ }
1086
+
1087
+ .magicfeedback-rating-number-option-column,
1088
+ .magicfeedback-rating-number-option-column-reverse {
1089
+ width: 100%;
1090
+ }
1091
+
1092
+ .magicfeedback-rating-number-option-column .magicfeedback-rating-number-value,
1093
+ .magicfeedback-rating-number-option-column-reverse .magicfeedback-rating-number-value {
1094
+ justify-content: flex-start;
1095
+ gap: var(--mf-space-sm);
1096
+ min-height: 48px;
1097
+ padding: var(--mf-space-sm) var(--mf-space-md);
1098
+ border: 2px solid var(--mf-primary-border);
1099
+ border-radius: var(--mf-radius-md);
1100
+ background: var(--mf-bg-secondary);
1101
+ color: var(--mf-primary);
1102
+ }
1103
+
1104
+ @media (hover: hover) {
1105
+ .magicfeedback-rating-number-option-column .magicfeedback-rating-number-option-label-container:hover .magicfeedback-rating-number-value,
1106
+ .magicfeedback-rating-number-option-column-reverse .magicfeedback-rating-number-option-label-container:hover .magicfeedback-rating-number-value {
1107
+ background: var(--mf-primary-light);
1108
+ }
1109
+ }
1110
+
1111
+ .magicfeedback-rating-number-option-column .magicfeedback-rating-number-option-label-container input[type="radio"]:checked + .magicfeedback-rating-number-value,
1112
+ .magicfeedback-rating-number-option-column-reverse .magicfeedback-rating-number-option-label-container input[type="radio"]:checked + .magicfeedback-rating-number-value {
1113
+ color: var(--mf-on-primary);
1114
+ background-color: var(--mf-primary);
1115
+ box-shadow: var(--mf-shadow-md);
1116
+ }
1117
+
1118
+ .magicfeedback-rating-number-value-num {
1119
+ font-weight: var(--mf-font-weight-bold);
1120
+ }
1121
+
1122
+ /* Column with per-option text: a min-width so "1".."9" and "10" line up,
1123
+ with the label text starting at the same x. Skipped entirely when the
1124
+ column has no per-option text at all (--bare below) \u2014 with nothing to
1125
+ align against, the same left-shift bug from row mode would resurface. */
1126
+ .magicfeedback-rating-number-container-column:not(.magicfeedback-rating-number-container-column--bare) .magicfeedback-rating-number-value-num,
1127
+ .magicfeedback-rating-number-container-column-reverse:not(.magicfeedback-rating-number-container-column--bare) .magicfeedback-rating-number-value-num {
1128
+ flex: none;
1129
+ min-width: 1.4em;
1130
+ }
1131
+
1132
+ /* Column, no per-option text at all (only min/max, or nothing): a bare
1133
+ numbered list has nothing to left-align against, so center each
1134
+ number instead of stranding it on the left with blank space beside it. */
1135
+ .magicfeedback-rating-number-container-column--bare .magicfeedback-rating-number-value {
1136
+ justify-content: center;
1137
+ }
1138
+
1139
+ .magicfeedback-rating-number-value-label {
1140
+ font-weight: var(--mf-font-weight-medium);
1141
+ }
1142
+
1143
+ .magicfeedback-rating-number-option-column .magicfeedback-rating-number-option-label-container input[type="radio"]:checked + .magicfeedback-rating-number-value,
1144
+ .magicfeedback-rating-number-option-column-reverse .magicfeedback-rating-number-option-label-container input[type="radio"]:checked + .magicfeedback-rating-number-value {
1145
+ color: var(--mf-on-primary);
1146
+ background-color: var(--mf-primary);
1147
+ }
1148
+
1149
+ /* Star Rating */
1150
+ .magicfeedback-rating-star-container {
1151
+ justify-content: center;
1152
+ }
1153
+
1154
+ .magicfeedback-rating-star-option:not(:checked) > .rating__star {
1155
+ font-size: 40px;
1156
+ color: var(--mf-border);
1157
+ cursor: pointer;
1158
+ margin: 0 var(--mf-space-xs);
1159
+ transition: var(--mf-transition-fast);
1160
+ }
1161
+
1162
+ @media (hover: hover) {
1163
+ .magicfeedback-rating-star-option:not(:checked) > .rating__star:hover,
1164
+ .magicfeedback-rating-star-option:not(:checked) > .rating__star:hover ~ span {
1165
+ color: var(--mf-star);
1166
+ transform: scale(1.1);
1167
+ }
1168
+ }
1169
+
1170
+ .magicfeedback-rating-star-selected {
1171
+ color: var(--mf-star) !important;
1172
+ }
1173
+
1174
+ /* ========================================
1175
+ MULTIPLE CHOICE WITH IMAGES
1176
+ ======================================== */
1177
+ .magicfeedback-multiple-choice-image-option {
1178
+ display: flex;
1179
+ border-radius: var(--mf-radius-md);
1180
+ overflow: hidden;
1181
+ transition: var(--mf-transition-fast);
1182
+ }
1183
+
1184
+ .magicfeedback-image-option-label-container {
1185
+ cursor: pointer;
1186
+ border-radius: var(--mf-radius-md);
1187
+ overflow: hidden;
1188
+ transition: var(--mf-transition-fast);
1189
+ }
1190
+
1191
+ .magicfeedback-image-option-label-container input[type="radio"],
1192
+ .magicfeedback-image-option-label-container input[type="checkbox"] {
1193
+ position: absolute;
1194
+ opacity: 0;
1195
+ width: 0;
1196
+ height: 0;
1197
+ }
1198
+
1199
+ .magicfeedback-image-option-label-container img {
1200
+ width: 100%;
1201
+ height: auto;
1202
+ display: block;
1203
+ border: 2px solid var(--mf-border);
1204
+ border-radius: var(--mf-radius-md);
1205
+ transition: var(--mf-transition-fast);
1206
+ }
1207
+
1208
+ @media (hover: hover) {
1209
+ .magicfeedback-image-option-label-container:hover img {
1210
+ border-color: var(--mf-primary);
1211
+ box-shadow: var(--mf-shadow-md);
1212
+ }
1213
+ }
1214
+
1215
+ .magicfeedback-image-option-label-container input:checked + img {
1216
+ border-color: var(--mf-primary);
1217
+ box-shadow: 0 0 0 3px var(--mf-primary-light);
1218
+ }
1219
+
1220
+ /* ========================================
1221
+ MATRIX QUESTIONS
1222
+ ======================================== */
1223
+ .magicfeedback-multi-question-matrix-container {
1224
+ width: 100%;
1225
+ overflow-x: auto;
1226
+ border-radius: var(--mf-radius-md);
1227
+ /* the layout follows the space the survey gets (a pop-in, a sidebar),
1228
+ not the size of the window */
1229
+ container-type: inline-size;
1230
+ }
1231
+
1232
+ .magicfeedback-multi-question-matrix-table {
1233
+ width: 100%;
1234
+ border-collapse: separate;
1235
+ border-spacing: 0 var(--mf-space-xs);
1236
+ }
1237
+
1238
+ .magicfeedback-multi-question-matrix-table th {
1239
+ padding: var(--mf-space-md);
1240
+ text-align: center;
1241
+ font-size: var(--mf-font-size-sm);
1242
+ font-weight: 500;
1243
+ color: var(--mf-text-secondary);
1244
+ }
1245
+
1246
+ .magicfeedback-multi-question-matrix-row-tr {
1247
+ background-color: var(--mf-bg-primary);
1248
+ border-radius: var(--mf-radius-md);
1249
+ transition: var(--mf-transition-fast);
1250
+ }
1251
+
1252
+ .magicfeedback-multi-question-matrix-row-tr:nth-child(even) {
1253
+ background-color: var(--mf-bg-secondary);
1254
+ }
1255
+
1256
+ @media (hover: hover) {
1257
+ .magicfeedback-multi-question-matrix-row-tr:hover {
1258
+ background-color: var(--mf-bg-hover);
1259
+ box-shadow: var(--mf-shadow-sm);
1260
+ }
1261
+ }
1262
+
1263
+ .magicfeedback-multi-question-matrix-table td {
1264
+ padding: var(--mf-space-md);
1265
+ text-align: center;
1266
+ }
1267
+
1268
+ .magicfeedback-multi-question-matrix-label {
1269
+ text-align: start;
1270
+ font-size: var(--mf-font-size-base);
1271
+ color: var(--mf-text-primary);
1272
+ }
1273
+
1274
+ .magicfeedback-multi-question-matrix-table input[type="radio"] {
1275
+ width: 20px;
1276
+ height: 20px;
1277
+ cursor: pointer;
1278
+ accent-color: var(--mf-primary);
1279
+ }
1280
+
1281
+ .magicfeedback-multi-question-matrix-question {
1282
+ min-width: 200px;
1283
+ padding: 10px;
1284
+ }
1285
+
1286
+ /* the column header names the option in a table; the per-cell label is for
1287
+ screen readers until the rows stack */
1288
+ .magicfeedback-multi-question-matrix-option-label {
1289
+ position: absolute;
1290
+ width: 1px;
1291
+ height: 1px;
1292
+ overflow: hidden;
1293
+ clip: rect(0, 0, 0, 0);
1294
+ white-space: nowrap;
1295
+ }
1296
+
1297
+ /* narrow container: every row becomes its own question with the options
1298
+ stacked underneath, instead of a table cut off at the side */
1299
+ @container (max-width: 599px) {
1300
+ .magicfeedback-multi-question-matrix-table,
1301
+ .magicfeedback-multi-question-matrix-table tbody,
1302
+ .magicfeedback-multi-question-matrix-table tr,
1303
+ .magicfeedback-multi-question-matrix-table td {
1304
+ display: block;
1305
+ width: 100%;
1306
+ }
1307
+
1308
+ .magicfeedback-multi-question-matrix-table thead {
1309
+ display: none;
1310
+ }
1311
+
1312
+ .magicfeedback-multi-question-matrix-row-tr,
1313
+ .magicfeedback-multi-question-matrix-row-tr:nth-child(even) {
1314
+ margin-bottom: var(--mf-space-lg);
1315
+ background: transparent;
1316
+ box-shadow: none;
1317
+ }
1318
+
1319
+ @media (hover: hover) {
1320
+ .magicfeedback-multi-question-matrix-row-tr:hover {
1321
+ margin-bottom: var(--mf-space-lg);
1322
+ background: transparent;
1323
+ box-shadow: none;
1324
+ }
1325
+ }
1326
+
1327
+ .magicfeedback-multi-question-matrix-table td.magicfeedback-multi-question-matrix-question {
1328
+ min-width: 0;
1329
+ padding: 0 0 var(--mf-space-sm);
1330
+ text-align: start;
1331
+ }
1332
+
1333
+ .magicfeedback-multi-question-matrix-question .magicfeedback-multi-question-matrix-label {
1334
+ font-weight: 600;
1335
+ }
1336
+
1337
+ .magicfeedback-multi-question-matrix-table td.magicfeedback-multi-question-matrix-option {
1338
+ display: flex;
1339
+ align-items: center;
1340
+ gap: var(--mf-space-sm);
1341
+ margin-bottom: var(--mf-space-sm);
1342
+ padding: 0 var(--mf-space-md);
1343
+ text-align: start;
1344
+ background: var(--mf-bg-secondary);
1345
+ border: 2px solid var(--mf-border);
1346
+ border-radius: var(--mf-radius-md);
1347
+ cursor: pointer;
1348
+ transition: var(--mf-transition-fast);
1349
+ }
1350
+
1351
+ @media (hover: hover) {
1352
+ .magicfeedback-multi-question-matrix-option:hover {
1353
+ border-color: var(--mf-primary-border);
1354
+ }
1355
+ }
1356
+
1357
+ .magicfeedback-multi-question-matrix-option:has(input:checked) {
1358
+ border-color: var(--mf-primary);
1359
+ background: var(--mf-primary-light);
1360
+ }
1361
+
1362
+ .magicfeedback-multi-question-matrix-table .magicfeedback-multi-question-matrix-option input[type="radio"] {
1363
+ flex-shrink: 0;
1364
+ }
1365
+
1366
+ /* the whole card is the click target */
1367
+ .magicfeedback-multi-question-matrix-option-label {
1368
+ position: static;
1369
+ flex: 1;
1370
+ width: auto;
1371
+ height: auto;
1372
+ padding: var(--mf-space-md) 0;
1373
+ overflow: visible;
1374
+ clip: auto;
1375
+ white-space: normal;
1376
+ font-size: var(--mf-font-size-base);
1377
+ color: var(--mf-text-primary);
1378
+ cursor: pointer;
1379
+ }
1380
+ }
1381
+
1382
+ /* ========================================
1383
+ MAXDIFF (BEST\u2013WORST)
1384
+ ======================================== */
1385
+ .magicfeedback-max-diff {
1386
+ /* "least" gets its own hue, apart from the brand color "most" uses; dark
1387
+ enough to read as header text and to hold the white center dot */
1388
+ --mf-max-diff-worst: #b45309;
1389
+ width: 100%;
1390
+ }
1391
+
1392
+ [data-mf-mode="dark"] .magicfeedback-max-diff {
1393
+ --mf-max-diff-worst: #F59E0B;
1394
+ }
1395
+
1396
+ .magicfeedback-max-diff-container {
1397
+ width: 100%;
1398
+ /* the layout follows the space the survey gets (a pop-in, a sidebar),
1399
+ not the size of the window */
1400
+ container-type: inline-size;
1401
+ }
1402
+
1403
+ .magicfeedback-max-diff-progress {
1404
+ display: flex;
1405
+ align-items: center;
1406
+ gap: var(--mf-space-md);
1407
+ margin-bottom: var(--mf-space-lg);
1408
+ }
1409
+
1410
+ .magicfeedback-max-diff-progress-label {
1411
+ font-size: 0.8125rem;
1412
+ font-weight: var(--mf-font-weight-bold);
1413
+ letter-spacing: 0.04em;
1414
+ text-transform: uppercase;
1415
+ white-space: nowrap;
1416
+ color: var(--mf-text-secondary);
1417
+ }
1418
+
1419
+ .magicfeedback-max-diff-progress-track {
1420
+ flex: 1;
1421
+ height: 6px;
1422
+ overflow: hidden;
1423
+ border-radius: var(--mf-radius-full);
1424
+ background: var(--mf-border);
1425
+ }
1426
+
1427
+ .magicfeedback-max-diff-progress-fill {
1428
+ display: block;
1429
+ height: 100%;
1430
+ border-radius: var(--mf-radius-full);
1431
+ background: var(--mf-primary);
1432
+ }
1433
+
1434
+ .magicfeedback-max-diff-table {
1435
+ width: 100%;
1436
+ border-collapse: collapse;
1437
+ }
1438
+
1439
+ .magicfeedback-max-diff-head,
1440
+ .magicfeedback-max-diff-head-spacer {
1441
+ border-bottom: 1px solid var(--mf-border);
1442
+ }
1443
+
1444
+ .magicfeedback-max-diff-head {
1445
+ width: 11rem;
1446
+ padding: 0 var(--mf-space-sm) var(--mf-space-sm);
1447
+ font-size: 0.8125rem;
1448
+ font-weight: var(--mf-font-weight-extrabold);
1449
+ letter-spacing: 0.04em;
1450
+ text-transform: uppercase;
1451
+ text-align: center;
1452
+ vertical-align: bottom;
1453
+ }
1454
+
1455
+ .magicfeedback-max-diff-head-best {
1456
+ color: var(--mf-primary);
1457
+ }
1458
+
1459
+ .magicfeedback-max-diff-head-worst {
1460
+ color: var(--mf-max-diff-worst);
1461
+ }
1462
+
1463
+ .magicfeedback-max-diff-head-label {
1464
+ display: inline-flex;
1465
+ align-items: center;
1466
+ gap: 6px;
1467
+ }
1468
+
1469
+ .magicfeedback-max-diff-row {
1470
+ transition: background-color 0.15s ease;
1471
+ }
1472
+
1473
+ .magicfeedback-max-diff-row > * {
1474
+ border-bottom: 1px solid var(--mf-border);
1475
+ }
1476
+
1477
+ .magicfeedback-max-diff-row:has(.magicfeedback-max-diff-best:checked) {
1478
+ background-color: color-mix(in srgb, var(--mf-primary) 8%, transparent);
1479
+ }
1480
+
1481
+ .magicfeedback-max-diff-row:has(.magicfeedback-max-diff-worst:checked) {
1482
+ background-color: color-mix(in srgb, var(--mf-max-diff-worst) 8%, transparent);
1483
+ }
1484
+
1485
+ .magicfeedback-max-diff-item {
1486
+ padding: var(--mf-space-md) var(--mf-space-sm);
1487
+ font-size: 1.0625rem;
1488
+ font-weight: var(--mf-font-weight-semibold);
1489
+ line-height: 1.4;
1490
+ text-align: center;
1491
+ color: var(--mf-text-primary);
1492
+ }
1493
+
1494
+ .magicfeedback-max-diff-row:has(input:checked) .magicfeedback-max-diff-item {
1495
+ font-weight: var(--mf-font-weight-extrabold);
1496
+ }
1497
+
1498
+ .magicfeedback-max-diff-cell {
1499
+ padding: 0;
1500
+ }
1501
+
1502
+ /* the whole cell is the click target */
1503
+ .magicfeedback-max-diff-pick {
1504
+ display: flex;
1505
+ align-items: center;
1506
+ justify-content: center;
1507
+ min-height: 64px;
1508
+ cursor: pointer;
1509
+ }
1510
+
1511
+ .magicfeedback-max-diff-input {
1512
+ appearance: none;
1513
+ -webkit-appearance: none;
1514
+ flex-shrink: 0;
1515
+ width: 26px;
1516
+ height: 26px;
1517
+ margin: 0;
1518
+ border: 2px solid color-mix(in srgb, var(--mf-text-secondary) 80%, var(--mf-tint-base));
1519
+ border-radius: var(--mf-radius-full);
1520
+ background: var(--mf-bg-secondary);
1521
+ cursor: pointer;
1522
+ transition: var(--mf-transition-fast);
1523
+ }
1524
+
1525
+ @media (hover: hover) {
1526
+ .magicfeedback-max-diff-pick:hover .magicfeedback-max-diff-input {
1527
+ transform: scale(1.08);
1528
+ }
1529
+ }
1530
+
1531
+ .magicfeedback-max-diff-best:checked {
1532
+ border-color: var(--mf-primary);
1533
+ background: radial-gradient(circle, var(--mf-on-primary) 0 4px, var(--mf-primary) 4.5px);
1534
+ }
1535
+
1536
+ .magicfeedback-max-diff-worst:checked {
1537
+ border-color: var(--mf-max-diff-worst);
1538
+ background: radial-gradient(circle, var(--mf-on-primary) 0 4px, var(--mf-max-diff-worst) 4.5px);
1539
+ }
1540
+
1541
+ .magicfeedback-max-diff-input:focus-visible {
1542
+ outline: 3px solid var(--mf-primary-border);
1543
+ outline-offset: 3px;
1544
+ }
1545
+
1546
+ /* narrow container: same table, slimmer pick columns and the header icon
1547
+ stacked over its label */
1548
+ @container (max-width: 599px) {
1549
+ .magicfeedback-max-diff-head {
1550
+ width: 4.75rem;
1551
+ padding-inline: 2px;
1552
+ font-size: 0.6875rem;
1553
+ }
1554
+
1555
+ .magicfeedback-max-diff-head-label {
1556
+ flex-direction: column;
1557
+ gap: 2px;
1558
+ }
1559
+
1560
+ .magicfeedback-max-diff-item {
1561
+ padding-inline: 4px;
1562
+ font-size: var(--mf-font-size-base);
1563
+ }
1564
+
1565
+ .magicfeedback-max-diff-pick {
1566
+ min-height: 68px;
1567
+ }
1568
+
1569
+ .magicfeedback-max-diff-input {
1570
+ width: 28px;
1571
+ height: 28px;
1572
+ }
1573
+ }
1574
+
1575
+ /* ========================================
1576
+ PRIORITY LIST
1577
+ ======================================== */
1578
+ .magicfeedback-priority-list-item {
1579
+ display: flex;
1580
+ align-items: center;
1581
+ justify-content: space-between;
1582
+ padding: var(--mf-space-md);
1583
+ margin: var(--mf-space-sm) 0;
1584
+ background-color: var(--mf-bg-primary);
1585
+ border: 1.5px solid var(--mf-border);
1586
+ border-radius: var(--mf-radius-md);
1587
+ transition: var(--mf-transition-fast);
1588
+ }
1589
+
1590
+ @media (hover: hover) {
1591
+ .magicfeedback-priority-list-item:hover {
1592
+ box-shadow: var(--mf-shadow-sm);
1593
+ border-color: var(--mf-primary);
1594
+ }
1595
+ }
1596
+
1597
+ .magicfeedback-priority-list-item-label {
1598
+ flex: 1;
1599
+ font-size: var(--mf-font-size-base);
1600
+ text-align: start;
1601
+ color: var(--mf-text-primary);
1602
+ margin: 0;
1603
+ }
1604
+
1605
+ .magicfeedback-priority-list-arrow-up,
1606
+ .magicfeedback-priority-list-arrow-down {
1607
+ padding: var(--mf-space-xs);
1608
+ font-size: var(--mf-font-size-lg);
1609
+ color: var(--mf-text-secondary);
1610
+ cursor: pointer;
1611
+ transition: var(--mf-transition-fast);
1612
+ user-select: none;
1613
+ }
1614
+
1615
+ @media (hover: hover) {
1616
+ .magicfeedback-priority-list-arrow-up:hover,
1617
+ .magicfeedback-priority-list-arrow-down:hover {
1618
+ color: var(--mf-primary);
1619
+ transform: scale(1.2);
1620
+ }
1621
+ }
1622
+
1623
+ /* ========================================
1624
+ POINT SYSTEM
1625
+ ======================================== */
1626
+ .magicfeedback-point-system-item {
1627
+ display: flex;
1628
+ align-items: center;
1629
+ justify-content: space-between;
1630
+ padding: var(--mf-space-md);
1631
+ margin: var(--mf-space-sm) 0;
1632
+ background-color: var(--mf-bg-primary);
1633
+ border: 1.5px solid var(--mf-border);
1634
+ border-radius: var(--mf-radius-md);
1635
+ min-height: 45px;
1636
+ }
1637
+
1638
+ .magicfeedback-point-system-item label {
1639
+ flex: 1;
1640
+ font-size: var(--mf-font-size-base);
1641
+ color: var(--mf-text-primary);
1642
+ margin: 0;
1643
+ }
1644
+
1645
+ .magicfeedback-point-system-input-container {
1646
+ display: flex;
1647
+ align-items: center;
1648
+ gap: var(--mf-space-sm);
1649
+ }
1650
+
1651
+ .magicfeedback-point-system-item input {
1652
+ width: 80px;
1653
+ min-width: 80px;
1654
+ padding: var(--mf-space-sm);
1655
+ text-align: center;
1656
+ font-size: var(--mf-font-size-base);
1657
+ border: 1.5px solid var(--mf-border);
1658
+ border-radius: var(--mf-radius-md);
1659
+ margin: 0;
1660
+ }
1661
+
1662
+ .magicfeedback-point-system-total {
1663
+ display: flex;
1664
+ justify-content: flex-end;
1665
+ margin-top: var(--mf-space-md);
1666
+ font-size: var(--mf-font-size-base);
1667
+ font-weight: 600;
1668
+ color: var(--mf-text-primary);
1669
+ }
1670
+
1671
+ /* ========================================
1672
+ CONSENT
1673
+ ======================================== */
1674
+ .magicfeedback-consent-container {
1675
+ display: flex;
1676
+ flex-direction: row;
1677
+ align-items: center;
1678
+ gap: var(--mf-space-sm);
1679
+ padding: var(--mf-space-md);
1680
+ background-color: var(--mf-bg-secondary);
1681
+ border-radius: var(--mf-radius-md);
1682
+ margin: var(--mf-space-md) 0;
1683
+ }
1684
+
1685
+ .magicfeedback-consent-container input[type="checkbox"] {
1686
+ margin-top: 2px;
1687
+ flex-shrink: 0;
1688
+ accent-color: var(--mf-primary);
1689
+ }
1690
+
1691
+ .magicfeedback-consent-container label {
1692
+ flex: 1;
1693
+ font-size: var(--mf-font-size-sm);
1694
+ text-align: start;
1695
+ color: var(--mf-text-secondary);
1696
+ line-height: var(--mf-line-height);
1697
+ cursor: pointer;
1698
+ margin-bottom: 0;
1699
+ }
1700
+
1701
+ /* ========================================
1702
+ ACTION BUTTONS
1703
+ ======================================== */
1704
+ .magicfeedback-action-container {
1705
+ display: flex;
1706
+ align-items: center;
1707
+ justify-content: space-between;
1708
+ gap: var(--mf-space-md);
1709
+ margin-top: var(--mf-space-xl);
1710
+ padding-top: var(--mf-space-lg);
1711
+ border-top: 1px solid var(--mf-border);
1712
+ }
1713
+
1714
+ .magicfeedback-submit {
1715
+ padding: 0.8rem 1.6rem;
1716
+ font-size: var(--mf-font-size-base);
1717
+ font-weight: 800;
1718
+ color: var(--mf-on-primary);
1719
+ background-color: var(--mf-primary);
1720
+ border: 2px solid var(--mf-primary);
1721
+ border-radius: var(--mf-radius-full);
1722
+ cursor: pointer;
1723
+ transition: var(--mf-transition-fast);
1724
+ box-shadow: var(--mf-shadow-md);
1725
+ }
1726
+
1727
+ @media (hover: hover) {
1728
+ .magicfeedback-submit:hover {
1729
+ background-color: var(--mf-primary-hover);
1730
+ box-shadow: var(--mf-shadow-lg);
1731
+ transform: translateY(-2px);
1732
+ }
1733
+ }
1734
+
1735
+ .magicfeedback-submit:active {
1736
+ transform: translateY(0);
1737
+ box-shadow: var(--mf-shadow-sm);
1738
+ }
1739
+
1740
+ .magicfeedback-submit:disabled {
1741
+ opacity: 0.5;
1742
+ cursor: not-allowed;
1743
+ transform: none;
1744
+ }
1745
+
1746
+ .magicfeedback-back {
1747
+ padding: 0.65rem 1rem;
1748
+ font-size: var(--mf-font-size-base);
1749
+ font-weight: 700;
1750
+ color: var(--mf-primary);
1751
+ background-color: var(--mf-bg-secondary);
1752
+ border: 2px solid var(--mf-border);
1753
+ border-radius: var(--mf-radius-full);
1754
+ cursor: pointer;
1755
+ transition: var(--mf-transition-fast);
1756
+ }
1757
+
1758
+ @media (hover: hover) {
1759
+ .magicfeedback-back:hover {
1760
+ border-color: var(--mf-primary);
1761
+ background-color: var(--mf-bg-hover);
1762
+ }
1763
+ }
1764
+
1765
+ /* hidden on the first page; keep the submit button on the right */
1766
+ .magicfeedback-back[hidden] {
1767
+ display: none;
1768
+ }
1769
+
1770
+ .magicfeedback-action-container .magicfeedback-submit {
1771
+ margin-left: auto;
1772
+ }
1773
+
1774
+ /* ========================================
1775
+ SKIP & COUNTER
1776
+ ======================================== */
1777
+ .magicfeedback-skip-container {
1778
+ display: flex;
1779
+ align-items: center;
1780
+ gap: var(--mf-space-xs);
1781
+ padding: 0;
1782
+ margin: 0;
1783
+ font-size: var(--mf-font-size-sm);
1784
+ color: var(--mf-text-muted);
1785
+ background: transparent;
1786
+ border: none;
1787
+ cursor: pointer;
1788
+ transition: var(--mf-transition-fast);
1789
+ }
1790
+
1791
+ @media (hover: hover) {
1792
+ .magicfeedback-skip-container:hover {
1793
+ color: var(--mf-primary);
1794
+ }
1795
+ }
1796
+
1797
+ .magicfeedback-skip-container input[type="checkbox"] {
1798
+ margin: 0;
1799
+ cursor: pointer;
1800
+ accent-color: var(--mf-primary);
1801
+ }
1802
+
1803
+ .magicfeedback-counter {
1804
+ display: flex;
1805
+ justify-content: flex-end;
1806
+ margin-top: var(--mf-space-md);
1807
+ font-size: var(--mf-font-size-sm);
1808
+ color: var(--mf-text-muted);
1809
+ }
1810
+
1811
+ /* ========================================
1812
+ MODAL STYLES
1813
+ ======================================== */
1814
+ /* Modal backdrop */
1815
+ .magicfeedback-modal-backdrop {
1816
+ position: fixed;
1817
+ top: 0;
1818
+ left: 0;
1819
+ width: 100vw;
1820
+ height: 100vh;
1821
+ background: var(--mf-overlay);
1822
+ display: none; /* toggled to flex when open */
1823
+ align-items: center;
1824
+ justify-content: center;
1825
+ z-index: 9999;
1826
+ }
1827
+
1828
+ /* Modal container */
1829
+ .magicfeedback-modal {
1830
+ background: var(--mf-surface);
1831
+ color: var(--mf-text-primary);
1832
+ border-radius: 8px;
1833
+ box-shadow: var(--mf-shadow-modal);
1834
+ max-width: 520px;
1835
+ width: 90%;
1836
+ max-height: 80vh;
1837
+ /* Flex column so the options list scrolls while the actions footer
1838
+ (counter + confirm button) stays pinned and always visible. */
1839
+ display: flex;
1840
+ flex-direction: column;
1841
+ overflow: hidden;
1842
+ padding: 16px;
1843
+ position: relative;
1844
+ /* Portalled to document.body (see renderPriorityList.ts) to escape the
1845
+ host page's overflow/z-index \u2014 so it never inherits
1846
+ .magicfeedback-container's neutral text color and instead inherits
1847
+ whatever color the host page's own <body> happens to set. Needs its
1848
+ own explicit baseline rather than relying on that inheritance. */
1849
+ color: var(--mf-text-primary);
1850
+ }
1851
+
1852
+ /* Modal actions */
1853
+ .magicfeedback-modal-actions {
1854
+ display: flex;
1855
+ justify-content: flex-end;
1856
+ gap: 8px;
1857
+ margin-top: 12px;
1858
+ flex-shrink: 0;
1859
+ }
1860
+
1861
+ .magicfeedback-modal-counter {
1862
+ margin-inline-end: auto;
1863
+ display: flex;
1864
+ align-items: center;
1865
+ font-size: 14px;
1866
+ color: var(--mf-text-secondary);
1867
+ }
1868
+
1869
+ /* Modal list */
1870
+ .magicfeedback-modal-list {
1871
+ display: flex;
1872
+ flex-direction: column;
1873
+ gap: 8px;
1874
+ /* Scrollable area; footer stays fixed below it. */
1875
+ flex: 1 1 auto;
1876
+ overflow-y: auto;
1877
+ min-height: 0;
1878
+ }
1879
+
1880
+ .magicfeedback-modal-row {
1881
+ display: flex;
1882
+ align-items: center;
1883
+ gap: 10px;
1884
+ cursor: pointer;
1885
+ }
1886
+
1887
+ /* Priority list header */
1888
+ .magicfeedback-priority-list-header {
1889
+ display: flex;
1890
+ align-items: center;
1891
+ justify-content: space-between;
1892
+ gap: 12px;
1893
+ margin-bottom: 8px;
1894
+ }
1895
+
1896
+ .magicfeedback-priority-list-reorder {
1897
+ margin-top: 8px;
1898
+ }
1899
+
1900
+ .magicfeedback-priority-list-list {
1901
+ padding: 0;
1902
+ list-style: none;
1903
+ }
1904
+
1905
+ .magicfeedback-priority-list-item {
1906
+ display: flex;
1907
+ justify-content: space-between;
1908
+ align-items: center;
1909
+ margin: 5px 0;
1910
+ }
1911
+
1912
+ .magicfeedback-priority-list-item-label {
1913
+ font-size: 15px;
1914
+ }
1915
+
1916
+ .magicfeedback-priority-list-arrows {
1917
+ display: flex;
1918
+ align-items: center;
1919
+ gap: 6px;
1920
+ }
1921
+
1922
+ /* Buttons */
1923
+ .magicfeedback-button {
1924
+ appearance: none;
1925
+ border: 2px solid var(--mf-border);
1926
+ border-radius: var(--mf-radius-full);
1927
+ background: var(--mf-bg-secondary);
1928
+ color: var(--mf-text-primary);
1929
+ padding: 0.6rem 1rem;
1930
+ font-size: 14px;
1931
+ font-weight: 700;
1932
+ cursor: pointer;
1933
+ box-shadow: var(--mf-shadow-sm);
1934
+ }
1935
+
1936
+ @media (hover: hover) {
1937
+ .magicfeedback-button:hover {
1938
+ background: var(--mf-bg-hover);
1939
+ border-color: var(--mf-primary);
1940
+ }
1941
+ }
1942
+
1943
+ .magicfeedback-button:active {
1944
+ transform: translateY(1px);
1945
+ }
1946
+
1947
+ .magicfeedback-button-primary {
1948
+ border-color: var(--mf-primary);
1949
+ background: var(--mf-primary);
1950
+ color: var(--mf-on-primary);
1951
+ box-shadow: var(--mf-shadow-md);
1952
+ }
1953
+
1954
+ @media (hover: hover) {
1955
+ .magicfeedback-button-primary:hover {
1956
+ background: var(--mf-primary-hover);
1957
+ }
1958
+ }
1959
+
1960
+ .magicfeedback-button-primary:active {
1961
+ background: var(--mf-primary-hover);
1962
+ }
1963
+
1964
+ /* Warning flash */
1965
+ .magicfeedback-warning {
1966
+ color: var(--mf-danger-text);
1967
+ }
1968
+
1969
+ /* Start message button */
1970
+ .magicfeedback-start-message-button {
1971
+ appearance: none;
1972
+ border: 2px solid var(--mf-primary);
1973
+ border-radius: var(--mf-radius-full);
1974
+ background: var(--mf-primary);
1975
+ color: var(--mf-on-primary);
1976
+ padding: 0.8rem 1.4rem;
1977
+ font-size: 15px;
1978
+ font-weight: 800;
1979
+ cursor: pointer;
1980
+ box-shadow: var(--mf-shadow-md);
1981
+ }
1982
+
1983
+ @media (hover: hover) {
1984
+ .magicfeedback-start-message-button:hover {
1985
+ background: var(--mf-primary-hover);
1986
+ }
1987
+ }
1988
+
1989
+ /* ========================================
1990
+ RESPONSIVE DESIGN
1991
+ ======================================== */
1992
+ @media (max-width: 768px) {
1993
+ :root {
1994
+ --mf-space-lg: 1.25rem;
1995
+ --mf-space-xl: 1.5rem;
1996
+ }
1997
+
1998
+ .magicfeedback-container {
1999
+ padding: 12px;
2000
+ border-radius: var(--mf-radius-md);
2001
+ }
2002
+
2003
+ .magicfeedback-form {
2004
+ padding: 14px;
2005
+ border-radius: var(--mf-radius-md);
2006
+ }
2007
+
2008
+ .magicfeedback-div {
2009
+ padding: 12px;
2010
+ gap: var(--mf-space-lg)
2011
+ }
2012
+
2013
+ .magicfeedback-label {
2014
+ font-size: var(--mf-font-size-base);
2015
+ }
2016
+
2017
+ .deepdots-popup input[type="date"],
2018
+ .deepdots-popup input[type="text"],
2019
+ .deepdots-popup input[type="number"],
2020
+ .deepdots-popup input[type="email"],
2021
+ .deepdots-popup input[type="password"],
2022
+ .deepdots-popup textarea,
2023
+ .deepdots-popup select {
2024
+ padding: 0.85rem 0.95rem;
2025
+ font-size: 1rem;
2026
+ min-height: 46px;
2027
+ }
2028
+
2029
+ /*
2030
+ .magicfeedback-radio-container,
2031
+ .magicfeedback-checkbox-container,
2032
+ .magicfeedback-boolean-container,
2033
+ .magicfeedback-consent-container {
2034
+ width: 100%;
2035
+ }
2036
+ */
2037
+
2038
+ .magicfeedback-radio-container,
2039
+ .magicfeedback-checkbox-container {
2040
+ padding: 10px 12px;
2041
+ border-radius: var(--mf-radius-md);
2042
+ border: 1px solid var(--mf-border);
2043
+ gap: 10px;
2044
+ }
2045
+
2046
+ .magicfeedback-rating-container,
2047
+ .magicfeedback-rating-number-container,
2048
+ .magicfeedback-rating-star-container {
2049
+ gap: 10px;
2050
+ }
2051
+
2052
+ .magicfeedback-boolean-container {
2053
+ flex-direction: column;
2054
+ gap: 10px;
2055
+ }
2056
+
2057
+ .magicfeedback-rating-number-container-row,
2058
+ .magicfeedback-rating-number-container-row-reverse {
2059
+ gap: 6px;
2060
+ }
2061
+
2062
+ .magicfeedback-rating-number-option-row .magicfeedback-rating-number-value,
2063
+ .magicfeedback-rating-number-option-row-reverse .magicfeedback-rating-number-value {
2064
+ min-height: 44px;
2065
+ padding: var(--mf-space-xs);
2066
+ font-size: 0.9rem;
2067
+ }
2068
+
2069
+ .magicfeedback-action-container {
2070
+ flex-direction: column-reverse;
2071
+ }
2072
+
2073
+ .magicfeedback-submit,
2074
+ .magicfeedback-back {
2075
+ width: 100%;
2076
+ text-align: center;
2077
+ min-height: 48px;
2078
+ }
2079
+ }
2080
+
2081
+ /* ========================================
2082
+ ACCESSIBILITY
2083
+ ======================================== */
2084
+ @media (prefers-reduced-motion: reduce) {
2085
+ :where(.magicfeedback-container, .magicfeedback-preview, .magicfeedback-modal-backdrop), .deepdots-popup *,
2086
+ :where(.magicfeedback-container, .magicfeedback-preview, .magicfeedback-modal-backdrop)::before, .deepdots-popup *::before,
2087
+ :where(.magicfeedback-container, .magicfeedback-preview, .magicfeedback-modal-backdrop)::after, .deepdots-popup *::after {
2088
+ animation-duration: 0.01ms !important;
2089
+ animation-iteration-count: 1 !important;
2090
+ transition-duration: 0.01ms !important;
2091
+ }
2092
+ }
2093
+
2094
+
2095
+ /* ========================================
2096
+ UTILITY CLASSES
2097
+ ======================================== */
2098
+ .magicfeedback-visually-hidden {
2099
+ position: absolute;
2100
+ width: 1px;
2101
+ height: 1px;
2102
+ padding: 0;
2103
+ margin: -1px;
2104
+ overflow: hidden;
2105
+ clip: rect(0, 0, 0, 0);
2106
+ white-space: nowrap;
2107
+ border-width: 0;
2108
+ }
2109
+
2110
+ .magicfeedback-modal-close {
2111
+ position: absolute;
2112
+ top: 8px;
2113
+ inset-inline-end: 8px;
2114
+ background: transparent;
2115
+ border: none;
2116
+ font-size: 20px;
2117
+ line-height: 1;
2118
+ cursor: pointer;
2119
+ color: var(--mf-text-muted);
2120
+ }
2121
+
2122
+ .magicfeedback-modal-close:focus {
2123
+ color: var(--mf-text-strong);
2124
+ outline: none;
2125
+ }
2126
+
2127
+ @media (hover: hover) {
2128
+ .magicfeedback-modal-close:hover {
2129
+ color: var(--mf-text-strong);
2130
+ outline: none;
2131
+ }
2132
+ }
2133
+
2134
+ /* ========================================
2135
+ FILE / IMAGE UPLOAD
2136
+ ======================================== */
2137
+ .magicfeedback-upload {
2138
+ display: flex;
2139
+ flex-direction: column;
2140
+ gap: var(--mf-space-md);
2141
+ width: 100%;
2142
+ margin: 10px 0;
2143
+ }
2144
+
2145
+ /* The native input is an invisible, focusable overlay covering the dropzone. */
2146
+ .magicfeedback-upload-native {
2147
+ position: absolute;
2148
+ inset: 0;
2149
+ width: 100%;
2150
+ height: 100%;
2151
+ margin: 0;
2152
+ padding: 0;
2153
+ opacity: 0;
2154
+ cursor: pointer;
2155
+ z-index: 2;
2156
+ }
2157
+
2158
+ .magicfeedback-upload-dropzone {
2159
+ position: relative;
2160
+ display: flex;
2161
+ flex-direction: column;
2162
+ align-items: center;
2163
+ justify-content: center;
2164
+ gap: var(--mf-space-sm);
2165
+ box-sizing: border-box;
2166
+ width: 100%;
2167
+ min-height: 150px;
2168
+ padding: var(--mf-space-xl);
2169
+ text-align: center;
2170
+ border: 2px dashed var(--mf-border);
2171
+ border-radius: var(--mf-radius-md);
2172
+ background-color: var(--mf-surface-alt);
2173
+ cursor: pointer;
2174
+ transition: var(--mf-transition);
2175
+ }
2176
+
2177
+ @media (hover: hover) {
2178
+ .magicfeedback-upload-dropzone:hover {
2179
+ border-color: var(--mf-primary);
2180
+ background-color: var(--mf-bg-hover);
2181
+ }
2182
+ }
2183
+
2184
+ .magicfeedback-upload-dropzone:focus-within {
2185
+ border-color: var(--mf-primary);
2186
+ box-shadow: var(--mf-shadow-focus);
2187
+ }
2188
+
2189
+ .magicfeedback-upload-dropzone.is-dragover {
2190
+ border-color: var(--mf-primary);
2191
+ border-style: solid;
2192
+ background-color: var(--mf-primary-light);
2193
+ box-shadow: var(--mf-shadow-focus);
2194
+ }
2195
+
2196
+ .magicfeedback-upload-icon {
2197
+ display: inline-flex;
2198
+ align-items: center;
2199
+ justify-content: center;
2200
+ width: 46px;
2201
+ height: 46px;
2202
+ color: var(--mf-primary);
2203
+ background-color: var(--mf-surface);
2204
+ border-radius: var(--mf-radius-full);
2205
+ box-shadow: var(--mf-shadow-sm);
2206
+ pointer-events: none;
2207
+ }
2208
+
2209
+ .magicfeedback-upload-icon svg {
2210
+ width: 24px;
2211
+ height: 24px;
2212
+ }
2213
+
2214
+ .magicfeedback-upload-cta {
2215
+ font-family: inherit;
2216
+ font-weight: var(--mf-font-weight-semibold);
2217
+ font-size: var(--mf-font-size-base);
2218
+ color: var(--mf-text-primary);
2219
+ pointer-events: none;
2220
+ }
2221
+
2222
+ .magicfeedback-upload-hint {
2223
+ font-family: inherit;
2224
+ font-size: var(--mf-font-size-sm);
2225
+ color: var(--mf-text-muted);
2226
+ pointer-events: none;
2227
+ }
2228
+
2229
+ .magicfeedback-upload-list {
2230
+ display: flex;
2231
+ flex-direction: column;
2232
+ gap: var(--mf-space-sm);
2233
+ width: 100%;
2234
+ margin: 0;
2235
+ padding: 0;
2236
+ list-style: none;
2237
+ }
2238
+
2239
+ .magicfeedback-upload-list:empty {
2240
+ display: none;
2241
+ }
2242
+
2243
+ .magicfeedback-upload-file-item {
2244
+ display: flex;
2245
+ align-items: center;
2246
+ gap: var(--mf-space-md);
2247
+ padding: var(--mf-space-sm) var(--mf-space-md);
2248
+ background-color: var(--mf-surface);
2249
+ border: 1px solid var(--mf-border);
2250
+ border-radius: var(--mf-radius-sm);
2251
+ box-shadow: var(--mf-shadow-sm);
2252
+ animation: mf-scale-in 0.2s ease-out;
2253
+ }
2254
+
2255
+ .magicfeedback-upload-thumb {
2256
+ flex: 0 0 auto;
2257
+ display: inline-flex;
2258
+ align-items: center;
2259
+ justify-content: center;
2260
+ width: 40px;
2261
+ height: 40px;
2262
+ overflow: hidden;
2263
+ color: var(--mf-text-secondary);
2264
+ background-color: var(--mf-surface-alt);
2265
+ border-radius: var(--mf-radius-sm);
2266
+ }
2267
+
2268
+ .magicfeedback-upload-thumb img {
2269
+ width: 100%;
2270
+ height: 100%;
2271
+ object-fit: cover;
2272
+ }
2273
+
2274
+ .magicfeedback-upload-thumb svg {
2275
+ width: 20px;
2276
+ height: 20px;
2277
+ }
2278
+
2279
+ .magicfeedback-upload-file-info {
2280
+ display: flex;
2281
+ flex-direction: column;
2282
+ flex: 1 1 auto;
2283
+ min-width: 0;
2284
+ text-align: start;
2285
+ }
2286
+
2287
+ .magicfeedback-upload-file-name {
2288
+ font-family: inherit;
2289
+ font-size: var(--mf-font-size-sm);
2290
+ font-weight: var(--mf-font-weight-semibold);
2291
+ color: var(--mf-text-primary);
2292
+ white-space: nowrap;
2293
+ overflow: hidden;
2294
+ text-overflow: ellipsis;
2295
+ }
2296
+
2297
+ .magicfeedback-upload-file-size {
2298
+ font-family: inherit;
2299
+ font-size: 0.75rem;
2300
+ color: var(--mf-text-muted);
2301
+ }
2302
+
2303
+ .magicfeedback-upload-remove {
2304
+ flex: 0 0 auto;
2305
+ display: inline-flex;
2306
+ align-items: center;
2307
+ justify-content: center;
2308
+ width: 30px;
2309
+ height: 30px;
2310
+ padding: 0;
2311
+ color: var(--mf-text-muted);
2312
+ background-color: transparent;
2313
+ border: none;
2314
+ border-radius: var(--mf-radius-full);
2315
+ cursor: pointer;
2316
+ transition: var(--mf-transition-fast);
2317
+ }
2318
+
2319
+ .magicfeedback-upload-remove:focus-visible {
2320
+ color: var(--mf-error);
2321
+ background-color: var(--mf-primary-light);
2322
+ outline: none;
2323
+ }
2324
+
2325
+ @media (hover: hover) {
2326
+ .magicfeedback-upload-remove:hover {
2327
+ color: var(--mf-error);
2328
+ background-color: var(--mf-primary-light);
2329
+ outline: none;
2330
+ }
2331
+ }
2332
+
2333
+ .magicfeedback-upload-remove svg {
2334
+ width: 16px;
2335
+ height: 16px;
2336
+ }
2337
+
2338
+ .magicfeedback-upload-error {
2339
+ display: none;
2340
+ font-family: inherit;
2341
+ font-size: var(--mf-font-size-sm);
2342
+ color: var(--mf-error);
2343
+ }
2344
+
2345
+ .magicfeedback-upload-error.is-visible {
2346
+ display: block;
2347
+ }
2348
+
2349
+ /* ========================================
2350
+ RTL (Arabic)
2351
+ ========================================
2352
+ The SDK stamps dir="rtl" (and .magicfeedback-rtl) on the survey container
2353
+ for right-to-left languages. Everything else in this stylesheet uses logical
2354
+ properties (text-align: start, padding-inline-*, inset-inline-*), so it
2355
+ mirrors on its own; only the handful of rules that cannot be expressed
2356
+ logically live here.
2357
+
2358
+ Rules are scoped to [dir="rtl"] inside our own subtree so a host page that is
2359
+ itself RTL, or one that embeds an Arabic survey in an LTR page, both render
2360
+ correctly. */
2361
+
2362
+ /* background-position has no logical form: move the select caret to the
2363
+ left edge, opposite the padding that inset-inline-end already mirrored. */
2364
+ :where(.magicfeedback-container, .magicfeedback-preview, .magicfeedback-modal-backdrop)[dir="rtl"] select {
2365
+ background-position: left var(--mf-space-md) center;
2366
+ }
2367
+
2368
+ /* Emails, URLs, numbers, dates and phone numbers are latin/numeric content
2369
+ even in an Arabic survey: keep their own direction LTR so punctuation
2370
+ (@, ., +, /) lands where the user expects, but align them to the start of
2371
+ the RTL line so they still read as part of the form. */
2372
+ :where(.magicfeedback-container, .magicfeedback-preview, .magicfeedback-modal-backdrop)[dir="rtl"] input[type="email"],
2373
+ :where(.magicfeedback-container, .magicfeedback-preview, .magicfeedback-modal-backdrop)[dir="rtl"] input[type="url"],
2374
+ :where(.magicfeedback-container, .magicfeedback-preview, .magicfeedback-modal-backdrop)[dir="rtl"] input[type="number"],
2375
+ :where(.magicfeedback-container, .magicfeedback-preview, .magicfeedback-modal-backdrop)[dir="rtl"] input[type="tel"],
2376
+ :where(.magicfeedback-container, .magicfeedback-preview, .magicfeedback-modal-backdrop)[dir="rtl"] input[type="date"],
2377
+ :where(.magicfeedback-container, .magicfeedback-preview, .magicfeedback-modal-backdrop)[dir="rtl"] input[type="time"] {
2378
+ direction: ltr;
2379
+ text-align: right;
2380
+ }
2381
+
2382
+ /* Mirror of mf-slide-in: questions enter from the reading edge. */
2383
+ @keyframes mf-slide-in-rtl {
2384
+ from {
2385
+ opacity: 0;
2386
+ transform: translateX(16px);
2387
+ }
2388
+ to {
2389
+ opacity: 1;
2390
+ transform: translateX(0);
2391
+ }
2392
+ }
2393
+
2394
+ [dir="rtl"] .magicfeedback-div {
2395
+ animation-name: mf-slide-in-rtl;
2396
+ }
2397
+
2398
+ /* ========================================
2399
+ LOCAL \u2014 reglas del popup, no vienen del paquete
2400
+ ======================================== */
2401
+
2402
+ /* Los controles de formulario no heredan font-family: cuando el popup trae fuente propia
2403
+ (clase deepdots-has-font), se les fuerza la del contenedor. */
2404
+ .deepdots-popup.deepdots-has-font button,
2405
+ .deepdots-popup.deepdots-has-font input,
2406
+ .deepdots-popup.deepdots-has-font textarea,
2407
+ .deepdots-popup.deepdots-has-font select {
2408
+ font-family: var(--deepdots-font, inherit);
2409
+ }
2410
+
2411
+ /* WebKit s\xED aplica el padding al radio nativo: con padding el control se dibuja enorme (se vio
2412
+ en iOS, WebView de RN y Safari, no en Chrome). El paquete ya no lo pone, pero la regla es
2413
+ barata y evita que vuelva. */
2414
+ .deepdots-popup input[type="radio"] {
2415
+ padding: 0;
2416
+ }
2417
+ `;
2418
+ export {
2419
+ __default as default
2420
+ };
2421
+ //# sourceMappingURL=2.2.44-NTG36TY5.mjs.map