@magicfeedback/popup-sdk 1.22.0 → 1.23.0

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