@bikdotai/bik-widgets 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 (206) hide show
  1. package/.eslintrc +22 -0
  2. package/.eslintrc.js +19 -0
  3. package/.github/workflows/main.yml +293 -0
  4. package/.prettierignore +13 -0
  5. package/.prettierrc +10 -0
  6. package/README.md +128 -0
  7. package/cypress/apiHelper/endpoints.ts +21 -0
  8. package/cypress/apiHelper/executor.ts +42 -0
  9. package/cypress/e2e/bottomDrawer.cy.ts +49 -0
  10. package/cypress/e2e/directReward.cy.ts +67 -0
  11. package/cypress/e2e/scratchTheCard.cy.ts +68 -0
  12. package/cypress/e2e/stw.cy.ts +82 -0
  13. package/cypress/e2e/waRedirection.cy.ts +46 -0
  14. package/cypress/fixtures/payloads.ts +330 -0
  15. package/cypress/support/commands.ts +37 -0
  16. package/cypress/support/e2e.ts +20 -0
  17. package/cypress.staging.config.ts +23 -0
  18. package/jsconfig.json +6 -0
  19. package/localtest.sh +10 -0
  20. package/log-server.js +86 -0
  21. package/package.json +79 -0
  22. package/postcss.config.js +8 -0
  23. package/src/Globals.d.ts +2 -0
  24. package/src/assets/lottie/santa.json +11722 -0
  25. package/src/assets/svg/CalendarClockIcon.tsx +30 -0
  26. package/src/assets/svg/CalendarIcon.tsx +24 -0
  27. package/src/assets/svg/CheckIcon.tsx +17 -0
  28. package/src/assets/svg/ChevronIcon.tsx +21 -0
  29. package/src/assets/svg/Close.tsx +39 -0
  30. package/src/assets/svg/Confetti.tsx +140 -0
  31. package/src/assets/svg/Copy.tsx +26 -0
  32. package/src/assets/svg/DropdownCheckIcon.tsx +35 -0
  33. package/src/assets/svg/ErrorIcon.tsx +27 -0
  34. package/src/assets/svg/RadioIcon.tsx +25 -0
  35. package/src/assets/svg/UncheckedCheckboxIcon.tsx +28 -0
  36. package/src/assets/svg/UncheckedRadioIcon.tsx +26 -0
  37. package/src/assets/svg/info.tsx +30 -0
  38. package/src/assets/svg/qrcode.svg +14 -0
  39. package/src/bootstrap.tsx +8 -0
  40. package/src/components/CtaCard/index.tsx +37 -0
  41. package/src/components/CtaCard/preview.module.css +32 -0
  42. package/src/components/CtaCard/style.module.css +32 -0
  43. package/src/components/EmailInput/emailInputBox.tsx +95 -0
  44. package/src/components/Fab/index.tsx +224 -0
  45. package/src/components/Fab/preview.module.css +28 -0
  46. package/src/components/Fab/style.module.css +37 -0
  47. package/src/components/Icons/Call.tsx +26 -0
  48. package/src/components/Icons/Cross.tsx +24 -0
  49. package/src/components/Icons/Gmail.tsx +61 -0
  50. package/src/components/Icons/Instagram.tsx +60 -0
  51. package/src/components/Icons/LiveChat.tsx +43 -0
  52. package/src/components/Icons/Messenger.tsx +57 -0
  53. package/src/components/Icons/Send.tsx +22 -0
  54. package/src/components/Icons/Whatsapp.tsx +24 -0
  55. package/src/components/Shimmer/index.tsx +12 -0
  56. package/src/components/Shimmer/style.module.css +37 -0
  57. package/src/components/SmsInput/smsInputBox.tsx +135 -0
  58. package/src/components/UserDetailsV2/userDetailsV2.desktop.module.css +52 -0
  59. package/src/components/UserDetailsV2/userDetailsV2.mobile.module.css +52 -0
  60. package/src/components/UserDetailsV2/userDetailsV2.module.css +81 -0
  61. package/src/components/UserDetailsV2/userDetailsV2.tsx +527 -0
  62. package/src/components/WhatsappInput/Spinner.tsx +26 -0
  63. package/src/components/WhatsappInput/whatsappInput.module.css +106 -0
  64. package/src/components/WhatsappInput/whatsappInputBox.tsx +155 -0
  65. package/src/components/WhatsappInput/whatsappInputPreviewDesktop.module.css +71 -0
  66. package/src/components/WhatsappInput/whatsappInputPreviewMobile.module.css +65 -0
  67. package/src/components/checkbox/checkbox.module.css +19 -0
  68. package/src/components/checkbox/checkbox.tsx +88 -0
  69. package/src/components/countryCodePicker/countriesDropdown.module.css +77 -0
  70. package/src/components/countryCodePicker/countriesDropdown.tsx +81 -0
  71. package/src/components/couponDetails/coupon.module.css +208 -0
  72. package/src/components/couponDetails/coupon.tsx +210 -0
  73. package/src/components/couponDetails/couponPreviewDesktop.module.css +158 -0
  74. package/src/components/couponDetails/couponPreviewMobile.module.css +164 -0
  75. package/src/components/index.ts +3 -0
  76. package/src/components/inputComponents/Checkbox.module.css +197 -0
  77. package/src/components/inputComponents/Checkbox.tsx +85 -0
  78. package/src/components/inputComponents/DatePicker.module.css +565 -0
  79. package/src/components/inputComponents/DatePicker.tsx +278 -0
  80. package/src/components/inputComponents/Dropdown.module.css +796 -0
  81. package/src/components/inputComponents/Dropdown.tsx +630 -0
  82. package/src/components/inputComponents/InputBox.module.css +401 -0
  83. package/src/components/inputComponents/InputBox.tsx +209 -0
  84. package/src/components/selectedCountry/selectedCountry.module.css +76 -0
  85. package/src/components/selectedCountry/selectedCountry.tsx +76 -0
  86. package/src/components/selectedCountry/selectedCountryPreviewDesktop.module.css +56 -0
  87. package/src/components/selectedCountry/selectedCountryPreviewMobile.module.css +57 -0
  88. package/src/components/userDetailsForm/RenderCustomFields.tsx +333 -0
  89. package/src/components/userDetailsForm/userDetailsForm.tsx +675 -0
  90. package/src/hooks/index.ts +4 -0
  91. package/src/hooks/useExitIntent.ts +452 -0
  92. package/src/hooks/useIsMobile.tsx +21 -0
  93. package/src/hooks/useMessageEvent.ts +8 -0
  94. package/src/hooks/useTriggeredIntentDetails.ts +43 -0
  95. package/src/hooks/useUrlListerner.ts +30 -0
  96. package/src/hooks/useWebSocketLogger.ts +59 -0
  97. package/src/hooks/useWindowEvent.ts +8 -0
  98. package/src/icons/copyIcon.tsx +26 -0
  99. package/src/icons/crossIconDesktop.tsx +20 -0
  100. package/src/icons/crossIconMobile.tsx +20 -0
  101. package/src/index.html +30 -0
  102. package/src/index.ts +32 -0
  103. package/src/index.tsx +1 -0
  104. package/src/repo/widgetRepo.ts +21 -0
  105. package/src/types/customFields.ts +73 -0
  106. package/src/utilities/cookie.ts +70 -0
  107. package/src/utilities/customFieldTypeMapping.ts +67 -0
  108. package/src/utilities/customFieldValidation.ts +201 -0
  109. package/src/utilities/encryption.ts +21 -0
  110. package/src/utilities/exitIntentUtils.ts +31 -0
  111. package/src/utilities/global.css +11 -0
  112. package/src/utilities/languageUtilities.ts +235 -0
  113. package/src/utilities/localRunner.js +26 -0
  114. package/src/utilities/localRunner.ts +27 -0
  115. package/src/utilities/localStorage.ts +40 -0
  116. package/src/utilities/script.tsx +15 -0
  117. package/src/utilities/stringUtils.ts +5 -0
  118. package/src/utilities/styleUtils.ts +134 -0
  119. package/src/utilities/variables.ts +11 -0
  120. package/src/utilities/widgetUtils.js +342 -0
  121. package/src/utilities/widgetUtils.ts +313 -0
  122. package/src/widgets/BottomDrawer/config.ts +41 -0
  123. package/src/widgets/BottomDrawer/index.tsx +116 -0
  124. package/src/widgets/BottomDrawer/modal.tsx +286 -0
  125. package/src/widgets/BottomDrawer/preview.module.css +122 -0
  126. package/src/widgets/BottomDrawer/previewMobile.module.css +124 -0
  127. package/src/widgets/BottomDrawer/style.module.css +279 -0
  128. package/src/widgets/CaptivateBanner/captivateBanner.tsx +200 -0
  129. package/src/widgets/CaptivateBanner/config.ts +72 -0
  130. package/src/widgets/CaptivateBanner/index.tsx +204 -0
  131. package/src/widgets/CaptivateBanner/previewDesktop.module.css +51 -0
  132. package/src/widgets/CaptivateBanner/previewMobile.module.css +51 -0
  133. package/src/widgets/CaptivateBanner/style.module.css +77 -0
  134. package/src/widgets/CaptivateBanner/utils.ts +104 -0
  135. package/src/widgets/CentrallyAlignedPopup/config.ts +42 -0
  136. package/src/widgets/CentrallyAlignedPopup/index.tsx +109 -0
  137. package/src/widgets/CentrallyAlignedPopup/modal.tsx +269 -0
  138. package/src/widgets/CentrallyAlignedPopup/preview.module.css +153 -0
  139. package/src/widgets/CentrallyAlignedPopup/previewMobile.module.css +153 -0
  140. package/src/widgets/CentrallyAlignedPopup/style.module.css +283 -0
  141. package/src/widgets/DirectReward/components/couponDetails.tsx +265 -0
  142. package/src/widgets/DirectReward/components/userDetails.tsx +117 -0
  143. package/src/widgets/DirectReward/config.ts +186 -0
  144. package/src/widgets/DirectReward/directReward.tsx +350 -0
  145. package/src/widgets/DirectReward/index.tsx +579 -0
  146. package/src/widgets/DirectReward/previewStyles/thankYouPreviewDesktop.module.css +276 -0
  147. package/src/widgets/DirectReward/previewStyles/thankYouPreviewMobile.module.css +303 -0
  148. package/src/widgets/DirectReward/previewStyles/userDetailsPreviewDesktop.module.css +511 -0
  149. package/src/widgets/DirectReward/previewStyles/userDetailsPreviewMobile.module.css +462 -0
  150. package/src/widgets/DirectReward/style.module.css +836 -0
  151. package/src/widgets/ExitIntentHook.tsx +28 -0
  152. package/src/widgets/STW/api.ts +70 -0
  153. package/src/widgets/STW/components/svgFactory.tsx +44 -0
  154. package/src/widgets/STW/config.ts +193 -0
  155. package/src/widgets/STW/context.ts +7 -0
  156. package/src/widgets/STW/couponDetails.tsx +121 -0
  157. package/src/widgets/STW/index.tsx +733 -0
  158. package/src/widgets/STW/previewStyles/thankyouPreviewDesktop.module.css +215 -0
  159. package/src/widgets/STW/previewStyles/thankyouPreviewMobile.module.css +205 -0
  160. package/src/widgets/STW/previewStyles/userInputsPreviewDesktop.module.css +732 -0
  161. package/src/widgets/STW/previewStyles/userInputsPreviewMobile.module.css +661 -0
  162. package/src/widgets/STW/previewStyles/wheelPreviewDesktop.module.css +498 -0
  163. package/src/widgets/STW/previewStyles/wheelPreviewMobile.module.css +497 -0
  164. package/src/widgets/STW/stw1.tsx +119 -0
  165. package/src/widgets/STW/stw2Components/wheelDesign.tsx +183 -0
  166. package/src/widgets/STW/stw2Pages/couponDetails.tsx +72 -0
  167. package/src/widgets/STW/stw2Pages/stw2.tsx +212 -0
  168. package/src/widgets/STW/stw2Pages/style.module.css +1226 -0
  169. package/src/widgets/STW/stw2Pages/userDetails.tsx +86 -0
  170. package/src/widgets/STW/stw2Pages/wheel.tsx +117 -0
  171. package/src/widgets/STW/stw2PreviewStyles/thankyouPreviewDesktop.module.css +835 -0
  172. package/src/widgets/STW/stw2PreviewStyles/thankyouPreviewMobile.module.css +787 -0
  173. package/src/widgets/STW/stw2PreviewStyles/userInputsPreviewDesktop.module.css +867 -0
  174. package/src/widgets/STW/stw2PreviewStyles/userInputsPreviewMobile.module.css +798 -0
  175. package/src/widgets/STW/stw2PreviewStyles/wheelPreviewDesktop.module.css +572 -0
  176. package/src/widgets/STW/stw2PreviewStyles/wheelPreviewMobile.module.css +559 -0
  177. package/src/widgets/STW/style.module.css +901 -0
  178. package/src/widgets/STW/userDetails.tsx +150 -0
  179. package/src/widgets/STW/utility.ts +664 -0
  180. package/src/widgets/STW/wheel.tsx +304 -0
  181. package/src/widgets/ScratchCard/ScratchOff/scratchOff.tsx +157 -0
  182. package/src/widgets/ScratchCard/config.ts +152 -0
  183. package/src/widgets/ScratchCard/globalStyle.module.css +931 -0
  184. package/src/widgets/ScratchCard/index.tsx +546 -0
  185. package/src/widgets/ScratchCard/modal.tsx +225 -0
  186. package/src/widgets/ScratchCard/preview.module.css +250 -0
  187. package/src/widgets/ScratchCard/previewMobile.module.css +247 -0
  188. package/src/widgets/ScratchCard/previewStyles/userDetailsPreviewDesktop.module.css +537 -0
  189. package/src/widgets/ScratchCard/previewStyles/userDetailsPreviewMobile.module.css +463 -0
  190. package/src/widgets/ScratchCard/style.module.css +220 -0
  191. package/src/widgets/ShopifyForm/config.ts +168 -0
  192. package/src/widgets/ShopifyForm/index.tsx +214 -0
  193. package/src/widgets/ShopifyForm/previewDesktop.module.css +117 -0
  194. package/src/widgets/ShopifyForm/previewMobile.module.css +131 -0
  195. package/src/widgets/ShopifyForm/shopifyForm.tsx +445 -0
  196. package/src/widgets/ShopifyForm/style.module.css +161 -0
  197. package/src/widgets/SingleButtonRedirection/config.ts +47 -0
  198. package/src/widgets/SingleButtonRedirection/index.tsx +121 -0
  199. package/src/widgets/WebStories/config.ts +105 -0
  200. package/src/widgets/WebStories/index.css +3 -0
  201. package/src/widgets/WebStories/index.tsx +282 -0
  202. package/src/widgets/WebStories/style.module.css +26 -0
  203. package/src/widgets/index.tsx +3 -0
  204. package/src/widgets/utility.ts +31 -0
  205. package/tsconfig.json +12 -0
  206. package/webpack.config.js +239 -0
