@onairosofficial/onairos-capacitor 0.1.0 → 0.1.2

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 (202) hide show
  1. package/CAPACITOR_QUICK_START.md +379 -0
  2. package/CONNECTORS.md +122 -0
  3. package/LICENSE +194 -10
  4. package/OnairosofficialOnairosCapacitor.podspec +13 -0
  5. package/Package.swift +26 -0
  6. package/README.md +176 -25
  7. package/dist/onairos.capacitor.esm.js +1 -0
  8. package/dist/onairos.capacitor.esm.turbopack.js +1 -0
  9. package/docs/CAPACITOR_INTEGRATION_GUIDE.md +159 -0
  10. package/docs/CAPACITOR_MOCK_APP_TESTING.md +213 -0
  11. package/docs/CAPACITOR_SDK_FIXES_SUMMARY.md +65 -0
  12. package/docs/CROSS_SDK_PARITY.md +239 -0
  13. package/docs/DATA_FREQUENCY.md +57 -0
  14. package/docs/DEVELOPER_SDK_CHANGES.md +532 -0
  15. package/docs/INCIDENT_ENABLETRAINING_PIN_WEB_8.1.9.md +82 -0
  16. package/docs/ONAIROS_BUTTON_PROPS.md +152 -0
  17. package/docs/PLATFORM_APIS.md +559 -0
  18. package/docs/RAW_MEMORIES_API.md +305 -0
  19. package/docs/RAW_MEMORIES_SDK_UPDATE.md +54 -0
  20. package/docs/SDK_PARITY_ROLLUP_2026_04_24_to_05_02.md +96 -0
  21. package/docs/oldFixes.md +216 -0
  22. package/ios/Sources/OnairosNativeConnectorsPlugin/OnairosChatGPTNativePlugin.swift +993 -0
  23. package/ios/Sources/OnairosNativeConnectorsPlugin/OnairosNetflixNativePlugin.swift +33 -0
  24. package/ios/Sources/OnairosNativeConnectorsPlugin/OnairosSpotifyNativePlugin.swift +1082 -0
  25. package/onairos.d.ts +656 -0
  26. package/package.json +188 -37
  27. package/src/OnairosReconnectButton.jsx +272 -0
  28. package/src/RSA.jsx +57 -0
  29. package/src/assets/NewLogo.png +0 -0
  30. package/src/assets/OnairosNewLogo.png +0 -0
  31. package/src/assets/chatgpt-icon.png +0 -0
  32. package/src/assets/fire-horse.png +0 -0
  33. package/src/assets/fire-horse.transparent.png +0 -0
  34. package/src/assets/latest-firehorse.png +0 -0
  35. package/src/assets/perplexity.png +0 -0
  36. package/src/assets/persona.png +0 -0
  37. package/src/assets/persona1.png +0 -0
  38. package/src/assets/persona2.png +0 -0
  39. package/src/assets/persona3.png +0 -0
  40. package/src/assets/persona4.png +0 -0
  41. package/src/assets/persona5.png +0 -0
  42. package/src/capacitorConnectorCatalog.js +38 -0
  43. package/src/capacitorOAuthConfig.js +52 -0
  44. package/src/chatgptHostedImport/index.js +303 -0
  45. package/src/components/AuthButtons.jsx +48 -0
  46. package/src/components/ConnectChatGPTModal.jsx +666 -0
  47. package/src/components/ConnectClaudeModal.jsx +610 -0
  48. package/src/components/ConnectGeminiModal.jsx +639 -0
  49. package/src/components/ConnectGrokModal.jsx +701 -0
  50. package/src/components/ConnectPerplexityModal.jsx +726 -0
  51. package/src/components/DataExplainerScreen.jsx +349 -0
  52. package/src/components/DataRequest.js +885 -0
  53. package/src/components/DataRequest.jsx +1055 -0
  54. package/src/components/EmailAuth.js +1871 -0
  55. package/src/components/EmailAuth.jsx +2062 -0
  56. package/src/components/ExtensionInstallPrompt.jsx +142 -0
  57. package/src/components/GoogleButton.js +133 -0
  58. package/src/components/LLMConnectorManager.jsx +201 -0
  59. package/src/components/LoadingPage.jsx +19 -0
  60. package/src/components/LoadingScreen.jsx +81 -0
  61. package/src/components/LunarBirthdate.jsx +96 -0
  62. package/src/components/LunarLoadingPage.jsx +251 -0
  63. package/src/components/Notification.jsx +21 -0
  64. package/src/components/OnairosAppButton.jsx +85 -0
  65. package/src/components/OnairosSSO.jsx +645 -0
  66. package/src/components/OnairosTrigger.jsx +61 -0
  67. package/src/components/PerplexityLogo.jsx +43 -0
  68. package/src/components/PinSetup.js +200 -0
  69. package/src/components/PinSetup.jsx +228 -0
  70. package/src/components/SDK_PIN_INTEGRATION_REQUIRED_CHANGES.md +526 -0
  71. package/src/components/SdkErrorBoundary.jsx +36 -0
  72. package/src/components/SecuritySetup.js +81 -0
  73. package/src/components/SessionUserBar.jsx +83 -0
  74. package/src/components/SignUp.js +123 -0
  75. package/src/components/TestTelegramButton.js +53 -0
  76. package/src/components/TrainingComponent.jsx +200 -0
  77. package/src/components/TrainingScreen.jsx +897 -0
  78. package/src/components/UniversalOnboarding.js +306 -0
  79. package/src/components/UniversalOnboarding.jsx +4837 -0
  80. package/src/components/ValentineLoadingPage.jsx +502 -0
  81. package/src/components/ValentineModeSelector.jsx +162 -0
  82. package/src/components/WelcomeScreen.jsx +435 -0
  83. package/src/components/WrappedLoadingPage.jsx +205 -0
  84. package/src/components/connectors/ChatGPTConnector.js +348 -0
  85. package/src/components/connectors/ChatGPTConnector.jsx +348 -0
  86. package/src/components/connectors/ClaudeConnector.js +44 -0
  87. package/src/components/connectors/ClaudeConnector.jsx +44 -0
  88. package/src/components/connectors/GeminiConnector.js +170 -0
  89. package/src/components/connectors/GeminiConnector.jsx +170 -0
  90. package/src/components/connectors/GmailConnector.js +148 -0
  91. package/src/components/connectors/GmailConnector.jsx +148 -0
  92. package/src/components/connectors/GrokConnector.js +16 -0
  93. package/src/components/connectors/GrokConnector.jsx +16 -0
  94. package/src/components/connectors/HingeConnector.js +419 -0
  95. package/src/components/connectors/HingeConnector.jsx +419 -0
  96. package/src/components/connectors/InstagramDataConnector.js +726 -0
  97. package/src/components/connectors/InstagramDataConnector.jsx +726 -0
  98. package/src/components/connectors/LinkedInConnector.js +4 -0
  99. package/src/components/connectors/LinkedInConnector.jsx +296 -0
  100. package/src/components/connectors/PerplexityConnector.jsx +16 -0
  101. package/src/components/connectors/PinterestConnector.js +208 -0
  102. package/src/components/connectors/PinterestConnector.jsx +208 -0
  103. package/src/components/connectors/README.md +292 -0
  104. package/src/components/connectors/RedditConnector.js +229 -0
  105. package/src/components/connectors/RedditConnector.jsx +229 -0
  106. package/src/components/connectors/SephoraConnector.js +482 -0
  107. package/src/components/connectors/SephoraConnector.jsx +482 -0
  108. package/src/components/connectors/TikTokConnector.jsx +430 -0
  109. package/src/components/connectors/YoutubeConnector.js +361 -0
  110. package/src/components/connectors/YoutubeConnector.jsx +361 -0
  111. package/src/components/connectors/index.js +50 -0
  112. package/src/components/icons.jsx +46 -0
  113. package/src/components/icons.tsx +21 -0
  114. package/src/components/ui/PageLayout.jsx +1255 -0
  115. package/src/components/ui/PrimaryButton.jsx +162 -0
  116. package/src/components/ui/button.jsx +49 -0
  117. package/src/components/ui/card.jsx +61 -0
  118. package/src/components/ui/checkbox.jsx +33 -0
  119. package/src/components/ui/label.jsx +29 -0
  120. package/src/components/utils/UpdateConnections.js +45 -0
  121. package/src/components/utils/oauthHelper.js +97 -0
  122. package/src/config/api-config.js +138 -0
  123. package/src/deepLink.jsx +38 -0
  124. package/src/getPin.js +26 -0
  125. package/src/icons/Avatar.png +0 -0
  126. package/src/icons/Sentiment.png +0 -0
  127. package/src/icons/Trait.png +0 -0
  128. package/src/iframe/DataRequestPage.jsx +285 -0
  129. package/src/iframe/OnairosButtonIntegration.md +148 -0
  130. package/src/iframe/components/Box.jsx +56 -0
  131. package/src/iframe/components/IndividualConnection.jsx +88 -0
  132. package/src/iframe/dataRequestHandler.js +714 -0
  133. package/src/iframe/data_request_iframe.html +27 -0
  134. package/src/iframe/data_request_page.js +47 -0
  135. package/src/iframe/icons/Avatar.png +1 -0
  136. package/src/iframe/icons/Avatar2.png +1 -0
  137. package/src/iframe/icons/Sentiment.png +1 -0
  138. package/src/iframe/icons/Trait.png +1 -0
  139. package/src/iframe/icons/onairos_logo.png +0 -0
  140. package/src/iframe/utils/api.js +57 -0
  141. package/src/index.js +274 -0
  142. package/src/laravel/OnairosVue.vue +410 -0
  143. package/src/laravel/blade-helpers.js +320 -0
  144. package/src/laravel/vite-plugin.js +179 -0
  145. package/src/mobile/MobileDataRequestPage.jsx +233 -0
  146. package/src/mobile/components/MobileBox.jsx +71 -0
  147. package/src/mobile/components/MobileIndividualConnection.jsx +51 -0
  148. package/src/mobile/shims/browser-apis.js +78 -0
  149. package/src/mobile/shims/lucide-shim.js +85 -0
  150. package/src/nativeConnectors.js +5 -0
  151. package/src/newUI/EMAIL_VERIFICATION_API_SCHEMA.md +268 -0
  152. package/src/newUI/PlatformConnectorsStep.tsx +435 -0
  153. package/src/newUI/PrimaryButton.tsx +213 -0
  154. package/src/newUI/SignInStep.tsx +194 -0
  155. package/src/newUI/VerificationStep.tsx +133 -0
  156. package/src/newUI/WelcomeScreen.tsx +311 -0
  157. package/src/newUI/services/connectedAccountsService.js +129 -0
  158. package/src/onairos.capacitor.jsx +15 -0
  159. package/src/onairos.core.jsx +133 -0
  160. package/src/onairos.jsx +14 -0
  161. package/src/onairos.native.jsx +15 -0
  162. package/src/onairosButton.jsx +9000 -0
  163. package/src/overlay/CheckBox.jsx +114 -0
  164. package/src/overlay/IndividualConnection copy.js +86 -0
  165. package/src/overlay/IndividualConnection.js +191 -0
  166. package/src/overlay/IndividualConnectionNew.jsx +157 -0
  167. package/src/overlay/box.js +84 -0
  168. package/src/overlay/overlay.js +437 -0
  169. package/src/styles/onairos-scoped-preflight.css +97 -0
  170. package/src/styles/sdkCssRegistry.js +20 -0
  171. package/src/styles/styleLoaderInsertShadow.js +69 -0
  172. package/src/styles/tailwind.capacitor.css +395 -0
  173. package/src/styles/tailwind.css +395 -0
  174. package/src/theme/colors.js +40 -0
  175. package/src/utils/apiKeyValidation.js +341 -0
  176. package/src/utils/apiResponseLogger.js +316 -0
  177. package/src/utils/authHeaders.js +275 -0
  178. package/src/utils/biometrics.js +26 -0
  179. package/src/utils/bookmarkletUtils.js +28 -0
  180. package/src/utils/capacitorDetection.js +278 -0
  181. package/src/utils/capacitorLLMHelper.js +352 -0
  182. package/src/utils/capacitorPlugins.js +366 -0
  183. package/src/utils/crossDomainSSO.js +587 -0
  184. package/src/utils/deepLinking.js +27 -0
  185. package/src/utils/devLogger.js +46 -0
  186. package/src/utils/extensionDetection.js +418 -0
  187. package/src/utils/extractMemory.js +277 -0
  188. package/src/utils/framerBrandingOverrides.js +40 -0
  189. package/src/utils/googleWebClientId.js +55 -0
  190. package/src/utils/overlayHandler.js +224 -0
  191. package/src/utils/platformDisconnect.js +309 -0
  192. package/src/utils/pollTrainingStatus.js +200 -0
  193. package/src/utils/rawMemoriesAccess.js +211 -0
  194. package/src/utils/resolveBackendAppId.js +47 -0
  195. package/src/utils/responseFormatter.js +140 -0
  196. package/src/utils/sdkDebugStorage.js +113 -0
  197. package/src/utils/sdkInitialization.js +645 -0
  198. package/src/utils/sessionManager.js +1258 -0
  199. package/src/utils/startBackgroundTraining.js +100 -0
  200. package/src/utils/userDataFormatter.js +222 -0
  201. package/index.d.ts +0 -1
  202. package/index.js +0 -1
