herald-exchange-glide-widget 1.0.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 (37) hide show
  1. package/.babelrc +3 -0
  2. package/Readme.md +116 -0
  3. package/dist/index.css +1 -0
  4. package/dist/index.d.ts +17 -0
  5. package/dist/index.js +24 -0
  6. package/dist/index.js.map +1 -0
  7. package/dist/index.mjs +24 -0
  8. package/dist/index.mjs.map +1 -0
  9. package/package.json +58 -0
  10. package/rollup.config.js +90 -0
  11. package/src/assets/css/style.module.css +1352 -0
  12. package/src/assets/icons-one.png +0 -0
  13. package/src/assets/swap.svg +8 -0
  14. package/src/components/ButtonStepper.tsx +143 -0
  15. package/src/components/CommonCenterLoader.tsx +118 -0
  16. package/src/components/CustomeSelect.tsx +179 -0
  17. package/src/components/DotLoader.tsx +8 -0
  18. package/src/components/SellAdminCryptoAccount.tsx +604 -0
  19. package/src/components/SellField.tsx +705 -0
  20. package/src/components/WidgetBankDetails.tsx +592 -0
  21. package/src/components/WidgetComponent.tsx +42 -0
  22. package/src/components/WidgetContent.tsx +36 -0
  23. package/src/components/WidgetSuccesDetails.tsx +122 -0
  24. package/src/components/api.ts +59 -0
  25. package/src/components/api.tsx +61 -0
  26. package/src/components/chains.ts +319 -0
  27. package/src/components/images.d.ts +5 -0
  28. package/src/components/loader.tsx +12 -0
  29. package/src/components/style.module.css.d.ts +4 -0
  30. package/src/components/toast.tsx +43 -0
  31. package/src/components/types.ts +237 -0
  32. package/src/components/utils.ts +17 -0
  33. package/src/components/utils.tsx +10 -0
  34. package/src/hooks/toastProvider.tsx +63 -0
  35. package/src/hooks/useSocketExchange.tsx +48 -0
  36. package/src/index.ts +3 -0
  37. package/tsconfig.json +118 -0