@@ -0,0 +1,901 @@
1
+ body.bik-overflow-hidden {
2
+ overflow: hidden;
3
+ }
4
+
5
+ .userDetailsTitleWrapper {
6
+ display: flex;
7
+ justify-content: center;
8
+ text-align: center;
9
+ font-family: inherit;
10
+ }
11
+
12
+ .userDetailsTitleWrapper * {
13
+ font-family: inherit;
14
+ }
15
+
16
+ .loader {
17
+ border: 2px solid rgba(255, 255, 255, 0.3);
18
+ border-top: 2px solid #fff;
19
+ border-left: 2px solid #fff;
20
+ border-radius: 50%;
21
+ width: 20px;
22
+ height: 20px;
23
+ display: block !important;
24
+ animation: spin 1.3s linear infinite;
25
+ }
26
+
27
+ .bikSpinOverlay {
28
+ width: 100%;
29
+ height: 100%;
30
+ position: fixed;
31
+ top: 0;
32
+ left: 0;
33
+ background-color: rgba(0, 0, 0, 0.5);
34
+ display: block !important;
35
+ z-index: 9999999999999;
36
+ }
37
+
38
+ .bikCloseBtnWrapper {
39
+ width: 100%;
40
+ display: flex;
41
+ justify-content: flex-end;
42
+ align-items: center;
43
+ }
44
+
45
+ .bikCloseBtn {
46
+ width: 32px;
47
+ height: 32px;
48
+ border-radius: 50%;
49
+ background-color: #fff;
50
+ margin-bottom: 10px;
51
+ display: flex;
52
+ justify-content: center;
53
+ align-items: center;
54
+ cursor: pointer;
55
+ }
56
+
57
+ #phone-field:focus-visible {
58
+ box-shadow: unset;
59
+ }
60
+
61
+ .bikCloseBtn svg {
62
+ width: 24px;
63
+ height: 24px;
64
+ }
65
+
66
+ .bikMainWrapper {
67
+ position: absolute;
68
+ transform: translate(-50%, -50%);
69
+ top: 50%;
70
+ left: 50%;
71
+ width: 50%;
72
+ max-width: 700px;
73
+ min-height: calc(54% + 32px + 28px);
74
+ z-index: 9999;
75
+ }
76
+
77
+ .bikWrapper {
78
+ width: 100%;
79
+ height: calc(100% - 32px - 28px);
80
+ background-color: #ffffff;
81
+ display: flex;
82
+ border-radius: 8px;
83
+ padding: 20px 0;
84
+ box-shadow: 0 4em 5em rgba(27, 8, 53, 0.2);
85
+ flex-direction: column;
86
+ align-items: center;
87
+ justify-content: space-evenly;
88
+ min-height: 400px;
89
+ }
90
+
91
+ .bikWrapper > svg {
92
+ margin-bottom: 8px;
93
+ }
94
+
95
+ .bikHeaderContainer {
96
+ display: flex;
97
+ flex-direction: column;
98
+ width: 100%;
99
+ }
100
+
101
+ #bikHeader {
102
+ font-style: normal;
103
+ font-weight: 400;
104
+ font-size: 20px;
105
+ line-height: 24px;
106
+ text-align: center;
107
+ font-feature-settings:
108
+ 'tnum' on,
109
+ 'lnum' on,
110
+ 'case' on,
111
+ 'ss04' on;
112
+ color: #212121;
113
+ margin: 0;
114
+ font-family: inherit;
115
+ }
116
+
117
+ #bikSubheader {
118
+ font-feature-settings:
119
+ 'tnum' on,
120
+ 'lnum' on,
121
+ 'case' on,
122
+ 'ss04' on;
123
+ color: #616161;
124
+ text-align: center;
125
+ margin: 0;
126
+ margin-bottom: 24px;
127
+ margin-top: 8px;
128
+ font-family: inherit;
129
+ font-size: 12px;
130
+ }
131
+
132
+ #bikHeader p,
133
+ #bikSubheader p {
134
+ font-family: inherit;
135
+ margin-bottom: 0;
136
+ }
137
+
138
+ .bikSegmentDivider {
139
+ background-color: white;
140
+ height: 2px;
141
+ width: 400%;
142
+ transform: rotate(-60deg);
143
+ box-shadow: 0px 0px 11px 2px #00000082;
144
+ position: absolute;
145
+ top: calc(100% - 2px);
146
+ }
147
+
148
+ .poweredBy {
149
+ display: flex;
150
+ justify-content: flex-end;
151
+ align-items: center;
152
+ margin-left: auto;
153
+ text-align: center;
154
+ font-weight: 400;
155
+ font-size: 14px;
156
+ line-height: 16px;
157
+ color: #9e9e9e;
158
+ font-family: 'Inter';
159
+ margin-top: 20px;
160
+ cursor: pointer;
161
+ padding-right: 20px;
162
+ }
163
+
164
+ .poweredBy a {
165
+ text-decoration: none;
166
+ color: #9e9e9e;
167
+ margin-right: 6px;
168
+ }
169
+
170
+ .poweredBy svg {
171
+ stroke: none !important;
172
+ fill: none !important;
173
+ height: unset !important;
174
+ width: unset !important;
175
+ }
176
+
177
+ .spinTopAligned {
178
+ position: absolute;
179
+ top: -18%;
180
+ height: 400px;
181
+ width: 400px;
182
+ }
183
+
184
+ .bikContainerPadding {
185
+ padding-top: 316px;
186
+ }
187
+
188
+ .containerPaddingThankYouPage {
189
+ padding-top: 33px;
190
+ }
191
+
192
+ #bikUserDetails {
193
+ width: 364px;
194
+ margin: 0 auto;
195
+ font-family: inherit;
196
+ }
197
+
198
+ .bikInputWrapper {
199
+ width: 100%;
200
+ display: flex;
201
+ flex-direction: column;
202
+ font-family: inherit;
203
+ }
204
+
205
+ .bikInputWrapper span {
206
+ font-family: inherit;
207
+ }
208
+
209
+ .bikInputWrapper input {
210
+ border: none;
211
+ outline: none;
212
+ padding: 12px 24px;
213
+ background: #ffffff;
214
+ border: 1px solid #e0e0e0;
215
+ border-radius: 4px !important;
216
+ width: 100%;
217
+ font-family: inherit;
218
+ height: 48px;
219
+ box-shadow: none;
220
+ font-family: inherit;
221
+ }
222
+
223
+ input.bikStwSpinInputText::-webkit-outer-spin-button,
224
+ input.bikStwSpinInputText::-webkit-inner-spin-button {
225
+ -webkit-appearance: none;
226
+ margin: 0;
227
+ }
228
+
229
+ .bikInputWrapper input::placeholder {
230
+ color: rgba(0, 0, 0, 0.45) !important;
231
+ opacity: 1 !important;
232
+ }
233
+
234
+ #bikErrorWrapper {
235
+ margin: 0 !important;
236
+ color: #b92321;
237
+ font-weight: 400 !important;
238
+ font-size: 12px !important;
239
+ line-height: 16px !important;
240
+ margin-top: 8px !important;
241
+ font-family: inherit !important;
242
+ }
243
+
244
+ .font14 {
245
+ font-size: 14px;
246
+ line-height: 20px;
247
+ }
248
+
249
+ .font16 {
250
+ font-size: 16px !important;
251
+ line-height: 24px;
252
+ }
253
+
254
+ .font28 {
255
+ font-size: 28px;
256
+ line-height: 40px;
257
+ }
258
+
259
+ .fontWeight400 {
260
+ font-weight: 400;
261
+ }
262
+
263
+ .fontWeight600 {
264
+ font-weight: 600;
265
+ }
266
+
267
+ .top58 {
268
+ top: 58%;
269
+ }
270
+
271
+ .top55 {
272
+ top: -55px;
273
+ }
274
+
275
+ #bikayiBtn {
276
+ position: relative;
277
+ border: none;
278
+ padding: 14px 0;
279
+ background: #731dcf;
280
+ border-radius: 8px;
281
+ outline: none;
282
+ width: 100%;
283
+ color: #fff;
284
+ font-weight: 600;
285
+ font-size: 16px;
286
+ line-height: 20px;
287
+ margin-top: 20px;
288
+ cursor: pointer;
289
+ height: 48px;
290
+ font-family: inherit;
291
+ margin-bottom: 8px;
292
+ display: flex;
293
+ justify-content: center;
294
+ align-items: center;
295
+ }
296
+
297
+ #bikWheel {
298
+ height: 100%;
299
+ width: 100%;
300
+ top: 0;
301
+ padding: 0;
302
+ border-radius: 50%;
303
+ box-shadow: 0px 5.75051px 51.7546px rgb(0 0 0 / 24%);
304
+ border: 21px solid #fff;
305
+ }
306
+
307
+ @keyframes rotate {
308
+ 100% {
309
+ transform: rotate(360deg);
310
+ }
311
+ }
312
+
313
+ @keyframes spin {
314
+ 0% {
315
+ transform: rotate(0deg);
316
+ }
317
+
318
+ 100% {
319
+ transform: rotate(360deg);
320
+ }
321
+ }
322
+
323
+ #bikSpinBtn {
324
+ position: absolute;
325
+ transform: translate(-50%, -50%);
326
+ top: 50%;
327
+ left: 50%;
328
+ border: 10px solid #fff !important;
329
+ width: 23%;
330
+ height: 23%;
331
+ border-radius: 50%;
332
+ cursor: pointer;
333
+ border: 0;
334
+ background: #fbbb18;
335
+ color: #664006;
336
+ text-transform: uppercase;
337
+ font-family: 'Poppins';
338
+ font-style: normal;
339
+ font-weight: 700;
340
+ font-size: 24px;
341
+ line-height: 35px;
342
+ text-align: center;
343
+ }
344
+
345
+ .bikWidgetCTAHide {
346
+ display: none !important;
347
+ }
348
+
349
+ .bikWidgetCTAShow {
350
+ display: flex !important;
351
+ }
352
+
353
+ #bikSpinWidgetCTA {
354
+ width: 70px;
355
+ height: 70px;
356
+ border-radius: 50%;
357
+ background: #fce49b;
358
+ display: flex;
359
+ justify-content: center;
360
+ align-items: center;
361
+ position: fixed;
362
+ z-index: 9999;
363
+ cursor: pointer;
364
+ box-shadow:
365
+ rgba(50, 50, 93, 0.25) 0px 13px 27px -5px,
366
+ rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
367
+ opacity: 1;
368
+ animation: pulse 0.7s ease-in forwards;
369
+ }
370
+
371
+ #bikSpinWidgetCTA svg {
372
+ fill: #fff;
373
+ }
374
+
375
+ .bikStwError {
376
+ font-style: normal;
377
+ font-weight: 400;
378
+ font-size: 12px;
379
+ line-height: 16px;
380
+ color: #b92321;
381
+ margin-top: 8px;
382
+ display: block;
383
+ }
384
+
385
+ #bikFooter2 {
386
+ display: block;
387
+ flex-direction: column;
388
+ }
389
+
390
+ .bikStwWaCheckboxContainer {
391
+ display: flex;
392
+ flex-direction: row;
393
+ gap: 8px;
394
+ margin: 8px 0;
395
+ font-family: inherit;
396
+ align-items: center;
397
+ }
398
+
399
+ .bikStwWaCheckboxContainer input {
400
+ appearance: auto !important;
401
+ }
402
+
403
+ .bikStwWaCheckboxContainer h2 {
404
+ margin: 0;
405
+ color: #616161;
406
+ font-family: inherit;
407
+ }
408
+
409
+ .bikStwWaCheckboxContainer a {
410
+ font-family: inherit;
411
+ }
412
+
413
+ .bikStwCountryCodeContainer {
414
+ gap: 8px;
415
+ display: flex;
416
+ align-items: center;
417
+ flex-direction: row;
418
+ font-family: inherit;
419
+ }
420
+
421
+ #bikFooter2 > h1 {
422
+ font-family: inherit;
423
+ font-style: normal;
424
+ font-weight: 600;
425
+ font-size: 28px;
426
+ line-height: 40px;
427
+ text-align: center;
428
+ font-feature-settings:
429
+ 'tnum' on,
430
+ 'lnum' on,
431
+ 'case' on,
432
+ 'ss04' on;
433
+ color: #212121;
434
+ }
435
+
436
+ #bikFooter2 > h2 {
437
+ font-family: inherit;
438
+ font-style: normal;
439
+ font-weight: 400;
440
+ font-size: 14px;
441
+ line-height: 16px;
442
+ text-align: center;
443
+ font-feature-settings:
444
+ 'tnum' on,
445
+ 'lnum' on,
446
+ 'case' on,
447
+ 'ss04' on;
448
+ color: #212121;
449
+ margin-top: 8px;
450
+ margin-bottom: 24px;
451
+ }
452
+
453
+ .bikStwH2 {
454
+ font-family: inherit;
455
+ font-style: normal;
456
+ font-weight: 400;
457
+ font-size: 14px;
458
+ line-height: 20px;
459
+ font-feature-settings:
460
+ 'tnum' on,
461
+ 'lnum' on,
462
+ 'case' on,
463
+ 'ss04' on;
464
+ color: #212121;
465
+ margin-bottom: 8px;
466
+ }
467
+
468
+ .bikStwPhoneInputRow {
469
+ display: flex;
470
+ flex-direction: row;
471
+ margin-top: 24px;
472
+ width: 100%;
473
+ font-family: inherit;
474
+ }
475
+
476
+ .bikStwPhoneInputRow > div {
477
+ font-family: inherit;
478
+ }
479
+
480
+ .bikStwCountryCodePicker {
481
+ height: 56px;
482
+ border-radius: 8px;
483
+ margin-top: 8px;
484
+ border-width: 1px;
485
+ border-style: solid;
486
+ align-items: center;
487
+ border-color: #e0e0e0;
488
+ padding: 12px 8px;
489
+ gap: 8px;
490
+ display: flex;
491
+ flex-direction: row;
492
+ font-family: inherit;
493
+ }
494
+
495
+ .bikStwCountryCodePicker h2 {
496
+ margin: 0;
497
+ }
498
+
499
+ .bikStwDownArrow {
500
+ width: 0;
501
+ height: 0;
502
+ border-left: 5px solid transparent;
503
+ border-right: 5px solid transparent;
504
+ border-top: 7px solid #616161;
505
+ font-size: 0;
506
+ line-height: 0;
507
+ float: left;
508
+ display: block !important;
509
+ }
510
+
511
+ .bikStwPhoneInput {
512
+ margin-left: 16px;
513
+ flex: 2;
514
+ font-family: inherit;
515
+ }
516
+
517
+ #bikStwOptPhone {
518
+ display: flex;
519
+ margin: 12px 0;
520
+ }
521
+
522
+ #bikStwOptWa {
523
+ display: flex;
524
+ margin: 12px 0;
525
+ }
526
+
527
+ #bikStwOptEmail {
528
+ display: block;
529
+ margin: 12px 0;
530
+ }
531
+
532
+ #bikStwMandWa {
533
+ display: flex;
534
+ margin: 12px 0;
535
+ }
536
+
537
+ #bikStwMandEmail {
538
+ display: flex;
539
+ margin: 12px 0;
540
+ }
541
+
542
+ #bikStwMandPhone {
543
+ display: flex;
544
+ margin: 12px 0;
545
+ }
546
+
547
+ #bikStwWaCheckboxLayout {
548
+ display: flex;
549
+ }
550
+
551
+ #bikStwPhoneCheckboxLayout {
552
+ display: flex;
553
+ }
554
+
555
+ .bikEmailInputMain {
556
+ display: block;
557
+ margin: 12px 0;
558
+ font-family: inherit;
559
+ }
560
+
561
+ .bikInputMain {
562
+ display: flex;
563
+ margin: 24px 0 0 0;
564
+ }
565
+
566
+ input::-webkit-outer-spin-button,
567
+ input::-webkit-inner-spin-button {
568
+ -webkit-appearance: none;
569
+ margin: 0;
570
+ }
571
+
572
+ /* Firefox */
573
+ input[type='number'] {
574
+ -moz-appearance: textfield;
575
+ }
576
+
577
+ @keyframes pulse {
578
+ 0% {
579
+ opacity: 0;
580
+ }
581
+
582
+ 100% {
583
+ opacity: 1;
584
+ }
585
+ }
586
+
587
+ .bikContainerSpinner {
588
+ position: relative;
589
+ height: 400px;
590
+ width: 400px;
591
+ border-radius: 50%;
592
+ /* margin: 50px auto;
593
+ */
594
+ display: flex;
595
+ align-items: center;
596
+ justify-content: center;
597
+ overflow: hidden;
598
+ pointer-events: none;
599
+ box-shadow: 0px 5.75051px 51.7546px rgba(0, 0, 0, 0.24);
600
+ }
601
+
602
+ .bikContainerInner {
603
+ position: relative;
604
+ height: 100%;
605
+ width: 100%;
606
+ display: flex;
607
+ align-items: center;
608
+ justify-content: center;
609
+ }
610
+
611
+ .bikContainerOverlay {
612
+ height: 100%;
613
+ width: 100%;
614
+ border-radius: 50%;
615
+ border: 20px solid white;
616
+ box-shadow:
617
+ inset 5px 5px 25px 0px #00000010,
618
+ inset -5px -5px 25px 0 #00000010;
619
+ z-index: 13;
620
+ position: relative;
621
+ display: block !important;
622
+ }
623
+
624
+ .bikSegment {
625
+ position: absolute;
626
+ clip-path: polygon(100% 0, 0 0, 50% 100%);
627
+ height: 180px;
628
+ width: 300px;
629
+ bottom: 50%;
630
+ transform-origin: bottom center;
631
+ display: flex;
632
+ align-items: flex-start;
633
+ justify-content: center;
634
+ pointer-events: none;
635
+ font-family: inherit;
636
+ padding-top: 34px;
637
+ }
638
+
639
+ .bikCouponText {
640
+ width: 50%;
641
+ text-align: center;
642
+ font-family: inherit;
643
+ }
644
+
645
+ .bikContainerSpin {
646
+ position: absolute;
647
+ display: flex;
648
+ align-items: center;
649
+ justify-content: center;
650
+ }
651
+
652
+ .bikSpinArrow {
653
+ position: absolute;
654
+ background: white;
655
+ width: 31px;
656
+ height: 46px;
657
+ bottom: 45px;
658
+ clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
659
+ display: block !important;
660
+ }
661
+
662
+ .bikSpinContent {
663
+ height: 115px;
664
+ width: 115px;
665
+ position: absolute;
666
+ z-index: 1;
667
+ border: 10px solid white;
668
+ border-radius: 50%;
669
+ background-color: #f8bb19;
670
+ display: flex;
671
+ align-items: center;
672
+ justify-content: center;
673
+ box-shadow: 0px 0px 25px 1px #00000052;
674
+ cursor: pointer;
675
+ }
676
+
677
+ .bikSpinLogo {
678
+ font-family: 'Poppins';
679
+ font-style: normal;
680
+ font-weight: 700;
681
+ font-size: 25px;
682
+ line-height: 35px;
683
+ text-align: center;
684
+ font-feature-settings:
685
+ 'tnum' on,
686
+ 'lnum' on;
687
+ color: #ffffff;
688
+ }
689
+
690
+ .bikSegment.one {
691
+ background-color: #a1deed;
692
+ }
693
+
694
+ .bikSegment.two {
695
+ background-color: #d97559;
696
+ transform: rotate(60deg);
697
+ }
698
+
699
+ .bikSegment.three {
700
+ background-color: #fad56e;
701
+ transform: rotate(120deg);
702
+ }
703
+
704
+ .bikSegment.four {
705
+ background-color: #a1deed;
706
+ transform: rotate(180deg);
707
+ }
708
+
709
+ .bikSegment.five {
710
+ background-color: #d97559;
711
+ transform: rotate(240deg);
712
+ }
713
+
714
+ .bikSegment.six {
715
+ background-color: #fad56e;
716
+ transform: rotate(300deg);
717
+ }
718
+
719
+ .bikMainContainer {
720
+ display: flex;
721
+ justify-content: center;
722
+ align-items: center;
723
+ position: absolute;
724
+ top: -50px;
725
+ }
726
+
727
+ .bikCouponText {
728
+ font-weight: 900;
729
+ font-size: 14px;
730
+ }
731
+
732
+ .cliam-btn--loading::after {
733
+ content: '';
734
+ position: absolute;
735
+ width: 28px;
736
+ height: 28px;
737
+ top: 0;
738
+ left: 0;
739
+ right: 0;
740
+ bottom: 0;
741
+ margin: auto;
742
+ border: 4px solid transparent;
743
+ border-top-color: #ffffff;
744
+ border-radius: 50%;
745
+ animation: button-loading-spinner 1s ease infinite;
746
+ }
747
+
748
+ @keyframes button-loading-spinner {
749
+ from {
750
+ transform: rotate(0turn);
751
+ }
752
+
753
+ to {
754
+ transform: rotate(1turn);
755
+ }
756
+ }
757
+
758
+ @media only screen and (max-width: 768px) {
759
+ .bikMainWrapper {
760
+ width: 100%;
761
+ bottom: 0;
762
+ min-height: unset;
763
+ transform: unset;
764
+ top: unset;
765
+ left: unset;
766
+ display: flex;
767
+ flex-direction: column;
768
+ }
769
+
770
+ #bikFooter2 {
771
+ padding: 0 18px;
772
+ }
773
+
774
+ #bikayiBtn {
775
+ margin-top: 16px;
776
+ }
777
+
778
+ #bikFooter2 > h1 {
779
+ font-size: 24px;
780
+ }
781
+
782
+ .bikStwH2 {
783
+ font-size: 12px;
784
+ }
785
+
786
+ .bikContainerPadding {
787
+ padding: 187px 10px 10px 10px;
788
+ }
789
+
790
+ .bikContainerPaddingThankYouPage {
791
+ padding-top: 41px;
792
+ }
793
+
794
+ .bikWrapper {
795
+ position: unset;
796
+ border-radius: 8px 8px 0 0;
797
+ min-height: unset;
798
+ }
799
+
800
+ .bikContainerSpinner {
801
+ height: 320px;
802
+ width: 320px;
803
+ }
804
+
805
+ .bikSegment {
806
+ padding-bottom: 0;
807
+ padding-top: 30px;
808
+ height: 148px;
809
+ }
810
+
811
+ .bikSpinContent {
812
+ width: 76px;
813
+ height: 76px;
814
+ border: 7px solid white;
815
+ }
816
+
817
+ .bikSpinLogo {
818
+ font-size: 14px;
819
+ line-height: 15px;
820
+ font-weight: bolder;
821
+ }
822
+
823
+ .bikContainerOverlay {
824
+ border: 12px solid #fff;
825
+ }
826
+
827
+ .bikSpinArrow {
828
+ width: 19px;
829
+ height: 26px;
830
+ bottom: 35px;
831
+ }
832
+
833
+ #bikHeader {
834
+ font-weight: 400;
835
+ font-size: 16px;
836
+ line-height: 24px;
837
+ }
838
+
839
+ #bikSubheader {
840
+ font-weight: 600;
841
+ font-size: 14px;
842
+ line-height: 24px;
843
+ margin-bottom: 16px;
844
+ }
845
+
846
+ #bikHeader p,
847
+ #bikSubheader p {
848
+ font-family: inherit;
849
+ }
850
+
851
+ #bikFooter2 p:nth-child(2) {
852
+ font-weight: 600;
853
+ font-size: 20px;
854
+ line-height: 24px;
855
+ color: #212121;
856
+ font-family: inherit;
857
+ }
858
+
859
+ #bikFooter2 p:nth-child(1) {
860
+ font-weight: 400;
861
+ font-size: 16px;
862
+ line-height: 24px;
863
+ font-family: inherit;
864
+ }
865
+
866
+ #bikayiBtn {
867
+ margin-top: 16px;
868
+ }
869
+
870
+ .bikCloseBtnWrapper {
871
+ justify-content: center;
872
+ }
873
+
874
+ .bikCloseAbsolute {
875
+ position: absolute;
876
+ top: -70%;
877
+ }
878
+
879
+ .bikMainContainer {
880
+ top: -160px;
881
+ }
882
+
883
+ #bikUserDetails {
884
+ width: 90%;
885
+ font-family: inherit;
886
+ }
887
+
888
+ .top15 {
889
+ top: -15% !important;
890
+ }
891
+
892
+ .bikPadding20 {
893
+ padding: 20px;
894
+ }
895
+
896
+ .poweredBy {
897
+ margin-left: 0;
898
+ margin-top: 10px;
899
+ justify-content: center;
900
+ }
901
+ }