@reevit/react 0.4.8 → 0.5.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.
- package/README.md +84 -9
- package/dist/index.d.mts +42 -18
- package/dist/index.d.ts +42 -18
- package/dist/index.js +291 -150
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +291 -150
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +235 -161
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
box-shadow: var(--reevit-shadow);
|
|
99
99
|
width: 100%;
|
|
100
100
|
max-width: 440px;
|
|
101
|
-
min-height:
|
|
101
|
+
min-height: 360px;
|
|
102
102
|
max-height: 90vh;
|
|
103
103
|
overflow: hidden;
|
|
104
104
|
display: flex;
|
|
@@ -128,9 +128,8 @@
|
|
|
128
128
|
display: flex;
|
|
129
129
|
align-items: center;
|
|
130
130
|
justify-content: space-between;
|
|
131
|
-
padding:
|
|
132
|
-
|
|
133
|
-
background: linear-gradient(120deg, rgba(14, 165, 233, 0.08), transparent 55%);
|
|
131
|
+
padding: 16px 20px;
|
|
132
|
+
background: var(--reevit-background);
|
|
134
133
|
}
|
|
135
134
|
|
|
136
135
|
.reevit-modal__branding {
|
|
@@ -140,25 +139,25 @@
|
|
|
140
139
|
}
|
|
141
140
|
|
|
142
141
|
.reevit-modal__logo {
|
|
143
|
-
height:
|
|
144
|
-
width:
|
|
142
|
+
height: 28px;
|
|
143
|
+
width: 28px;
|
|
145
144
|
object-fit: contain;
|
|
145
|
+
border-radius: 6px;
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
.reevit-modal__brand-name {
|
|
149
|
-
font-size:
|
|
149
|
+
font-size: 14px;
|
|
150
150
|
font-weight: 600;
|
|
151
151
|
color: var(--reevit-text);
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
.reevit-modal__close {
|
|
155
|
-
width:
|
|
156
|
-
height:
|
|
157
|
-
border-radius:
|
|
158
|
-
border:
|
|
159
|
-
background:
|
|
160
|
-
color: var(--reevit-text
|
|
161
|
-
font-size: 14px;
|
|
155
|
+
width: 32px;
|
|
156
|
+
height: 32px;
|
|
157
|
+
border-radius: 50%;
|
|
158
|
+
border: none;
|
|
159
|
+
background: rgba(0, 0, 0, 0.06);
|
|
160
|
+
color: var(--reevit-text);
|
|
162
161
|
cursor: pointer;
|
|
163
162
|
display: flex;
|
|
164
163
|
align-items: center;
|
|
@@ -167,17 +166,14 @@
|
|
|
167
166
|
}
|
|
168
167
|
|
|
169
168
|
.reevit-modal__close:hover {
|
|
170
|
-
background:
|
|
171
|
-
color: var(--reevit-text);
|
|
172
|
-
border-color: var(--reevit-text-secondary);
|
|
169
|
+
background: rgba(0, 0, 0, 0.1);
|
|
173
170
|
}
|
|
174
171
|
|
|
175
172
|
/* Modal Amount */
|
|
176
173
|
.reevit-modal__amount {
|
|
177
|
-
padding:
|
|
174
|
+
padding: 24px 20px;
|
|
178
175
|
text-align: center;
|
|
179
|
-
background:
|
|
180
|
-
border-bottom: 1px solid var(--reevit-border);
|
|
176
|
+
background: var(--reevit-background);
|
|
181
177
|
}
|
|
182
178
|
|
|
183
179
|
.reevit-modal__amount-label {
|
|
@@ -185,16 +181,17 @@
|
|
|
185
181
|
font-size: 11px;
|
|
186
182
|
font-weight: 500;
|
|
187
183
|
text-transform: uppercase;
|
|
188
|
-
letter-spacing: 0.
|
|
189
|
-
color: var(--reevit-text
|
|
184
|
+
letter-spacing: 0.12em;
|
|
185
|
+
color: var(--reevit-text);
|
|
186
|
+
opacity: 0.6;
|
|
190
187
|
margin-bottom: 8px;
|
|
191
188
|
}
|
|
192
189
|
|
|
193
190
|
.reevit-modal__amount-value {
|
|
194
191
|
display: block;
|
|
195
|
-
font-size:
|
|
192
|
+
font-size: 32px;
|
|
196
193
|
font-weight: 700;
|
|
197
|
-
letter-spacing: -0.
|
|
194
|
+
letter-spacing: -0.02em;
|
|
198
195
|
color: var(--reevit-text);
|
|
199
196
|
}
|
|
200
197
|
|
|
@@ -202,61 +199,73 @@
|
|
|
202
199
|
.reevit-modal__content {
|
|
203
200
|
flex: 1;
|
|
204
201
|
overflow-y: auto;
|
|
205
|
-
padding: 20px;
|
|
202
|
+
padding: 0 20px 20px;
|
|
203
|
+
background: var(--reevit-background);
|
|
206
204
|
}
|
|
207
205
|
|
|
208
206
|
/* Modal Footer */
|
|
209
207
|
.reevit-modal__footer {
|
|
210
|
-
padding:
|
|
211
|
-
border-top: 1px solid var(--reevit-border);
|
|
208
|
+
padding: 16px 20px;
|
|
212
209
|
text-align: center;
|
|
213
|
-
background: var(--reevit-
|
|
210
|
+
background: var(--reevit-background);
|
|
214
211
|
}
|
|
215
212
|
|
|
216
213
|
.reevit-modal__secured {
|
|
217
|
-
font-size:
|
|
218
|
-
font-weight:
|
|
219
|
-
color: var(--reevit-text
|
|
220
|
-
|
|
214
|
+
font-size: 12px;
|
|
215
|
+
font-weight: 400;
|
|
216
|
+
color: var(--reevit-text);
|
|
217
|
+
opacity: 0.5;
|
|
221
218
|
}
|
|
222
219
|
|
|
223
220
|
/* ===== PSP SELECTOR ===== */
|
|
224
221
|
.reevit-psp-selector {
|
|
225
|
-
margin-bottom:
|
|
222
|
+
margin-bottom: 0;
|
|
226
223
|
}
|
|
227
224
|
|
|
228
225
|
.reevit-psp-selector__label {
|
|
229
|
-
font-size:
|
|
226
|
+
font-size: 11px;
|
|
230
227
|
font-weight: 600;
|
|
228
|
+
text-transform: uppercase;
|
|
229
|
+
letter-spacing: 0.08em;
|
|
231
230
|
color: var(--reevit-text);
|
|
232
|
-
|
|
233
|
-
|
|
231
|
+
opacity: 0.6;
|
|
232
|
+
margin-bottom: 12px;
|
|
234
233
|
}
|
|
235
234
|
|
|
236
235
|
.reevit-psp-selector__options {
|
|
237
|
-
display:
|
|
238
|
-
|
|
236
|
+
display: flex;
|
|
237
|
+
flex-direction: column;
|
|
238
|
+
border: 1px solid var(--reevit-border);
|
|
239
|
+
border-radius: var(--reevit-radius);
|
|
240
|
+
overflow: hidden;
|
|
239
241
|
}
|
|
240
242
|
|
|
241
243
|
.reevit-psp-option {
|
|
242
244
|
display: flex;
|
|
243
245
|
align-items: center;
|
|
244
|
-
gap:
|
|
246
|
+
gap: 12px;
|
|
245
247
|
padding: 14px 16px;
|
|
246
|
-
border
|
|
247
|
-
border: 1px solid var(--reevit-border);
|
|
248
|
-
|
|
248
|
+
border: none;
|
|
249
|
+
border-bottom: 1px solid var(--reevit-border);
|
|
250
|
+
border-radius: 0;
|
|
251
|
+
background: transparent;
|
|
249
252
|
cursor: pointer;
|
|
250
|
-
transition: all 0.
|
|
253
|
+
transition: all 0.15s ease;
|
|
251
254
|
text-align: left;
|
|
252
255
|
width: 100%;
|
|
253
256
|
position: relative;
|
|
254
|
-
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.reevit-psp-option:last-child {
|
|
260
|
+
border-bottom: none;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.reevit-psp-option:hover:not(.reevit-psp-option--disabled):not(.reevit-psp-option--selected) {
|
|
264
|
+
background: rgba(0, 0, 0, 0.02);
|
|
255
265
|
}
|
|
256
266
|
|
|
257
267
|
.reevit-psp-option--selected {
|
|
258
|
-
border-
|
|
259
|
-
box-shadow: 0 12px 24px -20px color-mix(in srgb, var(--reevit-primary) 60%, transparent);
|
|
268
|
+
border-bottom: 1px solid var(--reevit-border);
|
|
260
269
|
}
|
|
261
270
|
|
|
262
271
|
.reevit-psp-option--disabled {
|
|
@@ -265,34 +274,31 @@
|
|
|
265
274
|
}
|
|
266
275
|
|
|
267
276
|
.reevit-psp-option__logo {
|
|
268
|
-
width:
|
|
269
|
-
height:
|
|
270
|
-
border-radius:
|
|
277
|
+
width: 32px;
|
|
278
|
+
height: 32px;
|
|
279
|
+
border-radius: 8px;
|
|
271
280
|
background: transparent;
|
|
272
281
|
display: inline-flex;
|
|
273
282
|
align-items: center;
|
|
274
283
|
justify-content: center;
|
|
275
284
|
flex-shrink: 0;
|
|
276
|
-
position: relative;
|
|
277
|
-
z-index: 1;
|
|
278
285
|
}
|
|
279
286
|
|
|
280
287
|
.reevit-psp-option__logo-img {
|
|
281
|
-
width:
|
|
282
|
-
height:
|
|
288
|
+
width: 24px;
|
|
289
|
+
height: 24px;
|
|
283
290
|
object-fit: contain;
|
|
284
291
|
}
|
|
285
292
|
|
|
286
293
|
.reevit-psp-option__logo-fallback {
|
|
294
|
+
font-size: 12px;
|
|
287
295
|
font-weight: 700;
|
|
288
|
-
color: var(--reevit-text
|
|
296
|
+
color: var(--reevit-text);
|
|
289
297
|
}
|
|
290
298
|
|
|
291
299
|
.reevit-psp-option__content {
|
|
292
300
|
flex: 1;
|
|
293
301
|
min-width: 0;
|
|
294
|
-
position: relative;
|
|
295
|
-
z-index: 1;
|
|
296
302
|
}
|
|
297
303
|
|
|
298
304
|
.reevit-psp-option__name {
|
|
@@ -304,27 +310,12 @@
|
|
|
304
310
|
|
|
305
311
|
.reevit-psp-option__methods {
|
|
306
312
|
display: block;
|
|
307
|
-
font-size:
|
|
308
|
-
color: var(--reevit-text
|
|
313
|
+
font-size: 12px;
|
|
314
|
+
color: var(--reevit-text);
|
|
315
|
+
opacity: 0.6;
|
|
309
316
|
margin-top: 2px;
|
|
310
317
|
}
|
|
311
318
|
|
|
312
|
-
.reevit-psp-option__check {
|
|
313
|
-
font-size: 10px;
|
|
314
|
-
font-weight: 600;
|
|
315
|
-
color: var(--reevit-text-secondary);
|
|
316
|
-
background: rgba(148, 163, 184, 0.2);
|
|
317
|
-
padding: 4px 8px;
|
|
318
|
-
border-radius: 999px;
|
|
319
|
-
position: relative;
|
|
320
|
-
z-index: 1;
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
.reevit-psp-option--selected .reevit-psp-option__check {
|
|
324
|
-
background: color-mix(in srgb, var(--reevit-primary) 18%, transparent);
|
|
325
|
-
color: var(--reevit-primary);
|
|
326
|
-
}
|
|
327
|
-
|
|
328
319
|
|
|
329
320
|
/* ===== ANIMATIONS ===== */
|
|
330
321
|
@keyframes reevit-fade-in {
|
|
@@ -368,71 +359,66 @@
|
|
|
368
359
|
.reevit-psp-accordion {
|
|
369
360
|
display: flex;
|
|
370
361
|
flex-direction: column;
|
|
371
|
-
gap: 0;
|
|
372
|
-
margin-bottom: 12px;
|
|
373
362
|
}
|
|
374
363
|
|
|
375
|
-
.reevit-psp-
|
|
376
|
-
|
|
364
|
+
.reevit-psp-accordion__content {
|
|
365
|
+
padding: 12px 16px;
|
|
366
|
+
background: transparent;
|
|
367
|
+
border-bottom: 1px solid var(--reevit-border);
|
|
368
|
+
animation: reevit-accordion-expand 0.3s ease-out;
|
|
369
|
+
transform-origin: top;
|
|
377
370
|
}
|
|
378
371
|
|
|
379
|
-
.reevit-psp-
|
|
372
|
+
.reevit-psp-accordion:last-child .reevit-psp-accordion__content {
|
|
373
|
+
border-bottom: none;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
/* Back button */
|
|
377
|
+
.reevit-psp-back-button {
|
|
380
378
|
display: flex;
|
|
381
379
|
align-items: center;
|
|
382
|
-
gap:
|
|
383
|
-
padding:
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
380
|
+
gap: 6px;
|
|
381
|
+
padding: 8px 12px;
|
|
382
|
+
margin-bottom: 12px;
|
|
383
|
+
background: transparent;
|
|
384
|
+
border: none;
|
|
385
|
+
border-radius: var(--reevit-radius-sm);
|
|
386
|
+
color: var(--reevit-text-secondary);
|
|
387
|
+
font-family: var(--reevit-font);
|
|
388
|
+
font-size: 13px;
|
|
389
|
+
font-weight: 500;
|
|
387
390
|
cursor: pointer;
|
|
388
|
-
transition: all 0.
|
|
389
|
-
text-align: left;
|
|
390
|
-
width: 100%;
|
|
391
|
-
position: relative;
|
|
391
|
+
transition: all 0.15s ease;
|
|
392
392
|
}
|
|
393
393
|
|
|
394
|
-
.reevit-psp-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
transform: translateY(-1px);
|
|
394
|
+
.reevit-psp-back-button:hover {
|
|
395
|
+
background: var(--reevit-border);
|
|
396
|
+
color: var(--reevit-text);
|
|
398
397
|
}
|
|
399
398
|
|
|
400
|
-
.reevit-psp-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
border-color: color-mix(in srgb, var(--reevit-primary) 40%, var(--reevit-border));
|
|
404
|
-
border-bottom-color: transparent;
|
|
405
|
-
background: color-mix(in srgb, var(--reevit-primary) 5%, var(--reevit-surface));
|
|
406
|
-
position: relative;
|
|
407
|
-
z-index: 1;
|
|
399
|
+
.reevit-psp-back-button:disabled {
|
|
400
|
+
opacity: 0.5;
|
|
401
|
+
cursor: not-allowed;
|
|
408
402
|
}
|
|
409
403
|
|
|
410
|
-
.reevit-psp-
|
|
411
|
-
|
|
412
|
-
background: transparent;
|
|
413
|
-
border: 1px solid color-mix(in srgb, var(--reevit-primary) 40%, var(--reevit-border));
|
|
414
|
-
border-top: none;
|
|
415
|
-
border-radius: 0 0 12px 12px;
|
|
416
|
-
margin-top: 0;
|
|
417
|
-
overflow: hidden;
|
|
418
|
-
animation: reevit-accordion-expand 0.4s cubic-bezier(0.16, 1, 0.3, 1);
|
|
419
|
-
transform-origin: top;
|
|
420
|
-
position: relative;
|
|
404
|
+
.reevit-psp-back-button svg {
|
|
405
|
+
flex-shrink: 0;
|
|
421
406
|
}
|
|
422
407
|
|
|
423
408
|
/* ===== PAYMENT METHOD SELECTOR ===== */
|
|
424
409
|
.reevit-method-selector {
|
|
425
|
-
margin-bottom:
|
|
410
|
+
margin-bottom: 16px;
|
|
426
411
|
width: 100%;
|
|
427
412
|
}
|
|
428
413
|
|
|
429
414
|
.reevit-method-selector__label {
|
|
430
|
-
font-size:
|
|
415
|
+
font-size: 11px;
|
|
431
416
|
font-weight: 600;
|
|
417
|
+
text-transform: uppercase;
|
|
418
|
+
letter-spacing: 0.08em;
|
|
432
419
|
color: var(--reevit-text);
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
opacity: 0.8;
|
|
420
|
+
opacity: 0.6;
|
|
421
|
+
margin-bottom: 12px;
|
|
436
422
|
}
|
|
437
423
|
|
|
438
424
|
.reevit-method-selector__options--grid {
|
|
@@ -445,8 +431,11 @@
|
|
|
445
431
|
.reevit-method-selector__options--list {
|
|
446
432
|
display: flex;
|
|
447
433
|
flex-direction: column;
|
|
448
|
-
gap:
|
|
434
|
+
gap: 0;
|
|
449
435
|
width: 100%;
|
|
436
|
+
border: 1px solid var(--reevit-border);
|
|
437
|
+
border-radius: var(--reevit-radius);
|
|
438
|
+
overflow: hidden;
|
|
450
439
|
}
|
|
451
440
|
|
|
452
441
|
/* Grid layout styles */
|
|
@@ -519,54 +508,40 @@
|
|
|
519
508
|
display: flex;
|
|
520
509
|
flex-direction: row;
|
|
521
510
|
align-items: center;
|
|
522
|
-
gap:
|
|
511
|
+
gap: 14px;
|
|
523
512
|
padding: 14px 16px;
|
|
524
|
-
background:
|
|
525
|
-
border:
|
|
526
|
-
border-
|
|
527
|
-
|
|
513
|
+
background: transparent;
|
|
514
|
+
border: none;
|
|
515
|
+
border-bottom: 1px solid var(--reevit-border);
|
|
516
|
+
border-radius: 0;
|
|
528
517
|
cursor: pointer;
|
|
529
|
-
transition: all 0.
|
|
518
|
+
transition: all 0.15s ease;
|
|
530
519
|
text-align: left;
|
|
531
520
|
width: 100%;
|
|
532
521
|
position: relative;
|
|
533
|
-
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
.reevit-method-option--list:last-child {
|
|
525
|
+
border-bottom: none;
|
|
534
526
|
}
|
|
535
527
|
|
|
536
528
|
.reevit-method-option--list:hover:not(.reevit-method-option--disabled) {
|
|
537
|
-
|
|
538
|
-
background: color-mix(in srgb, var(--reevit-primary) 8%, var(--reevit-surface));
|
|
539
|
-
transform: translateY(-1px);
|
|
540
|
-
box-shadow: 0 10px 24px -18px rgba(15, 23, 42, 0.35);
|
|
529
|
+
background: rgba(0, 0, 0, 0.02);
|
|
541
530
|
}
|
|
542
531
|
|
|
543
532
|
.reevit-method-option--list.reevit-method-option--selected {
|
|
544
|
-
|
|
545
|
-
background: color-mix(in srgb, var(--reevit-primary) 12%, var(--reevit-surface));
|
|
546
|
-
box-shadow: 0 8px 20px -16px color-mix(in srgb, var(--reevit-primary) 40%, transparent);
|
|
533
|
+
background: rgba(0, 0, 0, 0.02);
|
|
547
534
|
}
|
|
548
535
|
|
|
549
536
|
.reevit-method-option--list .reevit-method-option__icon-wrapper {
|
|
550
537
|
display: flex;
|
|
551
538
|
align-items: center;
|
|
552
539
|
justify-content: center;
|
|
553
|
-
width:
|
|
554
|
-
height:
|
|
555
|
-
background:
|
|
556
|
-
border-radius: 14px;
|
|
540
|
+
width: 40px;
|
|
541
|
+
height: 40px;
|
|
542
|
+
background: transparent;
|
|
557
543
|
flex-shrink: 0;
|
|
558
|
-
|
|
559
|
-
font-size: 24px;
|
|
560
|
-
}
|
|
561
|
-
|
|
562
|
-
.reevit-method-option--list:hover .reevit-method-option__icon-wrapper {
|
|
563
|
-
background: color-mix(in srgb, var(--reevit-primary) 12%, transparent);
|
|
564
|
-
transform: scale(1.03);
|
|
565
|
-
}
|
|
566
|
-
|
|
567
|
-
.reevit-method-option--list.reevit-method-option--selected .reevit-method-option__icon-wrapper {
|
|
568
|
-
background: color-mix(in srgb, var(--reevit-primary) 16%, transparent);
|
|
569
|
-
transform: scale(1.05);
|
|
544
|
+
font-size: 22px;
|
|
570
545
|
}
|
|
571
546
|
|
|
572
547
|
.reevit-method-option--list .reevit-method-option__content {
|
|
@@ -576,33 +551,49 @@
|
|
|
576
551
|
|
|
577
552
|
.reevit-method-option--list .reevit-method-option__label {
|
|
578
553
|
display: block;
|
|
579
|
-
font-size:
|
|
580
|
-
font-weight:
|
|
554
|
+
font-size: 15px;
|
|
555
|
+
font-weight: 600;
|
|
581
556
|
color: var(--reevit-text);
|
|
582
|
-
margin-bottom:
|
|
583
|
-
letter-spacing: -0.01em;
|
|
557
|
+
margin-bottom: 2px;
|
|
584
558
|
}
|
|
585
559
|
|
|
586
560
|
.reevit-method-option--list .reevit-method-option__description {
|
|
587
561
|
display: block;
|
|
588
|
-
font-size:
|
|
562
|
+
font-size: 13px;
|
|
589
563
|
color: var(--reevit-text);
|
|
590
564
|
opacity: 0.6;
|
|
591
565
|
line-height: 1.4;
|
|
592
566
|
}
|
|
593
567
|
|
|
594
568
|
.reevit-method-option--list .reevit-method-option__chevron {
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
569
|
+
display: none;
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
.reevit-method-option--list .reevit-method-option__check {
|
|
573
|
+
display: none;
|
|
600
574
|
}
|
|
601
575
|
|
|
602
|
-
|
|
603
|
-
.reevit-method-
|
|
604
|
-
|
|
605
|
-
|
|
576
|
+
/* Payment method logos */
|
|
577
|
+
.reevit-method-option__logos {
|
|
578
|
+
display: flex;
|
|
579
|
+
align-items: center;
|
|
580
|
+
gap: 4px;
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
.reevit-method-option__logo-img {
|
|
584
|
+
width: 28px;
|
|
585
|
+
height: 28px;
|
|
586
|
+
object-fit: contain;
|
|
587
|
+
border-radius: 4px;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
.reevit-method-option--grid .reevit-method-option__logos {
|
|
591
|
+
gap: 6px;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
.reevit-method-option--grid .reevit-method-option__logo-img {
|
|
595
|
+
width: 32px;
|
|
596
|
+
height: 32px;
|
|
606
597
|
}
|
|
607
598
|
|
|
608
599
|
/* ===== MOBILE MONEY FORM ===== */
|
|
@@ -838,6 +829,89 @@
|
|
|
838
829
|
gap: 12px;
|
|
839
830
|
}
|
|
840
831
|
|
|
832
|
+
/* Success icon wrapper */
|
|
833
|
+
.reevit-success__icon-wrapper {
|
|
834
|
+
margin-bottom: 8px;
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
.reevit-success__icon-circle {
|
|
838
|
+
width: 72px;
|
|
839
|
+
height: 72px;
|
|
840
|
+
border-radius: 50%;
|
|
841
|
+
background: linear-gradient(135deg, var(--reevit-success), #10b981);
|
|
842
|
+
display: flex;
|
|
843
|
+
align-items: center;
|
|
844
|
+
justify-content: center;
|
|
845
|
+
animation: reevit-pop 0.4s ease-out;
|
|
846
|
+
box-shadow: 0 8px 24px -8px var(--reevit-success);
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
.reevit-success__checkmark {
|
|
850
|
+
width: 40px;
|
|
851
|
+
height: 40px;
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
.reevit-success__checkmark-circle {
|
|
855
|
+
stroke: rgba(255, 255, 255, 0.3);
|
|
856
|
+
stroke-width: 2;
|
|
857
|
+
stroke-dasharray: 166;
|
|
858
|
+
stroke-dashoffset: 166;
|
|
859
|
+
animation: reevit-stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
.reevit-success__checkmark-check {
|
|
863
|
+
stroke: white;
|
|
864
|
+
stroke-width: 3;
|
|
865
|
+
stroke-linecap: round;
|
|
866
|
+
stroke-linejoin: round;
|
|
867
|
+
stroke-dasharray: 48;
|
|
868
|
+
stroke-dashoffset: 48;
|
|
869
|
+
animation: reevit-stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.4s forwards;
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
@keyframes reevit-stroke {
|
|
873
|
+
100% { stroke-dashoffset: 0; }
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
.reevit-success__title {
|
|
877
|
+
font-size: 18px !important;
|
|
878
|
+
font-weight: 600;
|
|
879
|
+
color: var(--reevit-text);
|
|
880
|
+
margin: 0;
|
|
881
|
+
letter-spacing: -0.02em;
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
.reevit-success__amount {
|
|
885
|
+
font-size: 24px !important;
|
|
886
|
+
font-weight: 700;
|
|
887
|
+
color: var(--reevit-success);
|
|
888
|
+
margin: 4px 0 !important;
|
|
889
|
+
letter-spacing: -0.02em;
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
.reevit-success__reference {
|
|
893
|
+
font-size: 12px !important;
|
|
894
|
+
color: var(--reevit-text-secondary);
|
|
895
|
+
margin: 0 !important;
|
|
896
|
+
font-family: monospace;
|
|
897
|
+
background: var(--reevit-border);
|
|
898
|
+
padding: 6px 12px;
|
|
899
|
+
border-radius: var(--reevit-radius-sm);
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
.reevit-success__redirect {
|
|
903
|
+
font-size: 11px !important;
|
|
904
|
+
color: var(--reevit-muted);
|
|
905
|
+
margin-top: 8px !important;
|
|
906
|
+
animation: reevit-pulse 1.5s ease-in-out infinite;
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
@keyframes reevit-pulse {
|
|
910
|
+
0%, 100% { opacity: 0.6; }
|
|
911
|
+
50% { opacity: 1; }
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
/* Legacy success icon (fallback) */
|
|
841
915
|
.reevit-success__icon {
|
|
842
916
|
width: 48px;
|
|
843
917
|
height: 48px;
|