@@ -0,0 +1,1352 @@
1
+ /* @import url('https://fonts.cdnfonts.com/css/segoe-ui-4'); */
2
+ @import url("https://fonts.googleapis.com/css2?family=Red+Hat+Text:wght@300;400;500;600;700&display=swap");
3
+
4
+ @-webkit-viewport {
5
+ width: device-width;
6
+ }
7
+
8
+ @-moz-viewport {
9
+ width: device-width;
10
+ }
11
+
12
+ @-ms-viewport {
13
+ width: device-width;
14
+ }
15
+
16
+ @-o-viewport {
17
+ width: device-width;
18
+ }
19
+
20
+ @viewport {
21
+ width: device-width;
22
+ }
23
+
24
+ :root {
25
+ --primary-color-des: #8b5cf6;
26
+ --fade-color-des: #ffffff;
27
+ --hightlight-color-des: #000;
28
+ --gray-color-des: #6b7178;
29
+ --gray-blue-desr: #298bff;
30
+ --gray-overlay-des: #f5f5f5;
31
+ --danger-overlay-des: #ff2222;
32
+ --no-light-color: transparent;
33
+ /* border */
34
+ --line-light-color: #e5eaf4;
35
+ }
36
+
37
+ /*------------- Body -------------*/
38
+
39
+ body {
40
+ -webkit-font-smoothing: antialiased;
41
+ -moz-osx-font-smoothing: grayscale;
42
+ /* -webkit-transition: 0.25s ease;
43
+ transition: 0.25s ease; */
44
+ overflow-x: hidden;
45
+ position: relative;
46
+ font-family: "Red Hat Text", sans-serif;
47
+ color: var(--hightlight-color-des);
48
+ background-color: var(--fade-color-des);
49
+ font-size: 12px;
50
+ letter-spacing: 0.8px;
51
+ background-size: cover;
52
+ -webkit-text-size-adjust: none;
53
+ -ms-text-size-adjust: none;
54
+ -moz-text-size-adjust: none;
55
+ text-size-adjust: none;
56
+ }
57
+
58
+ /* Unwanter Space */
59
+ * {
60
+ padding: 0;
61
+ margin: 0;
62
+ }
63
+
64
+ *,
65
+ :after,
66
+ :before {
67
+ box-sizing: border-box;
68
+ }
69
+
70
+ a,
71
+ button {
72
+ cursor: pointer;
73
+ }
74
+
75
+ p,
76
+ h1,
77
+ h2,
78
+ h3,
79
+ h4,
80
+ h5,
81
+ h6,
82
+ a,
83
+ span,
84
+ div,
85
+ button,
86
+ input {
87
+ font-family: "Red Hat Text", sans-serif;
88
+ }
89
+
90
+ button:disabled {
91
+ opacity: 0.7;
92
+ cursor: not-allowed;
93
+ }
94
+
95
+ .action_btn {
96
+ --_background: var(--background, var(--primary-color-des));
97
+ --_color: var(--color, var(--hightlight-color-des));
98
+ --_border: var(--border, transparent);
99
+ --_btn-width: var(--btn-width, auto);
100
+ border: 1px solid var(--_border);
101
+ background-color: var(--_background);
102
+ color: var(--_color);
103
+ width: var(--_btn-width);
104
+ padding: 0.8em 2em;
105
+ text-align: center;
106
+ -webkit-transition: all 0.5s ease-in-out;
107
+ -moz-transition: all 0.5s ease-in-out;
108
+ -ms-transition: all 0.5s ease-in-out;
109
+ -o-transition: all 0.5s ease-in-out;
110
+ transition: all 0.5s ease-in-out;
111
+ position: relative;
112
+ overflow: hidden;
113
+ -webkit-border-radius: 10px;
114
+ -moz-border-radius: 10px;
115
+ -o-border-radius: 10px;
116
+ -ms-border-radius: 10px;
117
+ border-radius: 10px;
118
+ display: flex;
119
+ align-items: center;
120
+ gap: 0.5em;
121
+ justify-content: center;
122
+ font-size: 0.95em;
123
+ font-weight: 600;
124
+ z-index: 0;
125
+ font-family: "Red Hat Text", sans-serif;
126
+ }
127
+
128
+ .primary {
129
+ --background: var(--primary-color-des);
130
+ --color: var(--fade-color-des);
131
+ --btn-width: 100%;
132
+ --border: transparent;
133
+ }
134
+
135
+ .secondary {
136
+ --background: #f9f9f9;
137
+ --color: var(--hightlight-color-des);
138
+ --btn-width: auto;
139
+ --border: transparent;
140
+ }
141
+
142
+ .overlay {
143
+ --background: transparent;
144
+ --color: var(--hightlight-color-des);
145
+ --btn-width: auto;
146
+ --border: #e5eaf4;
147
+ padding: 0.5em;
148
+ }
149
+
150
+ /* widegt Layout css */
151
+
152
+ .widegt-tabs-link {
153
+ display: flex;
154
+ align-items: flex-start;
155
+ justify-content: space-between;
156
+ }
157
+
158
+ .widegt-tabs-box {
159
+ background: #efe7ff;
160
+ padding: 0.7em;
161
+ border-radius: 10px;
162
+ display: flex;
163
+ align-items: center;
164
+ gap: 1em;
165
+ margin-bottom: 1.5em;
166
+ }
167
+
168
+ .widegt-tabs-box button {
169
+ background-color: initial;
170
+ border-radius: 0;
171
+ color: #666;
172
+ font-size: 0.85em;
173
+ font-weight: 600;
174
+ border: 0;
175
+ padding: 0.8em 1em;
176
+ font-family: "Red Hat Text", sans-serif;
177
+ }
178
+
179
+ .widegt-tabs-box button.active {
180
+ background: var(--fade-color-des);
181
+ border-radius: 10px;
182
+ }
183
+
184
+ .widegt-tabs-box button:first-child.active {
185
+ color: #008826 !important;
186
+ }
187
+
188
+ .widegt-tabs-box button:last-child.active {
189
+ color: #ff0000 !important;
190
+ }
191
+
192
+ .widegt-tabs-close button {
193
+ background-color: transparent;
194
+ border: 0;
195
+ }
196
+
197
+ .gilde_tabs_content {
198
+ background: #efe7ff;
199
+ padding: 2em;
200
+ border-radius: 10px;
201
+ }
202
+
203
+ /* Modal For Widegt */
204
+ .gilde_widget_wrapped {
205
+ --spacing-modal: 1.75rem;
206
+ width: auto;
207
+ /* height: auto;
208
+ overflow-x: hidden;
209
+ overflow-y: auto;
210
+ position: fixed;
211
+ width: 100%;
212
+ top: 50%;
213
+ left: 50%;
214
+ -ms-transform: translate(-50%, -50%);
215
+ transform: translate(-50%, -50%); */
216
+ }
217
+
218
+ @media (max-width: 767.98px) {
219
+ .gilde_widget_wrapped {
220
+ height: 100%;
221
+ }
222
+
223
+ .gilde_tabs_content {
224
+ padding: 1.5em !important;
225
+ }
226
+ }
227
+
228
+ .widget_component {
229
+ display: block;
230
+ min-width: 600px;
231
+ max-width: 600px;
232
+ min-height: 600px;
233
+ overflow: auto;
234
+
235
+ }
236
+
237
+ @media (min-width: 1199px) and (max-width: 1499px) {
238
+ /* .gilde_widget_modal {
239
+ width: calc((100% + 2rem) / 1.8);
240
+ } */
241
+ }
242
+
243
+
244
+
245
+ @media (max-width:767.98px) {
246
+ .widget_component {
247
+ position: relative;
248
+ width: 100%;
249
+ top: unset;
250
+ left: unset;
251
+ min-width: unset !important;
252
+ max-width: unset !important;
253
+ transform: unset;
254
+ border-radius: 0px;
255
+ padding: 1em;
256
+ }
257
+ .gilde_widget_content {
258
+ padding: 1em !important;
259
+ }
260
+ }
261
+
262
+ .gilde_widget_content {
263
+ background: #decfff;
264
+ border-radius: 12px;
265
+ padding: 2em;
266
+ width: 100%;
267
+ position: relative;
268
+ }
269
+
270
+ .hide {
271
+ display: none;
272
+ }
273
+
274
+ .show {
275
+ display: block;
276
+ }
277
+
278
+ /* Sell Feilds Style section start */
279
+ .gilde_field_card {
280
+ border-radius: 10px;
281
+ }
282
+
283
+ .gilde_field_label {
284
+ font-size: 1em;
285
+ font-weight: 600;
286
+ color: #010101;
287
+ margin-bottom: 0.5em;
288
+ }
289
+
290
+ .gilde_field_form .input_control {
291
+ background: var(--no-light-color);
292
+ border: 0;
293
+ border-radius: 0;
294
+ height: 45px;
295
+ padding: 12px;
296
+ font-size: 1.8em;
297
+ font-weight: 600;
298
+ width: 100%;
299
+ color: #7d7d7d;
300
+ padding-left: 0;
301
+ }
302
+
303
+ .gilde_field_form .input_control:focus,
304
+ .gilde_field_form .input_control:active,
305
+ .gilde_field_form .input_control:focus-within,
306
+ .gilde_field_form .input_control:focus-visible {
307
+ background: var(--no-light-color);
308
+ border: 0;
309
+ border-radius: 0;
310
+ outline: 0;
311
+ }
312
+
313
+ .gilde_field_select {
314
+ /* display: grid;
315
+ grid-template-columns: 20px auto;
316
+ align-items: center;
317
+ gap: 1em; */
318
+ /* margin-bottom: 1em; */
319
+ }
320
+
321
+ .ramp_modal_img {
322
+ width: 1.5em;
323
+ height: 1.5em;
324
+ object-fit: contain;
325
+ }
326
+
327
+ .off-ramp-selected-badges {
328
+ background: #0000000a;
329
+ border: 1px dashed #0000003b;
330
+ border-radius: 10px;
331
+ padding: 0.5em;
332
+ color: #010101;
333
+ font-size: 0.85em;
334
+ font-weight: 600;
335
+ line-height: 1.8;
336
+ margin-bottom: 0;
337
+ text-align: center;
338
+ }
339
+
340
+ .gilde_selected_two {
341
+ background: #0000000a;
342
+ border: 1px dashed #0000003b;
343
+ border-radius: 10px;
344
+ color: #010101;
345
+ font-size: 0.85em;
346
+ font-weight: 600;
347
+ line-height: 1.8;
348
+ margin-bottom: 0;
349
+ margin-top: 1em;
350
+ /* text-align: center; */
351
+ }
352
+
353
+ .gilde_field_card {
354
+ display: flex;
355
+ }
356
+ @media (max-width: 767.98px) {
357
+ .gilde_field_card {
358
+ flex-direction: column;
359
+ }
360
+
361
+ .gilde_field_box {
362
+ width: 100% !important;
363
+ border-bottom-left-radius: 0px !important;
364
+ border-top-left-radius: 10px !important;
365
+ border-top-right-radius: 10px !important;
366
+ }
367
+ .gilde_field_select_card {
368
+ width: 100% !important;
369
+ border-bottom-left-radius: 10px !important;
370
+ border-top-right-radius: 0px !important;
371
+ border-bottom-right-radius: 10px !important;
372
+ }
373
+ .gilde_details_card {
374
+ grid-template-columns: repeat(1, 1fr) !important;
375
+ }
376
+ .gilde_details_card span:last-child {
377
+ text-align: start !important;
378
+ }
379
+ .span_d_align {
380
+ justify-content: start !important;
381
+ }
382
+ }
383
+ .gilde_field_box {
384
+ width: 75%;
385
+ background: #fcfaff;
386
+ padding: 1em;
387
+ border-bottom-left-radius: 10px;
388
+ border-top-left-radius: 10px;
389
+ display: flex;
390
+ flex-direction: column;
391
+ justify-content: center;
392
+ }
393
+
394
+ .gilde_field_select_card {
395
+ width: 50%;
396
+ background-color: #e6dcff;
397
+ padding: 1em;
398
+ border-bottom-right-radius: 10px;
399
+ border-top-right-radius: 10px;
400
+ display: flex;
401
+ flex-direction: column;
402
+ justify-content: center;
403
+ }
404
+
405
+ .gilde_label_icons {
406
+ width: 2em;
407
+ height: 2em;
408
+ display: grid;
409
+ place-items: center;
410
+ background-color: #f8f9fa;
411
+ border-radius: 50%;
412
+ font-weight: 700;
413
+ font-size: 1.2em;
414
+ }
415
+
416
+ .gilde_label_value {
417
+ font-size: 1.1em;
418
+ font-weight: 600;
419
+ display: flex;
420
+ color: #010101;
421
+ }
422
+
423
+ .gilde_label_value span {
424
+ font-weight: 500;
425
+ color: #7d7d7d;
426
+ }
427
+
428
+ .gilde_space {
429
+ display: grid;
430
+ grid-template-columns: 50px auto;
431
+ align-items: center;
432
+ }
433
+
434
+ .gilde_space_top {
435
+ display: grid;
436
+ grid-template-columns: 50px auto;
437
+ align-items: start;
438
+ }
439
+
440
+ .gilde_label_dots {
441
+ width: 1em;
442
+ height: 1em;
443
+ border-radius: 50%;
444
+ background-color: #f8f9fa;
445
+ margin-left: 10px;
446
+ }
447
+
448
+ .gilde_ramp_details .gilde_off_head {
449
+ font-size: 1.2em;
450
+ font-weight: 500;
451
+ color: #7d7d7d;
452
+ line-height: 0.9;
453
+ }
454
+
455
+ .gilde_payment_check_card {
456
+ display: flex;
457
+ align-items: center;
458
+ justify-content: space-between;
459
+ gap: 8px;
460
+ border: 1px solid #fff;
461
+ border-radius: 8px;
462
+ padding: 10px 15px;
463
+ cursor: pointer;
464
+ transition: all 0.3s ease;
465
+ background-color: var(--fade-color-des);
466
+ position: relative;
467
+ }
468
+
469
+ .gilde_payment_box {
470
+ display: flex;
471
+ align-items: center;
472
+ gap: 1em;
473
+ margin-top: 1em;
474
+ }
475
+
476
+ .gilde_payment_check_card input[type="radio"] {
477
+ position: absolute;
478
+ opacity: 0;
479
+ width: 0;
480
+ height: 0;
481
+ }
482
+
483
+ .gilde_payment_check_card.selected {
484
+ border-color: var(--primary-color-des);
485
+ background-color: #fcfaff;
486
+ color: var(--primary-color-des);
487
+ }
488
+
489
+ .gilde_info_box {
490
+ display: flex;
491
+ flex-direction: column;
492
+ gap: 2em;
493
+ padding: 2em 0;
494
+ position: relative;
495
+ z-index: 999;
496
+ }
497
+
498
+ .gilde_info_box::after {
499
+ content: "";
500
+ position: absolute;
501
+ width: 2px;
502
+ height: 100%;
503
+ top: 0;
504
+ background: #ffffff73;
505
+ left: 16px;
506
+ z-index: -1;
507
+ }
508
+
509
+ .gilde_ramp_action {
510
+ margin-top: 2em;
511
+ }
512
+
513
+ /* Sell Feilds Style section end */
514
+
515
+ /* Bank Details Section Start */
516
+ .gilde_bank_head {
517
+ display: grid;
518
+ grid-template-columns: 24px auto;
519
+ align-items: center;
520
+ gap: 1em;
521
+ margin-bottom: 2em;
522
+ }
523
+
524
+ .bank_titles {
525
+ font-size: 1.2em;
526
+ color: #000;
527
+ font-weight: 600;
528
+ /* line-height: 3; */
529
+ }
530
+
531
+ .gilde_bank_head a {
532
+ width: 18px;
533
+ height: 18px;
534
+ }
535
+
536
+ .off-ramp-bank-tabs-link {
537
+ display: grid;
538
+ grid-template-columns: repeat(2, 1fr);
539
+ /* border-bottom: 1px solid #fff; */
540
+ }
541
+
542
+ .off-ramp-bank-tabs-link button {
543
+ width: 100%;
544
+ background-color: var(--no-light-color);
545
+ padding: 1em 2em;
546
+ border: 0;
547
+ border-radius: 0;
548
+ border-bottom: 1px solid #fff;
549
+ font-size: 1.1em;
550
+ font-weight: 600;
551
+ color: #000;
552
+ }
553
+
554
+ .off-ramp-bank-tabs-link button.active {
555
+ border-bottom: 1px solid var(--primary-color-des);
556
+ }
557
+
558
+ .gilde_bank_tabs_content {
559
+ padding-top: 1em;
560
+ }
561
+
562
+ .gilde_bank_exist_feilds_frame {
563
+ margin-bottom: 2em;
564
+ }
565
+
566
+ .gilde_bank_exist_label {
567
+ font-size: 1em;
568
+ font-weight: 600;
569
+ color: #010101;
570
+ margin-bottom: 0.5em;
571
+ }
572
+
573
+ .gilde_info_card {
574
+ border-radius: 10px;
575
+ padding: 0.5em;
576
+ display: grid;
577
+ grid-template-columns: 40px auto;
578
+ align-items: center;
579
+ background: #ffffff47;
580
+ }
581
+
582
+ .caution_info {
583
+ font-size: 0.8em;
584
+ font-weight: 400;
585
+ color: var(--hightlight-color-des);
586
+ line-height: 1.8;
587
+ }
588
+
589
+ .off_gilde_new_bank_label {
590
+ font-size: 1em;
591
+ font-weight: 600;
592
+ color: #010101;
593
+ margin-bottom: 0.5em;
594
+ }
595
+
596
+ .off_gilde_new_bank_fields .input_control {
597
+ height: 45px;
598
+ background-color: var(--fade-color-des);
599
+ width: 100%;
600
+ border: 1px soild var(--fade-color-des);
601
+ border-radius: 10px;
602
+ padding: 10px;
603
+ font-size: 0.9em !important;
604
+ font-weight: 400 !important;
605
+ color: var(--hightlight-color-des);
606
+ }
607
+
608
+ .off_gilde_new_bank_fields .input_control:focus,
609
+ .off_gilde_new_bank_fields .input_control:active,
610
+ .off_gilde_new_bank_fields .input_control:focus-within,
611
+ .off_gilde_new_bank_fields .input_control:focus-visible {
612
+ border: 1px soild var(--fade-color-des);
613
+ outline: 0;
614
+ }
615
+
616
+ .off_gilde_new_bank_box {
617
+ margin-bottom: 2em;
618
+ }
619
+
620
+ /* Bank Details Section end */
621
+
622
+ /* Bank Succes Details Section start */
623
+ .gilde_details_head {
624
+ display: grid;
625
+ grid-template-columns: 24px auto;
626
+ align-items: center;
627
+ gap: 1em;
628
+ margin-bottom: 2em;
629
+ }
630
+
631
+ .details_titles {
632
+ font-size: 1.2em;
633
+ color: #000;
634
+ font-weight: 600;
635
+ /* line-height: 3; */
636
+ }
637
+
638
+ .gilde_details_head a {
639
+ width: 18px;
640
+ height: 18px;
641
+ }
642
+
643
+ .gilde_details_info_box {
644
+ padding: 2em;
645
+ background-color: var(--fade-color-des);
646
+ border-radius: 10px;
647
+ }
648
+
649
+ .gilde_details_card {
650
+ display: grid;
651
+ grid-template-columns: repeat(2, 1fr);
652
+ align-items: center;
653
+ gap: 2em;
654
+ margin-bottom: 1.5em;
655
+ padding-bottom: 1.5em;
656
+ border-bottom: 1px dashed #ededed;
657
+ }
658
+
659
+ .gilde_details_card:last-child {
660
+ border-bottom: 0px dashed #fff;
661
+ margin-bottom: 0;
662
+ padding: 0;
663
+ }
664
+
665
+ .gilde_details_card span:first-child {
666
+ font-size: 1em;
667
+ font-weight: 600;
668
+ color: #7d7d7d;
669
+ text-align: start;
670
+ }
671
+
672
+ .gilde_details_card span:last-child {
673
+ text-align: end;
674
+ font-size: 1em;
675
+ font-weight: 500;
676
+ color: #010101;
677
+ }
678
+
679
+ .span_d_align {
680
+ display: grid;
681
+ grid-template-columns: 24px auto;
682
+ align-items: center;
683
+ gap: 1em;
684
+ justify-content: end;
685
+ }
686
+
687
+ .span_d_align span {
688
+ -webkit-line-clamp: 1;
689
+ -webkit-box-orient: vertical;
690
+ color: var(--hightlight-color-des);
691
+ display: -webkit-box;
692
+ font-size: 0.85em;
693
+ font-weight: 500;
694
+ overflow: hidden;
695
+ text-overflow: ellipsis;
696
+ word-break: break-all;
697
+ }
698
+ .span-d-copy {
699
+ display: grid;
700
+ grid-template-columns: auto 24px;
701
+ align-items: center;
702
+ gap: 1em;
703
+ justify-content: end;
704
+ }
705
+
706
+ /* Bank Succes Details Section end */
707
+
708
+ .ramp_option {
709
+ display: flex;
710
+ align-items: center;
711
+ gap: 2em;
712
+ }
713
+
714
+ .off_gilde_check_wrap {
715
+ display: grid;
716
+ grid-template-columns: repeat(3, 1fr);
717
+ align-items: center;
718
+ gap: 1em;
719
+ margin-bottom: 1.5em;
720
+ }
721
+ .off_form_check .off_form_check_input:checked ~ .off_currency_option {
722
+ border-color: var(--primary-color-des);
723
+ background-color: #fff7d1;
724
+ }
725
+ .off_form_check_input {
726
+ display: none;
727
+ }
728
+
729
+ .off_currency_option h3 {
730
+ font-weight: 500;
731
+ color: var(--hightlight-color-des);
732
+ font-size: 0.95em;
733
+ }
734
+ .off_currency_option {
735
+ display: flex;
736
+ align-items: center;
737
+ justify-content: space-between;
738
+ gap: 8px;
739
+ border: 1px solid var(--fade-color-des);
740
+ border-radius: 8px;
741
+ padding: 10px 15px;
742
+ cursor: pointer;
743
+ transition: all 0.3s ease;
744
+ background-color: var(--fade-color-des);
745
+ position: relative;
746
+ width: 100%;
747
+ }
748
+
749
+ .sell_qr_payemnt_wrap {
750
+ grid-gap: 2em;
751
+ background-color: var(--fade-color-des);
752
+ border-radius: 10px;
753
+ display: grid;
754
+ gap: 2em;
755
+ grid-template-columns: repeat(2, 1fr);
756
+ margin-bottom: 1em !important;
757
+ padding: 1.5em;
758
+ position: relative;
759
+ }
760
+ @media (max-width: 767.98px) {
761
+ .sell_qr_payemnt_wrap {
762
+ grid-template-columns: repeat(1, 1fr);
763
+ gap: 1em;
764
+ }
765
+ }
766
+ .sell_amt_details {
767
+ background-color: var(--fade-color-des);
768
+ border-radius: 10px;
769
+ display: flex;
770
+ flex-direction: column;
771
+ justify-content: space-between;
772
+ margin-bottom: 1em !important;
773
+ grid-area: 1 / 1 / 2 / 3;
774
+ }
775
+ @media (max-width: 767.98px) {
776
+ .sell_amt_details {
777
+ grid-area: unset;
778
+ gap: 1em;
779
+ }
780
+ .sell_payment_qr_frame {
781
+ display: grid;
782
+ place-items: center;
783
+ }
784
+ }
785
+ .sell_amt_details_wrap {
786
+ align-items: center;
787
+ display: flex;
788
+ justify-content: space-between;
789
+ margin-bottom: 1em;
790
+ }
791
+ .sell_amt_pay {
792
+ display: flex;
793
+ flex-direction: column;
794
+ }
795
+ .sell_pay_label {
796
+ color: var(--gray-color-des);
797
+ font-size: 0.8em;
798
+ font-weight: 300;
799
+ margin-bottom: 0.5em;
800
+ }
801
+ .sell_pay_amt {
802
+ color: var(--hightlight-color-des);
803
+ font-size: 0.85em;
804
+ font-weight: 500;
805
+ margin-bottom: 0;
806
+ }
807
+ .sell_amt_get {
808
+ align-items: flex-end;
809
+ display: flex;
810
+ flex-direction: column;
811
+ }
812
+ .sell_estimated_info {
813
+ background: #0000000a;
814
+ border: 1px dashed #0000003b;
815
+ border-radius: 10px;
816
+ padding: 0.7em;
817
+ }
818
+ .sell_estimated_info p {
819
+ color: var(--hightlight-color-des);
820
+ font-size: 0.85em;
821
+ font-weight: 600;
822
+ margin-bottom: 0;
823
+ align-items: center;
824
+ display: flex;
825
+ justify-content: space-between;
826
+ }
827
+ .sell_payment_qr_box {
828
+ grid-area: 1 / 3 / 2 / 4;
829
+ }
830
+ @media (max-width: 767.98px) {
831
+ .sell_payment_qr_box {
832
+ grid-area: unset;
833
+ }
834
+ }
835
+ .sell_wallet_address_card {
836
+ background: var(--gray-overlay-des);
837
+ padding: 1.5em;
838
+ border-radius: 10px;
839
+ margin-bottom: 1.5em;
840
+ }
841
+ .sell_wallet_data_card {
842
+ margin-bottom: 1em;
843
+ }
844
+ .sell_wallet_data_card h6 {
845
+ font-size: 0.8em;
846
+ font-weight: 500;
847
+ color: var(--hightlight-color-des);
848
+ margin-bottom: 0.5em;
849
+ }
850
+ .sell_hash_label_s {
851
+ font-size: 0.8em;
852
+ font-weight: 500;
853
+ color: var(--hightlight-color-des);
854
+ margin-bottom: 0.5em;
855
+ }
856
+ .sell_hash_label_s span {
857
+ color: red;
858
+ }
859
+ .sell_wallet_code_card {
860
+ grid-gap: 0.5em;
861
+ display: grid;
862
+ gap: 0.5em;
863
+ grid-template-columns: auto 65px;
864
+ }
865
+ .sell_wallet_code {
866
+ border: 1px solid var(--line-light-color);
867
+ border-radius: 10px;
868
+ padding: 0.8em 1em;
869
+ }
870
+ .sell_wallet_code span {
871
+ -webkit-line-clamp: 1;
872
+ -webkit-box-orient: vertical;
873
+ color: var(--hightlight-color-des);
874
+ display: -webkit-box;
875
+ font-size: 0.85em;
876
+ font-weight: 500;
877
+ overflow: hidden;
878
+ text-overflow: ellipsis;
879
+ word-break: break-all;
880
+ }
881
+ .sell_hash_fields {
882
+ border-radius: 10px;
883
+ border: 1px solid var(--line-light-color);
884
+ font-size: 0.9em;
885
+ font-weight: 400;
886
+ color: var(--hightlight-color-des);
887
+ background: transparent;
888
+ width: 100%;
889
+ padding: 0.8em 1em;
890
+ }
891
+ .sell_hash_fields:focus {
892
+ border-radius: 10px;
893
+ border: 1px solid var(--line-light-color);
894
+ outline: 1px solid var(--line-light-color);
895
+ font-size: 0.9em;
896
+ font-weight: 400;
897
+ color: var(--hightlight-color-des);
898
+ background: transparent;
899
+ width: 100%;
900
+ padding: 0.8em 1em;
901
+ }
902
+ .sell_hash_fields::placeholder {
903
+ font-size: 0.9em;
904
+ font-weight: 400;
905
+ font-family: "Red Hat Text", sans-serif;
906
+ }
907
+ .no_wallet_details {
908
+ display: flex;
909
+ align-items: center;
910
+ justify-content: center;
911
+ gap: 1em;
912
+ }
913
+
914
+ .sell-final-box {
915
+ display: flex;
916
+ align-items: center;
917
+ justify-content: center;
918
+ gap: 0.2em;
919
+ flex-direction: column;
920
+ background-color: #fff;
921
+ padding: 2em;
922
+ border-radius: 12px;
923
+ }
924
+ .sell-final-info p {
925
+ font-size: 0.95em;
926
+ font-weight: 500;
927
+ margin-bottom: 0.5em;
928
+ line-height: 2;
929
+ }
930
+
931
+ @media (max-width: 991.98px) {
932
+ }
933
+ @media (max-width: 767.98px) {
934
+ body {
935
+ font-size: 11px !important;
936
+ }
937
+ }
938
+ @media (max-width: 1199px) {
939
+ }
940
+
941
+ .manual_hash_btn {
942
+ font-size: 0.8em;
943
+ padding: 0.2em;
944
+ outline: none;
945
+ border: none;
946
+ color: var(--gray-blue-desr);
947
+ background: none;
948
+ }
949
+
950
+ .flow_stepper_frame ul li {
951
+ list-style: none !important;
952
+ }
953
+
954
+ .flow_stepper_frame ul {
955
+ display: flex;
956
+ align-items: self-start;
957
+ justify-content: space-between;
958
+ width: 100%;
959
+ margin: auto;
960
+ position: relative;
961
+ overflow: hidden;
962
+ min-height: 70px;
963
+ }
964
+
965
+ .withdraw-stepper .flow_stepper_frame ul {
966
+ width: 100%;
967
+ }
968
+
969
+ .withdraw-stepper .flow_stepper_frame ul::after {
970
+ transform: scale(0.68);
971
+ }
972
+
973
+ .flow_stepper_card span {
974
+ text-align: center;
975
+ position: absolute;
976
+ top: 40px;
977
+ white-space: nowrap;
978
+ }
979
+
980
+ .flow_stepper_frame ul li {
981
+ z-index: 1050;
982
+ /* flex: 0 1; */
983
+ position: relative;
984
+ }
985
+
986
+ .flow_stepper_frame ul li::after {
987
+ content: " ";
988
+ position: absolute;
989
+ width: 90vw;
990
+ height: 2px;
991
+ background-color: #fff;
992
+ top: 10px;
993
+ left: 18px;
994
+ transform-origin: center;
995
+ z-index: -1;
996
+ /* transform: scale(0.95); */
997
+ }
998
+
999
+ .dark-stepper .flow_stepper_frame ul li::after {
1000
+ background-color: #efefef;
1001
+ }
1002
+
1003
+ .flow_stepper_frame ul li:last-child:after {
1004
+ display: none;
1005
+ }
1006
+
1007
+ .flow_stepper_frame ul li.failed::after {
1008
+ background-color: #e70f0f;
1009
+ animation: 2.5s cubic-bezier(0.25, 1, 0.3, 1) wipe-in-right both;
1010
+ }
1011
+
1012
+ .flow_stepper_frame ul li.completed::after {
1013
+ background-color: #32cd32;
1014
+ animation: 2.5s cubic-bezier(0.25, 1, 0.3, 1) wipe-in-right both;
1015
+ }
1016
+
1017
+ .flow_stepper_frame ul li.hash-completed::after {
1018
+ background-color: none;
1019
+ animation: 2.5s cubic-bezier(0.25, 1, 0.3, 1) wipe-in-right both;
1020
+ }
1021
+
1022
+ .flow_stepper_frame ul li.hash-completed .flow_stepper_process {
1023
+ background-color: #32cd32;
1024
+ }
1025
+
1026
+ .flow_stepper_frame ul li.hash-failed::after {
1027
+ background-color: none;
1028
+ animation: 2.5s cubic-bezier(0.25, 1, 0.3, 1) wipe-in-right both;
1029
+ }
1030
+
1031
+ .flow_stepper_frame ul li.hash-failed .flow_stepper_process {
1032
+ background-color: #e70f0f;
1033
+ }
1034
+
1035
+ .flow_stepper_frame ul li.hash-failed-1::after {
1036
+ background-color: #e70f0f;
1037
+ animation: 2.5s cubic-bezier(0.25, 1, 0.3, 1) wipe-in-right both;
1038
+ }
1039
+
1040
+ .flow_stepper_frame ul li.hash-failed-1 .flow_stepper_process {
1041
+ background-color: #32cd32;
1042
+ }
1043
+
1044
+ .flow_stepper_frame ul li.completed .flow_stepper_process {
1045
+ background-color: #32cd32;
1046
+ }
1047
+
1048
+ .flow_stepper_frame ul li.failed .flow_stepper_process {
1049
+ background-color: #e70f0f;
1050
+ }
1051
+
1052
+ .flow_stepper_frame ul li {
1053
+ }
1054
+
1055
+ .flow_stepper_frame ul li:last-child .flow_stepper_card {
1056
+ align-items: flex-end;
1057
+ }
1058
+
1059
+ .flow_stepper_frame ul li:first-child .flow_stepper_card {
1060
+ align-items: flex-start;
1061
+ }
1062
+
1063
+ .flow_stepper_frame ul li:last-child .flow_stepper_card span {
1064
+ text-align: end;
1065
+ }
1066
+
1067
+ .flow_stepper_frame ul::after {
1068
+ /* content: ' ';
1069
+ position: absolute;
1070
+ width: 100%;
1071
+ height: 2px;
1072
+ background-color: #fff;
1073
+ top: 30px;
1074
+ left: 0;
1075
+ background: #fff;
1076
+ transform-origin: center;
1077
+ transform: scale(0.95); */
1078
+ }
1079
+
1080
+ .flow_stepper_card.completed .flow_stepper_process {
1081
+ /* border: 1px dashed #fff; */
1082
+ }
1083
+
1084
+ .flow_stepper_frame ul.completed::after {
1085
+ background-color: #32cd32;
1086
+ animation: 2.5s cubic-bezier(0.25, 1, 0.3, 1) wipe-in-right both;
1087
+ }
1088
+
1089
+ .flow_stepper_frame ul.failed::after {
1090
+ background-color: #e70f0f;
1091
+ animation: 2.5s cubic-bezier(0.25, 1, 0.3, 1) wipe-in-right both;
1092
+ }
1093
+
1094
+ .flow_stepper_card {
1095
+ display: flex;
1096
+ align-items: center;
1097
+ justify-content: center;
1098
+ flex-direction: column;
1099
+ gap: 1em;
1100
+ font-size: 0.65em;
1101
+ font-weight: 600;
1102
+ /* background-color: #f3e2c33b; */
1103
+ color: var(--gray-color-des);
1104
+ border-radius: 10px;
1105
+ }
1106
+
1107
+ .flow_stepper_card.completed {
1108
+ color: var(--hightlight-color-des);
1109
+ }
1110
+
1111
+ .flow_stepper_card .spinner-loader {
1112
+ margin: 0 !important;
1113
+ border-right-color: var(--primary-color-des) !important;
1114
+ border: 4px solid #6e6a6a29 !important;
1115
+ }
1116
+
1117
+ .flow_stepper_process {
1118
+ /* background-color: var(--fade-color-des); */
1119
+ background-color: #fff;
1120
+ width: 2.5em;
1121
+ height: 2.5em;
1122
+ border-radius: 50%;
1123
+ display: flex;
1124
+ align-items: center;
1125
+ justify-content: center;
1126
+ padding: 3px;
1127
+ }
1128
+
1129
+ .dark-stepper .flow_stepper_process {
1130
+ background-color: #efefef;
1131
+ }
1132
+
1133
+ .flow_stepper_card.completed .flow_stepper_process {
1134
+ background-color: #32cd32;
1135
+ }
1136
+
1137
+ .flow_stepper_card.failed .flow_stepper_process {
1138
+ background-color: #ea0909;
1139
+ }
1140
+
1141
+ .flow-stepper-success.completed .flow_stepper_process {
1142
+ background-color: #32cd32;
1143
+ }
1144
+
1145
+ .flow-stepper-success {
1146
+ display: flex;
1147
+ align-items: center;
1148
+ justify-content: center;
1149
+ flex-direction: column;
1150
+ gap: 1em;
1151
+ font-size: 0.75em;
1152
+ font-weight: 600;
1153
+ color: var(--gray-color-des);
1154
+ padding: 1em;
1155
+ border-radius: 10px;
1156
+ }
1157
+
1158
+ .flow-stepper-success.completed {
1159
+ color: var(--hightlight-color-des);
1160
+ }
1161
+
1162
+ .flow-stepper-bar {
1163
+ background-color: #efefef;
1164
+ width: 1.4em;
1165
+ height: 1.4em;
1166
+ border-radius: 50%;
1167
+ }
1168
+
1169
+ .flow_loader {
1170
+ width: 100%;
1171
+ aspect-ratio: 1;
1172
+ border-radius: 50%;
1173
+ background: radial-gradient(farthest-side, #ffa516 94%, #0000) top/4.5px 4.5px no-repeat,
1174
+ conic-gradient(#0000 30%, #ffa516);
1175
+ -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 4.5px), #000 0);
1176
+ animation: l13 1s infinite linear;
1177
+ }
1178
+
1179
+ @keyframes l13 {
1180
+ 100% {
1181
+ transform: rotate(1turn);
1182
+ }
1183
+ }
1184
+
1185
+ @keyframes wipe-in-right {
1186
+ from {
1187
+ clip-path: inset(0 100% 0 0);
1188
+ }
1189
+
1190
+ to {
1191
+ clip-path: inset(0 0 0 0);
1192
+ }
1193
+ }
1194
+
1195
+ /* Toast css */
1196
+
1197
+ .toast_container {
1198
+ position: absolute;
1199
+ top: 20px;
1200
+ right: 20px;
1201
+ display: flex;
1202
+ flex-direction: column;
1203
+ gap: 10px;
1204
+ z-index: 9999;
1205
+ }
1206
+
1207
+ .toast {
1208
+ min-width: 250px;
1209
+ background-color: #333;
1210
+ color: white;
1211
+ padding: 12px 16px;
1212
+ border-radius: 6px;
1213
+ box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
1214
+ display: flex;
1215
+ justify-content: space-between;
1216
+ align-items: center;
1217
+ animation: slideIn 0.3s ease, fadeOut 0.5s ease 2.5s;
1218
+ transition: opacity 0.3s;
1219
+ }
1220
+
1221
+ .toast.success {
1222
+ background-color: #4caf50;
1223
+ }
1224
+
1225
+ .toast.error {
1226
+ background-color: #f44336;
1227
+ }
1228
+
1229
+ .toast.info {
1230
+ background-color: #2196f3;
1231
+ }
1232
+
1233
+ .toast button {
1234
+ background: none;
1235
+ border: none;
1236
+ color: white;
1237
+ font-size: 18px;
1238
+ cursor: pointer;
1239
+ }
1240
+
1241
+ @keyframes slideIn {
1242
+ from {
1243
+ opacity: 0;
1244
+ transform: translateX(100%);
1245
+ }
1246
+ to {
1247
+ opacity: 1;
1248
+ transform: translateX(0);
1249
+ }
1250
+ }
1251
+
1252
+ @keyframes fadeOut {
1253
+ to {
1254
+ opacity: 0;
1255
+ }
1256
+ }
1257
+
1258
+ .dot_loader {
1259
+ width: 45px;
1260
+ aspect-ratio: 1;
1261
+ --c: no-repeat linear-gradient(var(--primary-color-des) 0 0);
1262
+ background: var(--c) 0% 50%, var(--c) 50% 50%, var(--c) 100% 50%;
1263
+ background-size: 20% 100%;
1264
+ animation: l1 1s infinite linear;
1265
+ }
1266
+ @keyframes l1 {
1267
+ 0% {
1268
+ background-size: 20% 100%, 20% 100%, 20% 100%;
1269
+ }
1270
+ 33% {
1271
+ background-size: 20% 10%, 20% 100%, 20% 100%;
1272
+ }
1273
+ 50% {
1274
+ background-size: 20% 100%, 20% 10%, 20% 100%;
1275
+ }
1276
+ 66% {
1277
+ background-size: 20% 100%, 20% 100%, 20% 10%;
1278
+ }
1279
+ 100% {
1280
+ background-size: 20% 100%, 20% 100%, 20% 100%;
1281
+ }
1282
+ }
1283
+
1284
+ .input_error {
1285
+ color: var(--danger-overlay-des);
1286
+ }
1287
+
1288
+ .required {
1289
+ color: var(--danger-overlay-des);
1290
+ }
1291
+
1292
+ /* Loader */
1293
+
1294
+ .preloading_sec {
1295
+ width: 100px;
1296
+ height: 20px;
1297
+ border-radius: 40px;
1298
+ color: var(--primary-color-des);
1299
+ border: 2px solid;
1300
+ position: relative;
1301
+ }
1302
+
1303
+ .preloading_sec::before {
1304
+ content: "";
1305
+ position: absolute;
1306
+ margin: 2px;
1307
+ width: 25%;
1308
+ top: 0;
1309
+ bottom: 0;
1310
+ left: 0;
1311
+ border-radius: inherit;
1312
+ background: currentColor;
1313
+ animation: l3 1s infinite linear;
1314
+ }
1315
+
1316
+ @keyframes l3 {
1317
+ 50% {
1318
+ left: 100%;
1319
+ transform: translateX(calc(-100% - 4px));
1320
+ }
1321
+ }
1322
+
1323
+ .span_d_copy {
1324
+ display: grid;
1325
+ grid-template-columns: auto 20px;
1326
+ align-items: center;
1327
+ }
1328
+ .gilde_details_card a {
1329
+ -webkit-line-clamp: 1;
1330
+ -webkit-box-orient: vertical;
1331
+ display: -webkit-box;
1332
+ font-size: 0.85em;
1333
+ font-weight: 500;
1334
+ overflow: hidden;
1335
+ text-overflow: ellipsis;
1336
+ word-break: break-all;
1337
+ }
1338
+
1339
+ .spinnerLoader {
1340
+ width: 20px;
1341
+ aspect-ratio: 1;
1342
+ border-radius: 50%;
1343
+ background: radial-gradient(farthest-side, #000000 94%, #0000) top/4px 4px no-repeat,
1344
+ conic-gradient(#0000 30%, #000000);
1345
+ -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 4px), #000 0);
1346
+ animation: spinnerLoadingAnimation 1s infinite linear;
1347
+ }
1348
+ @keyframes spinnerLoadingAnimation {
1349
+ 100% {
1350
+ transform: rotate(1turn);
1351
+ }
1352
+ }