@@ -0,0 +1,395 @@
1
+ /* Capacitor-safe SDK styles:
2
+ * - Full Tailwind (including preflight), but preflight is scoped to `.onairos-modal`
3
+ * by a Capacitor-only PostCSS transform (see `webpack.config.js`).
4
+ */
5
+
6
+ @import "tailwindcss";
7
+
8
+ /*
9
+ * CRITICAL: Exclude folders from Tailwind content scanning that may contain
10
+ * obfuscated JavaScript. The obfuscator splits strings like:
11
+ * 'z-[2147483'+'647]'
12
+ * which Tailwind incorrectly picks up as utility classes, causing malformed CSS.
13
+ */
14
+ @source not "../../dist";
15
+ @source not "../../dist.*";
16
+ @source not "../../node_modules";
17
+
18
+ /* NOTE: Everything below mirrors `src/styles/tailwind.css` so the SDK UI matches web. */
19
+
20
+ /* Wrapped-only typography (loaded from Google Fonts) */
21
+ @import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');
22
+
23
+ @theme {
24
+ /* Custom theme variables for Onairos SDK */
25
+ --font-display: "IBM Plex Sans", "Inter", "system-ui", "sans-serif";
26
+ --font-body: "Inter", "system-ui", "sans-serif";
27
+ --font-mono: "SF Mono", "Monaco", "Inconsolata", "Roboto Mono", "monospace";
28
+
29
+ /* Custom breakpoints */
30
+ --breakpoint-3xl: 1920px;
31
+
32
+ /* Onairos brand colors */
33
+ --color-onairos-primary: #3B82F6;
34
+ --color-onairos-secondary: #1E40AF;
35
+ --color-onairos-accent: #06B6D4;
36
+
37
+ /* Enhanced spacing scale for component spacing */
38
+ --spacing-18: 4.5rem;
39
+ --spacing-88: 22rem;
40
+
41
+ /* Custom easing functions */
42
+ --ease-fluid: cubic-bezier(0.3, 0, 0, 1);
43
+ --ease-snappy: cubic-bezier(0.2, 0, 0, 1);
44
+ }
45
+
46
+ /* Custom utilities for Onairos SDK */
47
+ @utility btn-onairos {
48
+ display: inline-flex;
49
+ align-items: center;
50
+ justify-content: center;
51
+ border-radius: 0.5rem;
52
+ padding: 0.5rem 1rem;
53
+ font-weight: 600;
54
+ transition: all 0.2s ease-in-out;
55
+ background-color: var(--color-onairos-primary);
56
+ color: white;
57
+ }
58
+
59
+ .btn-onairos:hover {
60
+ background-color: var(--color-onairos-secondary);
61
+ transform: translateY(-1px);
62
+ }
63
+
64
+ @utility card-onairos {
65
+ background-color: white;
66
+ border-radius: 0.75rem;
67
+ box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
68
+ padding: 1.5rem;
69
+ border: 1px solid rgb(229 231 235);
70
+ }
71
+
72
+ @utility loading-spinner {
73
+ display: inline-block;
74
+ width: 1rem;
75
+ height: 1rem;
76
+ border: 2px solid transparent;
77
+ border-top: 2px solid currentColor;
78
+ border-radius: 50%;
79
+ animation: spin 1s linear infinite;
80
+ }
81
+
82
+ @keyframes spin {
83
+ to {
84
+ transform: rotate(360deg);
85
+ }
86
+ }
87
+
88
+ /* ============================================================================
89
+ Modal Animations - Smooth enter/exit
90
+ ============================================================================ */
91
+ @keyframes onairos-modal-enter {
92
+ 0% {
93
+ opacity: 0;
94
+ transform: scale(0.95) translateY(10px);
95
+ }
96
+ 100% {
97
+ opacity: 1;
98
+ transform: scale(1) translateY(0);
99
+ }
100
+ }
101
+
102
+ @keyframes onairos-modal-exit {
103
+ 0% {
104
+ opacity: 1;
105
+ transform: scale(1) translateY(0);
106
+ }
107
+ 100% {
108
+ opacity: 0;
109
+ transform: scale(0.95) translateY(10px);
110
+ }
111
+ }
112
+
113
+ @keyframes onairos-backdrop-enter {
114
+ 0% {
115
+ opacity: 0;
116
+ }
117
+ 100% {
118
+ opacity: 1;
119
+ }
120
+ }
121
+
122
+ @keyframes onairos-backdrop-exit {
123
+ 0% {
124
+ opacity: 1;
125
+ }
126
+ 100% {
127
+ opacity: 0;
128
+ }
129
+ }
130
+
131
+ /* Screen transition animations */
132
+ @keyframes onairos-screen-enter {
133
+ 0% {
134
+ opacity: 0;
135
+ transform: translateX(12px);
136
+ }
137
+ 100% {
138
+ opacity: 1;
139
+ transform: translateX(0);
140
+ }
141
+ }
142
+
143
+ @keyframes onairos-screen-enter-back {
144
+ 0% {
145
+ opacity: 0;
146
+ transform: translateX(-12px);
147
+ }
148
+ 100% {
149
+ opacity: 1;
150
+ transform: translateX(0);
151
+ }
152
+ }
153
+
154
+ @keyframes onairos-screen-fade {
155
+ 0% {
156
+ opacity: 0;
157
+ transform: scale(0.98);
158
+ }
159
+ 100% {
160
+ opacity: 1;
161
+ transform: scale(1);
162
+ }
163
+ }
164
+
165
+ /* Animation classes */
166
+ .onairos-modal-animate-in {
167
+ animation: onairos-modal-enter 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
168
+ }
169
+
170
+ .onairos-backdrop-animate-in {
171
+ animation: onairos-backdrop-enter 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
172
+ }
173
+
174
+ .onairos-modal-animate-out {
175
+ animation: onairos-modal-exit 0.3s cubic-bezier(0.4, 0, 1, 1) forwards;
176
+ will-change: transform, opacity;
177
+ }
178
+
179
+ .onairos-backdrop-animate-out {
180
+ animation: onairos-backdrop-exit 0.3s cubic-bezier(0.4, 0, 1, 1) forwards;
181
+ }
182
+
183
+ .onairos-screen-transition {
184
+ animation: onairos-screen-fade 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
185
+ }
186
+
187
+ .onairos-screen-slide-in {
188
+ animation: onairos-screen-enter 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
189
+ }
190
+
191
+ .onairos-screen-slide-back {
192
+ animation: onairos-screen-enter-back 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
193
+ }
194
+
195
+ /* ============================================================================
196
+ Onairos Modal Animated Gradient Border
197
+ - Creates a soft, radiant rotating glow effect around the modal
198
+ - Purple to blue to cyan gradient (matching OnairosTerminal)
199
+ ============================================================================ */
200
+ @keyframes onairos-border-rotate {
201
+ 0% {
202
+ --angle: 0deg;
203
+ }
204
+ 100% {
205
+ --angle: 360deg;
206
+ }
207
+ }
208
+
209
+ @keyframes onairos-glow-breathe {
210
+ 0%, 100% {
211
+ opacity: 0.4;
212
+ transform: scale(1);
213
+ }
214
+ 50% {
215
+ opacity: 0.55;
216
+ transform: scale(1.01);
217
+ }
218
+ }
219
+
220
+ @property --angle {
221
+ syntax: '<angle>';
222
+ initial-value: 0deg;
223
+ inherits: false;
224
+ }
225
+
226
+ /* Modal wrapper - just positions the glow layers */
227
+ .onairos-modal-gradient-border {
228
+ position: relative;
229
+ }
230
+
231
+ /* Soft outer glow - largest and most diffused */
232
+ /* Colors matching Onairos Persona: Orange-Red → Coral → Purple → Blue */
233
+ /* #FF6B4A (orange-red) → #F4845F (coral) → #A78BDE (lavender) → #6B8DD6 (periwinkle) → #5B8FE8 (blue) */
234
+ .onairos-modal-glow {
235
+ position: absolute;
236
+ inset: -20px;
237
+ border-radius: 44px;
238
+ background: conic-gradient(
239
+ from var(--angle, 0deg),
240
+ rgba(255, 107, 74, 0.4),
241
+ rgba(244, 132, 95, 0.4),
242
+ rgba(167, 139, 222, 0.4),
243
+ rgba(107, 141, 214, 0.45),
244
+ rgba(91, 143, 232, 0.4),
245
+ rgba(107, 141, 214, 0.45),
246
+ rgba(167, 139, 222, 0.4),
247
+ rgba(244, 132, 95, 0.4),
248
+ rgba(255, 107, 74, 0.4)
249
+ );
250
+ animation:
251
+ onairos-border-rotate 4s linear infinite,
252
+ onairos-glow-breathe 3s ease-in-out infinite;
253
+ z-index: -1;
254
+ filter: blur(35px);
255
+ opacity: 0.55;
256
+ }
257
+
258
+ /* Middle glow layer - medium diffusion */
259
+ .onairos-modal-glow::before {
260
+ content: '';
261
+ position: absolute;
262
+ inset: 8px;
263
+ border-radius: 36px;
264
+ background: conic-gradient(
265
+ from var(--angle, 0deg),
266
+ rgba(255, 107, 74, 0.3),
267
+ rgba(244, 132, 95, 0.3),
268
+ rgba(167, 139, 222, 0.3),
269
+ rgba(107, 141, 214, 0.35),
270
+ rgba(91, 143, 232, 0.3),
271
+ rgba(107, 141, 214, 0.35),
272
+ rgba(167, 139, 222, 0.3),
273
+ rgba(244, 132, 95, 0.3),
274
+ rgba(255, 107, 74, 0.3)
275
+ );
276
+ filter: blur(25px);
277
+ animation: onairos-border-rotate 4s linear infinite;
278
+ }
279
+
280
+ /* Inner glow layer - closest to modal, softer */
281
+ .onairos-modal-glow::after {
282
+ content: '';
283
+ position: absolute;
284
+ inset: 14px;
285
+ border-radius: 30px;
286
+ background: conic-gradient(
287
+ from var(--angle, 0deg),
288
+ rgba(255, 107, 74, 0.22),
289
+ rgba(244, 132, 95, 0.22),
290
+ rgba(167, 139, 222, 0.22),
291
+ rgba(107, 141, 214, 0.25),
292
+ rgba(91, 143, 232, 0.22),
293
+ rgba(107, 141, 214, 0.25),
294
+ rgba(167, 139, 222, 0.22),
295
+ rgba(244, 132, 95, 0.22),
296
+ rgba(255, 107, 74, 0.22)
297
+ );
298
+ filter: blur(15px);
299
+ animation: onairos-border-rotate 4s linear infinite;
300
+ }
301
+
302
+ /* Alternative: Shimmer/sweep effect */
303
+ @keyframes onairos-shimmer {
304
+ 0% {
305
+ background-position: -200% center;
306
+ }
307
+ 100% {
308
+ background-position: 200% center;
309
+ }
310
+ }
311
+
312
+ .onairos-modal-shimmer-border {
313
+ position: relative;
314
+ }
315
+
316
+ .onairos-modal-shimmer-border::before {
317
+ content: '';
318
+ position: absolute;
319
+ inset: -15px;
320
+ border-radius: 40px;
321
+ background: linear-gradient(
322
+ 90deg,
323
+ transparent 0%,
324
+ rgba(124, 58, 237, 0.25) 20%,
325
+ rgba(59, 130, 246, 0.35) 50%,
326
+ rgba(124, 58, 237, 0.25) 80%,
327
+ transparent 100%
328
+ );
329
+ background-size: 200% 100%;
330
+ animation: onairos-shimmer 3s ease-in-out infinite;
331
+ filter: blur(25px);
332
+ z-index: -1;
333
+ }
334
+
335
+ /* DESKTOP ONLY – do NOT affect capacitor/mobile */
336
+ @media (min-width: 1024px) {
337
+ /* Keep desktop content close to the older main-branch proportions. */
338
+ .onairos-modal[data-onairos-sheet="false"] .onairos-page-content {
339
+ max-width: 560px;
340
+ width: 90%;
341
+ margin: 0 auto;
342
+ /* Hide scrollbars visually but allow scrolling if absolutely needed */
343
+ scrollbar-width: none; /* Firefox */
344
+ -ms-overflow-style: none; /* IE and Edge */
345
+ }
346
+
347
+ .onairos-modal[data-onairos-sheet="false"] .onairos-page-content::-webkit-scrollbar {
348
+ display: none; /* Chrome, Safari and Opera */
349
+ }
350
+
351
+ /* Optional shell if present (current implementation) */
352
+ .onairos-modal[data-onairos-sheet="false"] .onairos-modal-shell {
353
+ max-width: 560px;
354
+ width: 90%;
355
+ margin: 0 auto;
356
+ height: 100%;
357
+ display: flex;
358
+ flex-direction: column;
359
+ /* Ensure no double scrolling */
360
+ overflow: hidden;
361
+ }
362
+
363
+ .onairos-modal[data-onairos-sheet="false"] .onairos-modal-shell > * {
364
+ max-width: 100% !important;
365
+ margin: 0 auto;
366
+ }
367
+
368
+ /* Ensure the modal container itself doesn't go full width */
369
+ .onairos-modal[data-onairos-sheet="false"] {
370
+ max-width: 560px !important;
371
+ width: 90% !important;
372
+ margin: 0 auto !important;
373
+ }
374
+ }
375
+
376
+ /* ============================================================================
377
+ Wrapped app typography
378
+ - Headings: IBM Plex Sans (fontHeading)
379
+ - Body: Inter (fontBody)
380
+ Applied ONLY when modal has class .onairos-wrapped-fonts (set by OnairosButton).
381
+ ============================================================================ */
382
+ .onairos-wrapped-fonts {
383
+ --fontHeading: "IBM Plex Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
384
+ --fontBody: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
385
+ font-family: var(--fontBody);
386
+ }
387
+
388
+ .onairos-wrapped-fonts h1,
389
+ .onairos-wrapped-fonts h2,
390
+ .onairos-wrapped-fonts h3,
391
+ .onairos-wrapped-fonts h4,
392
+ .onairos-wrapped-fonts h5,
393
+ .onairos-wrapped-fonts h6 {
394
+ font-family: var(--fontHeading);
395
+ }