@abstraxn/signer-react 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 (178) hide show
  1. package/README.md +114 -0
  2. package/dist/src/AbstraxnProvider.d.ts +9 -0
  3. package/dist/src/AbstraxnProvider.js +21 -0
  4. package/dist/src/AbstraxnProvider.js.map +1 -0
  5. package/dist/src/ConnectButton.css +217 -0
  6. package/dist/src/ConnectButton.d.ts +71 -0
  7. package/dist/src/ConnectButton.js +102 -0
  8. package/dist/src/ConnectButton.js.map +1 -0
  9. package/dist/src/ExternalWalletButtons.css +319 -0
  10. package/dist/src/ExternalWalletButtons.d.ts +56 -0
  11. package/dist/src/ExternalWalletButtons.js +272 -0
  12. package/dist/src/ExternalWalletButtons.js.map +1 -0
  13. package/dist/src/OnboardingUI.d.ts +63 -0
  14. package/dist/src/OnboardingUI.js +66 -0
  15. package/dist/src/OnboardingUI.js.map +1 -0
  16. package/dist/src/WalletModal.css +2319 -0
  17. package/dist/src/WalletModal.d.ts +7 -0
  18. package/dist/src/WalletModal.js +322 -0
  19. package/dist/src/WalletModal.js.map +1 -0
  20. package/dist/src/chains.d.ts +56 -0
  21. package/dist/src/chains.js +291 -0
  22. package/dist/src/chains.js.map +1 -0
  23. package/dist/src/components/AbstraxnProvider/AbstraxnProvider.d.ts +12 -0
  24. package/dist/src/components/AbstraxnProvider/AbstraxnProvider.js +146 -0
  25. package/dist/src/components/AbstraxnProvider/AbstraxnProvider.js.map +1 -0
  26. package/dist/src/components/AbstraxnProvider/AbstraxnProviderInner.d.ts +25 -0
  27. package/dist/src/components/AbstraxnProvider/AbstraxnProviderInner.js +3086 -0
  28. package/dist/src/components/AbstraxnProvider/AbstraxnProviderInner.js.map +1 -0
  29. package/dist/src/components/AbstraxnProvider/AbstraxnProviderWithWagmi.d.ts +8 -0
  30. package/dist/src/components/AbstraxnProvider/AbstraxnProviderWithWagmi.js +46 -0
  31. package/dist/src/components/AbstraxnProvider/AbstraxnProviderWithWagmi.js.map +1 -0
  32. package/dist/src/components/AbstraxnProvider/AbstraxnProviderWithoutWagmi.d.ts +8 -0
  33. package/dist/src/components/AbstraxnProvider/AbstraxnProviderWithoutWagmi.js +12 -0
  34. package/dist/src/components/AbstraxnProvider/AbstraxnProviderWithoutWagmi.js.map +1 -0
  35. package/dist/src/components/AbstraxnProvider/context.d.ts +2 -0
  36. package/dist/src/components/AbstraxnProvider/context.js +6 -0
  37. package/dist/src/components/AbstraxnProvider/context.js.map +1 -0
  38. package/dist/src/components/AbstraxnProvider/index.d.ts +6 -0
  39. package/dist/src/components/AbstraxnProvider/index.js +7 -0
  40. package/dist/src/components/AbstraxnProvider/index.js.map +1 -0
  41. package/dist/src/components/AbstraxnProvider/useAbstraxnProviderBase.d.ts +30 -0
  42. package/dist/src/components/AbstraxnProvider/useAbstraxnProviderBase.js +49 -0
  43. package/dist/src/components/AbstraxnProvider/useAbstraxnProviderBase.js.map +1 -0
  44. package/dist/src/components/AbstraxnProvider/useAbstraxnWallet.d.ts +2 -0
  45. package/dist/src/components/AbstraxnProvider/useAbstraxnWallet.js +13 -0
  46. package/dist/src/components/AbstraxnProvider/useAbstraxnWallet.js.map +1 -0
  47. package/dist/src/components/AbstraxnProvider/useOAuthCallbacks.d.ts +22 -0
  48. package/dist/src/components/AbstraxnProvider/useOAuthCallbacks.js +242 -0
  49. package/dist/src/components/AbstraxnProvider/useOAuthCallbacks.js.map +1 -0
  50. package/dist/src/components/AbstraxnProvider/useWalletInitialization.d.ts +25 -0
  51. package/dist/src/components/AbstraxnProvider/useWalletInitialization.js +539 -0
  52. package/dist/src/components/AbstraxnProvider/useWalletInitialization.js.map +1 -0
  53. package/dist/src/components/AbstraxnProvider/utils.d.ts +41 -0
  54. package/dist/src/components/AbstraxnProvider/utils.js +139 -0
  55. package/dist/src/components/AbstraxnProvider/utils.js.map +1 -0
  56. package/dist/src/components/OnboardingUI/OnboardingUI.css +1062 -0
  57. package/dist/src/components/OnboardingUI/OnboardingUIReact.d.ts +15 -0
  58. package/dist/src/components/OnboardingUI/OnboardingUIReact.js +318 -0
  59. package/dist/src/components/OnboardingUI/OnboardingUIReact.js.map +1 -0
  60. package/dist/src/components/OnboardingUI/OnboardingUIWeb.d.ts +265 -0
  61. package/dist/src/components/OnboardingUI/OnboardingUIWeb.js +3782 -0
  62. package/dist/src/components/OnboardingUI/OnboardingUIWeb.js.map +1 -0
  63. package/dist/src/components/OnboardingUI/components/EmailForm.d.ts +16 -0
  64. package/dist/src/components/OnboardingUI/components/EmailForm.js +27 -0
  65. package/dist/src/components/OnboardingUI/components/EmailForm.js.map +1 -0
  66. package/dist/src/components/OnboardingUI/components/Modal.d.ts +14 -0
  67. package/dist/src/components/OnboardingUI/components/Modal.js +61 -0
  68. package/dist/src/components/OnboardingUI/components/Modal.js.map +1 -0
  69. package/dist/src/components/OnboardingUI/components/OtpForm.d.ts +20 -0
  70. package/dist/src/components/OnboardingUI/components/OtpForm.js +72 -0
  71. package/dist/src/components/OnboardingUI/components/OtpForm.js.map +1 -0
  72. package/dist/src/components/OnboardingUI/components/PasskeyButton.d.ts +14 -0
  73. package/dist/src/components/OnboardingUI/components/PasskeyButton.js +22 -0
  74. package/dist/src/components/OnboardingUI/components/PasskeyButton.js.map +1 -0
  75. package/dist/src/components/OnboardingUI/components/SocialButtons.d.ts +15 -0
  76. package/dist/src/components/OnboardingUI/components/SocialButtons.js +20 -0
  77. package/dist/src/components/OnboardingUI/components/SocialButtons.js.map +1 -0
  78. package/dist/src/components/OnboardingUI/components/index.d.ts +13 -0
  79. package/dist/src/components/OnboardingUI/components/index.js +9 -0
  80. package/dist/src/components/OnboardingUI/components/index.js.map +1 -0
  81. package/dist/src/components/OnboardingUI/hooks/index.d.ts +7 -0
  82. package/dist/src/components/OnboardingUI/hooks/index.js +6 -0
  83. package/dist/src/components/OnboardingUI/hooks/index.js.map +1 -0
  84. package/dist/src/components/OnboardingUI/hooks/useAuthMethods.d.ts +11 -0
  85. package/dist/src/components/OnboardingUI/hooks/useAuthMethods.js +243 -0
  86. package/dist/src/components/OnboardingUI/hooks/useAuthMethods.js.map +1 -0
  87. package/dist/src/components/OnboardingUI/hooks/useOnboarding.d.ts +21 -0
  88. package/dist/src/components/OnboardingUI/hooks/useOnboarding.js +153 -0
  89. package/dist/src/components/OnboardingUI/hooks/useOnboarding.js.map +1 -0
  90. package/dist/src/components/OnboardingUI/index.d.ts +12 -0
  91. package/dist/src/components/OnboardingUI/index.js +15 -0
  92. package/dist/src/components/OnboardingUI/index.js.map +1 -0
  93. package/dist/src/components/QRCode.d.ts +13 -0
  94. package/dist/src/components/QRCode.js +6 -0
  95. package/dist/src/components/QRCode.js.map +1 -0
  96. package/dist/src/components/WalletModal/components/ChainSelector.css +327 -0
  97. package/dist/src/components/WalletModal/components/ChainSelector.d.ts +11 -0
  98. package/dist/src/components/WalletModal/components/ChainSelector.js +75 -0
  99. package/dist/src/components/WalletModal/components/ChainSelector.js.map +1 -0
  100. package/dist/src/components/WalletModal/components/ExportKeyModal.css +134 -0
  101. package/dist/src/components/WalletModal/components/ExportKeyModal.d.ts +14 -0
  102. package/dist/src/components/WalletModal/components/ExportKeyModal.js +26 -0
  103. package/dist/src/components/WalletModal/components/ExportKeyModal.js.map +1 -0
  104. package/dist/src/components/WalletModal/components/ExportWarningModal.css +107 -0
  105. package/dist/src/components/WalletModal/components/ExportWarningModal.d.ts +17 -0
  106. package/dist/src/components/WalletModal/components/ExportWarningModal.js +20 -0
  107. package/dist/src/components/WalletModal/components/ExportWarningModal.js.map +1 -0
  108. package/dist/src/components/WalletModal/components/ManageWalletModal.css +246 -0
  109. package/dist/src/components/WalletModal/components/ManageWalletModal.d.ts +12 -0
  110. package/dist/src/components/WalletModal/components/ManageWalletModal.js +36 -0
  111. package/dist/src/components/WalletModal/components/ManageWalletModal.js.map +1 -0
  112. package/dist/src/components/WalletModal/components/PreviewTransactionModal.css +127 -0
  113. package/dist/src/components/WalletModal/components/PreviewTransactionModal.d.ts +17 -0
  114. package/dist/src/components/WalletModal/components/PreviewTransactionModal.js +10 -0
  115. package/dist/src/components/WalletModal/components/PreviewTransactionModal.js.map +1 -0
  116. package/dist/src/components/WalletModal/components/ReceiveModal.css +136 -0
  117. package/dist/src/components/WalletModal/components/ReceiveModal.d.ts +8 -0
  118. package/dist/src/components/WalletModal/components/ReceiveModal.js +22 -0
  119. package/dist/src/components/WalletModal/components/ReceiveModal.js.map +1 -0
  120. package/dist/src/components/WalletModal/components/SendModal.css +277 -0
  121. package/dist/src/components/WalletModal/components/SendModal.d.ts +16 -0
  122. package/dist/src/components/WalletModal/components/SendModal.js +219 -0
  123. package/dist/src/components/WalletModal/components/SendModal.js.map +1 -0
  124. package/dist/src/components/WalletModal/components/SuccessModal.css +85 -0
  125. package/dist/src/components/WalletModal/components/SuccessModal.d.ts +13 -0
  126. package/dist/src/components/WalletModal/components/SuccessModal.js +8 -0
  127. package/dist/src/components/WalletModal/components/SuccessModal.js.map +1 -0
  128. package/dist/src/components/WalletModal/components/TokenSelectorModal.css +240 -0
  129. package/dist/src/components/WalletModal/components/TokenSelectorModal.d.ts +21 -0
  130. package/dist/src/components/WalletModal/components/TokenSelectorModal.js +44 -0
  131. package/dist/src/components/WalletModal/components/TokenSelectorModal.js.map +1 -0
  132. package/dist/src/components/WalletModal/components/UserAvatar.d.ts +9 -0
  133. package/dist/src/components/WalletModal/components/UserAvatar.js +31 -0
  134. package/dist/src/components/WalletModal/components/UserAvatar.js.map +1 -0
  135. package/dist/src/components/WalletModal/components/index.d.ts +23 -0
  136. package/dist/src/components/WalletModal/components/index.js +14 -0
  137. package/dist/src/components/WalletModal/components/index.js.map +1 -0
  138. package/dist/src/components/WalletModal/hooks/index.d.ts +6 -0
  139. package/dist/src/components/WalletModal/hooks/index.js +7 -0
  140. package/dist/src/components/WalletModal/hooks/index.js.map +1 -0
  141. package/dist/src/components/WalletModal/hooks/useAddressValidation.d.ts +4 -0
  142. package/dist/src/components/WalletModal/hooks/useAddressValidation.js +17 -0
  143. package/dist/src/components/WalletModal/hooks/useAddressValidation.js.map +1 -0
  144. package/dist/src/components/WalletModal/hooks/useAmountValidation.d.ts +4 -0
  145. package/dist/src/components/WalletModal/hooks/useAmountValidation.js +29 -0
  146. package/dist/src/components/WalletModal/hooks/useAmountValidation.js.map +1 -0
  147. package/dist/src/components/WalletModal/hooks/useSendTransaction.d.ts +20 -0
  148. package/dist/src/components/WalletModal/hooks/useSendTransaction.js +55 -0
  149. package/dist/src/components/WalletModal/hooks/useSendTransaction.js.map +1 -0
  150. package/dist/src/components/WalletModal/index.d.ts +5 -0
  151. package/dist/src/components/WalletModal/index.js +7 -0
  152. package/dist/src/components/WalletModal/index.js.map +1 -0
  153. package/dist/src/components/WalletModal/utils/addressUtils.d.ts +19 -0
  154. package/dist/src/components/WalletModal/utils/addressUtils.js +62 -0
  155. package/dist/src/components/WalletModal/utils/addressUtils.js.map +1 -0
  156. package/dist/src/components/WalletModal/utils/formatUtils.d.ts +20 -0
  157. package/dist/src/components/WalletModal/utils/formatUtils.js +47 -0
  158. package/dist/src/components/WalletModal/utils/formatUtils.js.map +1 -0
  159. package/dist/src/components/WalletModal/utils/index.d.ts +5 -0
  160. package/dist/src/components/WalletModal/utils/index.js +6 -0
  161. package/dist/src/components/WalletModal/utils/index.js.map +1 -0
  162. package/dist/src/connectors.d.ts +27 -0
  163. package/dist/src/connectors.js +70 -0
  164. package/dist/src/connectors.js.map +1 -0
  165. package/dist/src/hooks.d.ts +13136 -0
  166. package/dist/src/hooks.js +1358 -0
  167. package/dist/src/hooks.js.map +1 -0
  168. package/dist/src/index.d.ts +17 -0
  169. package/dist/src/index.js +14 -0
  170. package/dist/src/index.js.map +1 -0
  171. package/dist/src/types.d.ts +224 -0
  172. package/dist/src/types.js +2 -0
  173. package/dist/src/types.js.map +1 -0
  174. package/dist/src/wagmiConfig.d.ts +16 -0
  175. package/dist/src/wagmiConfig.js +103 -0
  176. package/dist/src/wagmiConfig.js.map +1 -0
  177. package/dist/tsconfig.tsbuildinfo +1 -0
  178. package/package.json +70 -0
@@ -0,0 +1,2319 @@
1
+ /* Wallet Modal Styles */
2
+
3
+ /* GeistSans Font */
4
+ @font-face {
5
+ font-family: 'GeistSans';
6
+ src: url('https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-sans/Geist-Regular.woff2') format('woff2');
7
+ font-weight: 400;
8
+ font-style: normal;
9
+ font-display: swap;
10
+ }
11
+
12
+ @font-face {
13
+ font-family: 'GeistSans';
14
+ src: url('https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-sans/Geist-Medium.woff2') format('woff2');
15
+ font-weight: 500;
16
+ font-style: normal;
17
+ font-display: swap;
18
+ }
19
+
20
+ @font-face {
21
+ font-family: 'GeistSans';
22
+ src: url('https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-sans/Geist-SemiBold.woff2') format('woff2');
23
+ font-weight: 600;
24
+ font-style: normal;
25
+ font-display: swap;
26
+ }
27
+
28
+ @font-face {
29
+ font-family: 'GeistSans';
30
+ src: url('https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-sans/Geist-Bold.woff2') format('woff2');
31
+ font-weight: 700;
32
+ font-style: normal;
33
+ font-display: swap;
34
+ }
35
+
36
+ @font-face {
37
+ font-family: 'GeistMono';
38
+ src: url('https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-mono/GeistMono-Regular.woff2') format('woff2');
39
+ font-weight: 400;
40
+ font-style: normal;
41
+ font-display: swap;
42
+ }
43
+
44
+ .wallet-modal-overlay {
45
+ position: fixed;
46
+ top: 0;
47
+ left: 0;
48
+ right: 0;
49
+ bottom: 0;
50
+ display: flex;
51
+ align-items: center;
52
+ justify-content: center;
53
+ z-index: 10000;
54
+ animation: fadeIn 0.2s ease-out;
55
+ font-family: 'GeistSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
56
+ will-change: opacity;
57
+ backface-visibility: hidden;
58
+ -webkit-backface-visibility: hidden;
59
+ transform: translateZ(0);
60
+ -webkit-transform: translateZ(0);
61
+ /* Theme variables (overridable via inline style from uiConfig.colors) */
62
+ --abstraxn-primary: #111827;
63
+ --abstraxn-primary-hover: #1f2937;
64
+ --abstraxn-primary-text: #ffffff;
65
+ }
66
+
67
+ /* Dark Theme (Default) */
68
+ .wallet-modal-overlay.wallet-modal-theme-dark {
69
+ background: rgba(0, 0, 0, 0.5);
70
+ --abstraxn-primary: #4b5563;
71
+ --abstraxn-primary-hover: #6b7280;
72
+ }
73
+
74
+ /* Light Theme */
75
+ .wallet-modal-overlay.wallet-modal-theme-light {
76
+ background: rgba(0, 0, 0, 0.3);
77
+ }
78
+
79
+ /* Shared primary button (uses theme variables above) */
80
+ .wallet-modal-primary-btn {
81
+ width: 100%;
82
+ padding: 14px 24px;
83
+ border-radius: 12px;
84
+ border: none;
85
+ font-size: 16px;
86
+ font-weight: 600;
87
+ cursor: pointer;
88
+ transition: all 0.2s;
89
+ background: var(--abstraxn-primary);
90
+ color: var(--abstraxn-primary-text);
91
+ }
92
+
93
+ .wallet-modal-primary-btn:hover:not(:disabled) {
94
+ background: var(--abstraxn-primary-hover);
95
+ transform: translateY(-1px);
96
+ }
97
+
98
+ .wallet-modal-primary-btn:disabled {
99
+ opacity: 0.6;
100
+ cursor: not-allowed;
101
+ }
102
+
103
+ .wallet-modal-content {
104
+ position: relative;
105
+ border-radius: 16px;
106
+ width: 90%;
107
+ max-width: 400px;
108
+ max-height: 90vh;
109
+ overflow-y: auto;
110
+ overflow-x: hidden;
111
+ padding: 24px;
112
+ animation: slideUp 0.3s ease-out;
113
+ display: flex;
114
+ flex-direction: column;
115
+ gap: 20px;
116
+ box-sizing: border-box;
117
+ font-family: 'GeistSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
118
+ font-size: 14px;
119
+ will-change: transform, opacity;
120
+ backface-visibility: hidden;
121
+ -webkit-backface-visibility: hidden;
122
+ transform: translate3d(0, 0, 0);
123
+ -webkit-transform: translate3d(0, 0, 0);
124
+ }
125
+
126
+ .wallet-modal-content.selector-open {
127
+ overflow: hidden;
128
+ }
129
+
130
+ /* Dark Theme Content */
131
+ .wallet-modal-content.wallet-modal-theme-dark {
132
+ background: #1a1a1a;
133
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
134
+ }
135
+
136
+ /* Light Theme Content */
137
+ .wallet-modal-content.wallet-modal-theme-light {
138
+ background: #ffffff;
139
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
140
+ border: 1px solid #e5e7eb;
141
+ }
142
+
143
+ @keyframes fadeIn {
144
+ from {
145
+ opacity: 0;
146
+ }
147
+ to {
148
+ opacity: 1;
149
+ }
150
+ }
151
+
152
+ @keyframes slideUp {
153
+ from {
154
+ transform: translate3d(0, 20px, 0);
155
+ opacity: 0;
156
+ }
157
+ to {
158
+ transform: translate3d(0, 0, 0);
159
+ opacity: 1;
160
+ }
161
+ }
162
+
163
+ /* Header */
164
+ .wallet-modal-header {
165
+ display: flex;
166
+ align-items: flex-start;
167
+ justify-content: space-between;
168
+ margin-bottom: 8px;
169
+ gap: 12px;
170
+ }
171
+
172
+ .wallet-modal-header-left {
173
+ display: flex;
174
+ align-items: center;
175
+ gap: 12px;
176
+ flex: 1;
177
+ min-width: 0;
178
+ }
179
+
180
+ .wallet-modal-user-info {
181
+ display: flex;
182
+ align-items: center;
183
+ gap: 12px;
184
+ flex: 1;
185
+ min-width: 0;
186
+ }
187
+
188
+ .wallet-modal-header-right {
189
+ display: flex;
190
+ align-items: center;
191
+ gap: 8px;
192
+ flex-shrink: 0;
193
+ }
194
+
195
+ .wallet-modal-avatar {
196
+ width: 48px;
197
+ height: 48px;
198
+ border-radius: 50%;
199
+ background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
200
+ display: flex;
201
+ align-items: center;
202
+ justify-content: center;
203
+ position: relative;
204
+ flex-shrink: 0;
205
+ }
206
+
207
+ .wallet-modal-theme-dark .wallet-modal-avatar {
208
+ background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
209
+ }
210
+
211
+ .wallet-modal-theme-light .wallet-modal-avatar {
212
+ background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
213
+ }
214
+
215
+ .wallet-modal-avatar svg {
216
+ display: block;
217
+ width: 32px;
218
+ height: 32px;
219
+ }
220
+
221
+ .wallet-modal-user-details {
222
+ display: flex;
223
+ flex-direction: column;
224
+ gap: 4px;
225
+ flex: 1;
226
+ min-width: 0;
227
+ text-align: left;
228
+ align-items: flex-start;
229
+ }
230
+
231
+ .wallet-modal-address {
232
+ font-size: 16px;
233
+ font-weight: 600;
234
+ display: flex;
235
+ align-items: center;
236
+ gap: 8px;
237
+ cursor: pointer;
238
+ transition: opacity 0.2s;
239
+ font-family: 'GeistMono', 'SF Mono', 'Monaco', 'Roboto Mono', monospace;
240
+ }
241
+
242
+ .wallet-modal-theme-dark .wallet-modal-address {
243
+ color: #ffffff;
244
+ }
245
+
246
+ .wallet-modal-theme-light .wallet-modal-address {
247
+ color: #111827;
248
+ }
249
+
250
+ .wallet-modal-address:hover {
251
+ opacity: 0.8;
252
+ }
253
+
254
+ .wallet-modal-copy-icon {
255
+ flex-shrink: 0;
256
+ transition: color 0.2s;
257
+ }
258
+
259
+ .wallet-modal-theme-dark .wallet-modal-copy-icon {
260
+ color: #9ca3af;
261
+ }
262
+
263
+ .wallet-modal-theme-light .wallet-modal-copy-icon {
264
+ color: #6b7280;
265
+ }
266
+
267
+ .wallet-modal-theme-dark .wallet-modal-address:hover .wallet-modal-copy-icon {
268
+ color: #ffffff;
269
+ }
270
+
271
+ .wallet-modal-theme-light .wallet-modal-address:hover .wallet-modal-copy-icon {
272
+ color: #111827;
273
+ }
274
+
275
+ .wallet-modal-copy-notification {
276
+ font-size: 12px;
277
+ font-weight: 500;
278
+ padding: 2px 6px;
279
+ border-radius: 4px;
280
+ flex-shrink: 0;
281
+ animation: fadeInOut 2s ease-in-out;
282
+ }
283
+
284
+ .wallet-modal-theme-dark .wallet-modal-copy-notification {
285
+ color: #10b981;
286
+ background: rgba(16, 185, 129, 0.1);
287
+ }
288
+
289
+ .wallet-modal-theme-light .wallet-modal-copy-notification {
290
+ color: #059669;
291
+ background: rgba(5, 150, 105, 0.1);
292
+ }
293
+
294
+ @keyframes fadeInOut {
295
+ 0% {
296
+ opacity: 0;
297
+ transform: scale(0.9);
298
+ }
299
+ 15% {
300
+ opacity: 1;
301
+ transform: scale(1);
302
+ }
303
+ 85% {
304
+ opacity: 1;
305
+ transform: scale(1);
306
+ }
307
+ 100% {
308
+ opacity: 0;
309
+ transform: scale(0.9);
310
+ }
311
+ }
312
+
313
+ .wallet-modal-email {
314
+ font-size: 14px;
315
+ overflow: hidden;
316
+ text-overflow: ellipsis;
317
+ white-space: nowrap;
318
+ text-align: left;
319
+ max-width: 100%;
320
+ }
321
+
322
+ .wallet-modal-theme-dark .wallet-modal-email {
323
+ color: #9ca3af;
324
+ }
325
+
326
+ .wallet-modal-theme-light .wallet-modal-email {
327
+ color: #6b7280;
328
+ }
329
+
330
+ .wallet-modal-close {
331
+ background: transparent;
332
+ border: none;
333
+ cursor: pointer;
334
+ padding: 8px;
335
+ display: flex;
336
+ align-items: center;
337
+ justify-content: center;
338
+ border-radius: 8px;
339
+ transition: all 0.2s;
340
+ flex-shrink: 0;
341
+ width: 40px;
342
+ height: 40px;
343
+ }
344
+
345
+ .wallet-modal-close:disabled {
346
+ opacity: 0.5;
347
+ cursor: not-allowed;
348
+ }
349
+
350
+ .wallet-modal-theme-dark .wallet-modal-close {
351
+ color: #9ca3af;
352
+ }
353
+
354
+ .wallet-modal-theme-light .wallet-modal-close {
355
+ color: #6b7280;
356
+ }
357
+
358
+ .wallet-modal-theme-dark .wallet-modal-close:hover {
359
+ background: #2a2a2a;
360
+ color: #ffffff;
361
+ }
362
+
363
+ .wallet-modal-theme-light .wallet-modal-close:hover {
364
+ background: #f3f4f6;
365
+ color: #111827;
366
+ }
367
+
368
+ /* Action Buttons */
369
+ .wallet-modal-actions {
370
+ display: grid;
371
+ grid-template-columns: repeat(3, 1fr);
372
+ gap: 12px;
373
+ margin-top: 8px;
374
+ }
375
+
376
+ .wallet-modal-action-btn {
377
+ border-radius: 12px;
378
+ padding: 12px 8px;
379
+ display: flex;
380
+ flex-direction: row;
381
+ align-items: center;
382
+ justify-content: center;
383
+ gap: 12px;
384
+ cursor: pointer;
385
+ transition: all 0.2s;
386
+ font-size: 15px;
387
+ font-weight: 600;
388
+ border: 1px solid;
389
+ text-align: center;
390
+ }
391
+
392
+ .wallet-modal-theme-dark .wallet-modal-action-btn {
393
+ background: #2a2a2a;
394
+ border-color: #3a3a3a;
395
+ color: #ffffff;
396
+ }
397
+
398
+ .wallet-modal-theme-light .wallet-modal-action-btn {
399
+ background: #ffffff;
400
+ border-color: #e5e7eb;
401
+ color: #111827;
402
+ }
403
+
404
+ .wallet-modal-theme-dark .wallet-modal-action-btn:hover {
405
+ background: #3a3a3a;
406
+ border-color: #4a4a4a;
407
+ transform: translateY(-2px);
408
+ }
409
+
410
+ .wallet-modal-theme-light .wallet-modal-action-btn:hover {
411
+ background: #f3f4f6;
412
+ border-color: #d1d5db;
413
+ transform: translateY(-2px);
414
+ }
415
+
416
+ .wallet-modal-action-btn svg {
417
+ flex-shrink: 0;
418
+ }
419
+
420
+ .wallet-modal-theme-dark .wallet-modal-action-btn svg {
421
+ color: #9ca3af;
422
+ }
423
+
424
+ .wallet-modal-theme-light .wallet-modal-action-btn svg {
425
+ color: #6b7280;
426
+ }
427
+
428
+ /* Asset Display */
429
+ .wallet-modal-asset {
430
+ border-radius: 12px;
431
+ padding: 16px;
432
+ display: flex;
433
+ align-items: center;
434
+ justify-content: space-between;
435
+ cursor: pointer;
436
+ transition: all 0.2s;
437
+ margin-top: 8px;
438
+ border: 1px solid;
439
+ }
440
+
441
+ .wallet-modal-asset:hover {
442
+ border-color: #9333ea;
443
+ background: rgba(147, 51, 234, 0.02);
444
+ }
445
+
446
+ .wallet-modal-theme-dark .wallet-modal-asset {
447
+ background: #2a2a2a;
448
+ border-color: #3a3a3a;
449
+ }
450
+
451
+ .wallet-modal-theme-light .wallet-modal-asset {
452
+ background: #f9fafb;
453
+ border-color: #e5e7eb;
454
+ }
455
+
456
+ .wallet-modal-theme-dark .wallet-modal-asset:hover {
457
+ background: #3a3a3a;
458
+ border-color: #4a4a4a;
459
+ }
460
+
461
+ .wallet-modal-theme-light .wallet-modal-asset:hover {
462
+ background: #f3f4f6;
463
+ border-color: #d1d5db;
464
+ }
465
+
466
+ .wallet-modal-asset-info {
467
+ display: flex;
468
+ align-items: center;
469
+ gap: 12px;
470
+ flex: 1;
471
+ }
472
+
473
+ .wallet-modal-asset-icon-wrapper {
474
+ position: relative;
475
+ width: 40px;
476
+ height: 40px;
477
+ flex-shrink: 0;
478
+ }
479
+
480
+ .wallet-modal-asset-icon-img {
481
+ width: 100%;
482
+ height: 100%;
483
+ border-radius: 50%;
484
+ object-fit: cover;
485
+ }
486
+
487
+ .wallet-modal-asset-icon {
488
+ width: 100%;
489
+ height: 100%;
490
+ border-radius: 50%;
491
+ background: linear-gradient(135deg, #627eea 0%, #4c6ef5 100%);
492
+ display: flex;
493
+ align-items: center;
494
+ justify-content: center;
495
+ color: white;
496
+ }
497
+
498
+ .wallet-modal-asset-details {
499
+ display: flex;
500
+ flex-direction: column;
501
+ gap: 2px;
502
+ flex: 1;
503
+ min-width: 0;
504
+ }
505
+
506
+ .wallet-modal-asset-name {
507
+ font-size: 16px;
508
+ font-weight: 600;
509
+ text-align: left;
510
+ }
511
+
512
+ .wallet-modal-theme-dark .wallet-modal-asset-name {
513
+ color: #ffffff;
514
+ }
515
+
516
+ .wallet-modal-theme-light .wallet-modal-asset-name {
517
+ color: #111827;
518
+ }
519
+
520
+ .wallet-modal-asset-balance {
521
+ font-size: 14px;
522
+ font-weight: 500;
523
+ text-align: left;
524
+ }
525
+
526
+ .wallet-modal-theme-dark .wallet-modal-asset-balance {
527
+ color: #9ca3af;
528
+ }
529
+
530
+ .wallet-modal-theme-light .wallet-modal-asset-balance {
531
+ color: #6b7280;
532
+ }
533
+
534
+ .wallet-modal-asset-status {
535
+ position: absolute;
536
+ bottom: 0;
537
+ right: 0;
538
+ width: 10px;
539
+ height: 10px;
540
+ border-radius: 50%;
541
+ background: #10b981;
542
+ border: 2px solid white;
543
+ z-index: 1;
544
+ }
545
+
546
+ .wallet-modal-theme-dark .wallet-modal-asset-status {
547
+ border-color: #1a1a1a;
548
+ }
549
+
550
+ .wallet-modal-asset-arrow {
551
+ flex-shrink: 0;
552
+ }
553
+
554
+ .wallet-modal-theme-dark .wallet-modal-asset-arrow {
555
+ color: #9ca3af;
556
+ }
557
+
558
+ .wallet-modal-theme-light .wallet-modal-asset-arrow {
559
+ color: #6b7280;
560
+ }
561
+
562
+ /* Navigation Menu */
563
+ .wallet-modal-menu {
564
+ display: flex;
565
+ flex-direction: column;
566
+ gap: 4px;
567
+ margin-top: 8px;
568
+ }
569
+
570
+ .wallet-modal-menu-item {
571
+ background: transparent;
572
+ border: none;
573
+ border-radius: 12px;
574
+ padding: 14px 16px;
575
+ display: flex;
576
+ align-items: center;
577
+ gap: 12px;
578
+ cursor: pointer;
579
+ transition: all 0.2s;
580
+ font-size: 15px;
581
+ text-align: left;
582
+ width: 100%;
583
+ justify-content: flex-start;
584
+ font-weight: 500;
585
+ text-align: left;
586
+ width: 100%;
587
+ }
588
+
589
+ .wallet-modal-theme-dark .wallet-modal-menu-item {
590
+ color: #ffffff;
591
+ }
592
+
593
+ .wallet-modal-theme-light .wallet-modal-menu-item {
594
+ color: #111827;
595
+ }
596
+
597
+ .wallet-modal-theme-dark .wallet-modal-menu-item:hover {
598
+ background: #2a2a2a;
599
+ }
600
+
601
+ .wallet-modal-theme-light .wallet-modal-menu-item:hover {
602
+ background: #f3f4f6;
603
+ }
604
+
605
+ .wallet-modal-menu-item svg {
606
+ flex-shrink: 0;
607
+ }
608
+
609
+
610
+ /* Disconnect button - Red theme */
611
+ .wallet-modal-menu-item-disconnect {
612
+ color: #ef4444 !important;
613
+ }
614
+
615
+ .wallet-modal-menu-item-disconnect svg {
616
+ color: #ef4444 !important;
617
+ }
618
+
619
+ .wallet-modal-menu-item-disconnect:hover {
620
+ background: rgba(239, 68, 68, 0.1) !important;
621
+ }
622
+
623
+ .wallet-modal-menu-item-disconnect:hover svg {
624
+ color: #dc2626 !important;
625
+ }
626
+
627
+ .wallet-modal-theme-dark .wallet-modal-menu-item-disconnect {
628
+ color: #ef4444 !important;
629
+ }
630
+
631
+ .wallet-modal-theme-dark .wallet-modal-menu-item-disconnect svg {
632
+ color: #ef4444 !important;
633
+ }
634
+
635
+ .wallet-modal-theme-dark .wallet-modal-menu-item-disconnect:hover {
636
+ background: rgba(239, 68, 68, 0.15) !important;
637
+ }
638
+
639
+ .wallet-modal-theme-dark .wallet-modal-menu-item-disconnect:hover svg {
640
+ color: #f87171 !important;
641
+ }
642
+
643
+ /* Divider */
644
+ .wallet-modal-divider {
645
+ height: 1px;
646
+ margin: 8px 0;
647
+ }
648
+
649
+ .wallet-modal-theme-dark .wallet-modal-divider {
650
+ background: #3a3a3a;
651
+ }
652
+
653
+ .wallet-modal-theme-light .wallet-modal-divider {
654
+ background: #e5e7eb;
655
+ }
656
+
657
+ /* External Wallets Section */
658
+ .wallet-modal-external-wallets {
659
+ display: flex;
660
+ flex-direction: column;
661
+ gap: 12px;
662
+ margin-top: 8px;
663
+ }
664
+
665
+ .wallet-modal-external-wallets-label {
666
+ font-size: 14px;
667
+ font-weight: 500;
668
+ margin-bottom: 4px;
669
+ }
670
+
671
+ .wallet-modal-theme-dark .wallet-modal-external-wallets-label {
672
+ color: #9ca3af;
673
+ }
674
+
675
+ .wallet-modal-theme-light .wallet-modal-external-wallets-label {
676
+ color: #6b7280;
677
+ }
678
+
679
+ /* Disconnect Button */
680
+ .wallet-modal-disconnect {
681
+ background: transparent;
682
+ border-radius: 12px;
683
+ padding: 14px 16px;
684
+ display: flex;
685
+ align-items: center;
686
+ justify-content: flex-start;
687
+ gap: 12px;
688
+ color: #ef4444;
689
+ cursor: pointer;
690
+ transition: all 0.2s;
691
+ font-size: 15px;
692
+ font-weight: 500;
693
+ width: 100%;
694
+ margin-top: 8px;
695
+ border: 1px solid;
696
+ text-align: left;
697
+ }
698
+
699
+ .wallet-modal-theme-dark .wallet-modal-disconnect {
700
+ border-color: #3a3a3a;
701
+ }
702
+
703
+ .wallet-modal-theme-light .wallet-modal-disconnect {
704
+ border-color: #e5e7eb;
705
+ }
706
+
707
+ .wallet-modal-theme-dark .wallet-modal-disconnect:hover {
708
+ background: #2a1a1a;
709
+ border-color: #ef4444;
710
+ }
711
+
712
+ .wallet-modal-theme-light .wallet-modal-disconnect:hover {
713
+ background: #fef2f2;
714
+ border-color: #ef4444;
715
+ }
716
+
717
+ .wallet-modal-disconnect svg {
718
+ flex-shrink: 0;
719
+ }
720
+
721
+ /* Scrollbar Styling */
722
+ .wallet-modal-content::-webkit-scrollbar {
723
+ width: 8px;
724
+ }
725
+
726
+ .wallet-modal-theme-dark .wallet-modal-content::-webkit-scrollbar-track {
727
+ background: #1a1a1a;
728
+ border-radius: 4px;
729
+ }
730
+
731
+ .wallet-modal-theme-light .wallet-modal-content::-webkit-scrollbar-track {
732
+ background: #ffffff;
733
+ border-radius: 4px;
734
+ }
735
+
736
+ .wallet-modal-theme-dark .wallet-modal-content::-webkit-scrollbar-thumb {
737
+ background: #3a3a3a;
738
+ border-radius: 4px;
739
+ }
740
+
741
+ .wallet-modal-theme-light .wallet-modal-content::-webkit-scrollbar-thumb {
742
+ background: #d1d5db;
743
+ border-radius: 4px;
744
+ }
745
+
746
+ .wallet-modal-theme-dark .wallet-modal-content::-webkit-scrollbar-thumb:hover {
747
+ background: #4a4a4a;
748
+ }
749
+
750
+ .wallet-modal-theme-light .wallet-modal-content::-webkit-scrollbar-thumb:hover {
751
+ background: #9ca3af;
752
+ }
753
+
754
+ /* Balance Display */
755
+ .wallet-modal-balance {
756
+ border-radius: 12px;
757
+ padding: 20px;
758
+ display: flex;
759
+ flex-direction: column;
760
+ gap: 8px;
761
+ margin-top: 8px;
762
+ border: 1px solid;
763
+ background: linear-gradient(135deg, rgba(147, 51, 234, 0.1) 0%, rgba(126, 34, 206, 0.1) 100%);
764
+ text-align: left;
765
+ }
766
+
767
+ .wallet-modal-theme-dark .wallet-modal-balance {
768
+ border-color: #3a3a3a;
769
+ background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(147, 51, 234, 0.15) 100%);
770
+ }
771
+
772
+ .wallet-modal-theme-light .wallet-modal-balance {
773
+ border-color: #e5e7eb;
774
+ background: linear-gradient(135deg, rgba(147, 51, 234, 0.05) 0%, rgba(126, 34, 206, 0.05) 100%);
775
+ }
776
+
777
+ .wallet-modal-balance-label {
778
+ font-size: 14px;
779
+ font-weight: 500;
780
+ text-align: left;
781
+ }
782
+
783
+ .wallet-modal-theme-dark .wallet-modal-balance-label {
784
+ color: #9ca3af;
785
+ }
786
+
787
+ .wallet-modal-theme-light .wallet-modal-balance-label {
788
+ color: #6b7280;
789
+ }
790
+
791
+ .wallet-modal-balance-value {
792
+ font-size: 28px;
793
+ font-weight: 700;
794
+ display: flex;
795
+ align-items: center;
796
+ gap: 8px;
797
+ font-family: 'GeistMono', 'SF Mono', 'Monaco', 'Roboto Mono', monospace;
798
+ text-align: left;
799
+ }
800
+
801
+ .wallet-modal-theme-dark .wallet-modal-balance-value {
802
+ color: #ffffff;
803
+ }
804
+
805
+ .wallet-modal-theme-light .wallet-modal-balance-value {
806
+ color: #111827;
807
+ }
808
+
809
+ /* Receive Modal */
810
+ .wallet-modal-receive-header {
811
+ display: flex;
812
+ align-items: center;
813
+ justify-content: space-between;
814
+ margin-bottom: 24px;
815
+ }
816
+
817
+ .wallet-modal-back {
818
+ background: transparent;
819
+ border: none;
820
+ cursor: pointer;
821
+ padding: 8px;
822
+ margin: 0;
823
+ display: flex;
824
+ align-items: center;
825
+ justify-content: center;
826
+ border-radius: 8px;
827
+ transition: all 0.2s;
828
+ width: 40px;
829
+ height: 40px;
830
+ box-sizing: border-box;
831
+ }
832
+
833
+ .wallet-modal-back:disabled {
834
+ opacity: 0.5;
835
+ cursor: not-allowed;
836
+ }
837
+
838
+ .wallet-modal-theme-dark .wallet-modal-back {
839
+ color: #9ca3af;
840
+ }
841
+
842
+ .wallet-modal-theme-light .wallet-modal-back {
843
+ color: #6b7280;
844
+ }
845
+
846
+ .wallet-modal-theme-dark .wallet-modal-back:hover {
847
+ background: #2a2a2a;
848
+ color: #ffffff;
849
+ }
850
+
851
+ .wallet-modal-theme-light .wallet-modal-back:hover {
852
+ background: #f3f4f6;
853
+ color: #111827;
854
+ }
855
+
856
+ .wallet-modal-settings {
857
+ width: 40px;
858
+ height: 40px;
859
+ display: flex;
860
+ align-items: center;
861
+ justify-content: center;
862
+ background: transparent;
863
+ border: none;
864
+ cursor: pointer;
865
+ border-radius: 8px;
866
+ transition: all 0.2s ease;
867
+ padding: 0;
868
+ color: inherit;
869
+ }
870
+
871
+ .wallet-modal-theme-dark .wallet-modal-settings {
872
+ color: #9ca3af;
873
+ }
874
+
875
+ .wallet-modal-theme-light .wallet-modal-settings {
876
+ color: #6b7280;
877
+ }
878
+
879
+ .wallet-modal-theme-dark .wallet-modal-settings:hover {
880
+ background: #2a2a2a;
881
+ color: #ffffff;
882
+ }
883
+
884
+ .wallet-modal-theme-light .wallet-modal-settings:hover {
885
+ background: #f3f4f6;
886
+ color: #111827;
887
+ }
888
+
889
+ .wallet-modal-content .wallet-modal-receive-title {
890
+ font-size: 20px;
891
+ font-weight: 500;
892
+ margin: 0;
893
+ flex: 1;
894
+ text-align: center;
895
+ }
896
+
897
+ .wallet-modal-content.wallet-modal-theme-dark .wallet-modal-receive-title {
898
+ color: #ffffff;
899
+ }
900
+
901
+ .wallet-modal-content.wallet-modal-theme-light .wallet-modal-receive-title {
902
+ color: #111827;
903
+ }
904
+
905
+ .wallet-modal-receive-content {
906
+ display: flex;
907
+ flex-direction: column;
908
+ align-items: center;
909
+ gap: 24px;
910
+ }
911
+
912
+ .wallet-modal-qr-container {
913
+ padding: 20px;
914
+ background: #ffffff;
915
+ border-radius: 16px;
916
+ display: flex;
917
+ align-items: center;
918
+ justify-content: center;
919
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
920
+ }
921
+
922
+ .wallet-modal-address-section {
923
+ width: 100%;
924
+ display: flex;
925
+ flex-direction: column;
926
+ gap: 12px;
927
+ }
928
+
929
+ .wallet-modal-address-label {
930
+ font-size: 14px;
931
+ font-weight: 500;
932
+ text-align: center;
933
+ }
934
+
935
+ .wallet-modal-theme-dark .wallet-modal-address-label {
936
+ color: #9ca3af;
937
+ }
938
+
939
+ .wallet-modal-theme-light .wallet-modal-address-label {
940
+ color: #6b7280;
941
+ }
942
+
943
+ .wallet-modal-address-display {
944
+ display: flex;
945
+ align-items: center;
946
+ gap: 12px;
947
+ padding: 12px 16px;
948
+ border-radius: 12px;
949
+ border: 1px solid;
950
+ }
951
+
952
+ .wallet-modal-theme-dark .wallet-modal-address-display {
953
+ background: #2a2a2a;
954
+ border-color: #3a3a3a;
955
+ }
956
+
957
+ .wallet-modal-theme-light .wallet-modal-address-display {
958
+ background: #f9fafb;
959
+ border-color: #e5e7eb;
960
+ }
961
+
962
+ .wallet-modal-address-full {
963
+ flex: 1;
964
+ font-family: 'GeistMono', 'SF Mono', 'Monaco', 'Roboto Mono', monospace;
965
+ font-size: 14px;
966
+ word-break: break-all;
967
+ text-align: left;
968
+ }
969
+
970
+ .wallet-modal-theme-dark .wallet-modal-address-full {
971
+ color: #ffffff;
972
+ }
973
+
974
+ .wallet-modal-theme-light .wallet-modal-address-full {
975
+ color: #111827;
976
+ }
977
+
978
+ .wallet-modal-copy-btn {
979
+ display: flex;
980
+ align-items: center;
981
+ gap: 6px;
982
+ padding: 8px 12px;
983
+ border-radius: 8px;
984
+ border: 1px solid;
985
+ background: transparent;
986
+ cursor: pointer;
987
+ transition: all 0.2s;
988
+ font-size: 14px;
989
+ font-weight: 500;
990
+ white-space: nowrap;
991
+ }
992
+
993
+ .wallet-modal-theme-dark .wallet-modal-copy-btn {
994
+ color: #ffffff;
995
+ border-color: #3a3a3a;
996
+ }
997
+
998
+ .wallet-modal-theme-light .wallet-modal-copy-btn {
999
+ color: #111827;
1000
+ border-color: #e5e7eb;
1001
+ }
1002
+
1003
+ .wallet-modal-theme-dark .wallet-modal-copy-btn:hover {
1004
+ background: #3a3a3a;
1005
+ border-color: #4a4a4a;
1006
+ }
1007
+
1008
+ .wallet-modal-theme-light .wallet-modal-copy-btn:hover {
1009
+ background: #f3f4f6;
1010
+ border-color: #d1d5db;
1011
+ }
1012
+
1013
+ .wallet-modal-copy-btn.copied {
1014
+ background: #10b981;
1015
+ border-color: #10b981;
1016
+ color: #ffffff;
1017
+ }
1018
+
1019
+ .wallet-modal-address-hint {
1020
+ font-size: 13px;
1021
+ text-align: center;
1022
+ margin: 0;
1023
+ }
1024
+
1025
+ .wallet-modal-theme-dark .wallet-modal-address-hint {
1026
+ color: #9ca3af;
1027
+ }
1028
+
1029
+ .wallet-modal-theme-light .wallet-modal-address-hint {
1030
+ color: #6b7280;
1031
+ }
1032
+
1033
+ /* Send Modal */
1034
+ .wallet-modal-send-content {
1035
+ display: flex;
1036
+ flex-direction: column;
1037
+ gap: 20px;
1038
+ /* padding: 20px 0; */
1039
+ }
1040
+
1041
+ .wallet-modal-send-field {
1042
+ display: flex;
1043
+ flex-direction: column;
1044
+ gap: 8px;
1045
+ }
1046
+
1047
+ .wallet-modal-send-label {
1048
+ font-size: 14px;
1049
+ font-weight: 500;
1050
+ text-align: left;
1051
+ }
1052
+
1053
+ .wallet-modal-theme-dark .wallet-modal-send-label {
1054
+ color: #9ca3af;
1055
+ }
1056
+
1057
+ .wallet-modal-theme-light .wallet-modal-send-label {
1058
+ color: #6b7280;
1059
+ }
1060
+
1061
+ /* Token Selector */
1062
+ .wallet-modal-send-token-selector-wrapper {
1063
+ position: relative;
1064
+ width: 100%;
1065
+ }
1066
+
1067
+ .wallet-modal-send-token-selector {
1068
+ width: 100%;
1069
+ padding: 14px 16px;
1070
+ border-radius: 12px;
1071
+ border: 1px solid;
1072
+ background: transparent;
1073
+ cursor: pointer;
1074
+ transition: all 0.2s;
1075
+ display: flex;
1076
+ align-items: center;
1077
+ justify-content: space-between;
1078
+ gap: 12px;
1079
+ }
1080
+
1081
+ .wallet-modal-send-chain-dropdown {
1082
+ position: absolute;
1083
+ top: calc(100% + 8px);
1084
+ left: 0;
1085
+ right: 0;
1086
+ width: 100%;
1087
+ z-index: 10001;
1088
+ border-radius: 12px;
1089
+ border: 1px solid;
1090
+ overflow: hidden;
1091
+ box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
1092
+ }
1093
+
1094
+ .wallet-modal-theme-dark .wallet-modal-send-chain-dropdown {
1095
+ background: #1a1a1a;
1096
+ border-color: #3a3a3a;
1097
+ }
1098
+
1099
+ .wallet-modal-theme-light .wallet-modal-send-chain-dropdown {
1100
+ background: #ffffff;
1101
+ border-color: #e5e7eb;
1102
+ }
1103
+
1104
+ .wallet-modal-theme-dark .wallet-modal-send-token-selector {
1105
+ border-color: #3a3a3a;
1106
+ background: #2a2a2a;
1107
+ color: #ffffff;
1108
+ }
1109
+
1110
+ .wallet-modal-theme-light .wallet-modal-send-token-selector {
1111
+ border-color: #e5e7eb;
1112
+ background: #f9fafb;
1113
+ color: #111827;
1114
+ }
1115
+
1116
+ .wallet-modal-theme-dark .wallet-modal-send-token-selector:hover {
1117
+ background: #3a3a3a;
1118
+ border-color: #4a4a4a;
1119
+ }
1120
+
1121
+ .wallet-modal-theme-light .wallet-modal-send-token-selector:hover {
1122
+ background: #f3f4f6;
1123
+ border-color: #d1d5db;
1124
+ }
1125
+
1126
+ .wallet-modal-send-token-info {
1127
+ display: flex;
1128
+ align-items: center;
1129
+ gap: 12px;
1130
+ flex: 1;
1131
+ min-width: 0;
1132
+ }
1133
+
1134
+ .wallet-modal-send-token-name {
1135
+ font-size: 15px;
1136
+ font-weight: 500;
1137
+ }
1138
+
1139
+ /* Amount Input */
1140
+ .wallet-modal-send-amount-wrapper {
1141
+ display: flex;
1142
+ align-items: center;
1143
+ border-radius: 12px;
1144
+ border: 1px solid;
1145
+ overflow: hidden;
1146
+ background: transparent;
1147
+ }
1148
+
1149
+ .wallet-modal-theme-dark .wallet-modal-send-amount-wrapper {
1150
+ border-color: #3a3a3a;
1151
+ background: #2a2a2a;
1152
+ }
1153
+
1154
+ .wallet-modal-theme-light .wallet-modal-send-amount-wrapper {
1155
+ border-color: #e5e7eb;
1156
+ background: #f9fafb;
1157
+ }
1158
+
1159
+ .wallet-modal-send-amount-wrapper.error {
1160
+ border-color: #ef4444;
1161
+ }
1162
+
1163
+ .wallet-modal-send-amount-prefix {
1164
+ padding: 14px 16px;
1165
+ font-size: 15px;
1166
+ font-weight: 500;
1167
+ flex-shrink: 0;
1168
+ border-right: 1px solid;
1169
+ }
1170
+
1171
+ .wallet-modal-theme-dark .wallet-modal-send-amount-prefix {
1172
+ color: #ffffff;
1173
+ border-color: #3a3a3a;
1174
+ }
1175
+
1176
+ .wallet-modal-theme-light .wallet-modal-send-amount-prefix {
1177
+ color: #111827;
1178
+ border-color: #e5e7eb;
1179
+ }
1180
+
1181
+ .wallet-modal-send-amount-input {
1182
+ flex: 1;
1183
+ padding: 14px 16px;
1184
+ border: none;
1185
+ background: transparent;
1186
+ font-size: 16px;
1187
+ font-weight: 500;
1188
+ outline: none;
1189
+ min-width: 0;
1190
+ }
1191
+
1192
+ .wallet-modal-theme-dark .wallet-modal-send-amount-input {
1193
+ color: #ffffff;
1194
+ }
1195
+
1196
+ .wallet-modal-theme-light .wallet-modal-send-amount-input {
1197
+ color: #111827;
1198
+ }
1199
+
1200
+ .wallet-modal-send-amount-input::placeholder {
1201
+ opacity: 0.5;
1202
+ }
1203
+
1204
+ .wallet-modal-send-amount-suffix {
1205
+ padding: 14px 16px;
1206
+ font-size: 14px;
1207
+ flex-shrink: 0;
1208
+ opacity: 0.7;
1209
+ }
1210
+
1211
+ .wallet-modal-theme-dark .wallet-modal-send-amount-suffix {
1212
+ color: #9ca3af;
1213
+ }
1214
+
1215
+ .wallet-modal-theme-light .wallet-modal-send-amount-suffix {
1216
+ color: #6b7280;
1217
+ }
1218
+
1219
+ .wallet-modal-send-balance {
1220
+ display: flex;
1221
+ align-items: center;
1222
+ gap: 8px;
1223
+ font-size: 12px;
1224
+ margin-top: 4px;
1225
+ }
1226
+
1227
+ .wallet-modal-send-balance-label {
1228
+ opacity: 0.7;
1229
+ }
1230
+
1231
+ .wallet-modal-send-balance-value {
1232
+ font-weight: 500;
1233
+ }
1234
+
1235
+ .wallet-modal-theme-dark .wallet-modal-send-balance {
1236
+ color: #9ca3af;
1237
+ }
1238
+
1239
+ .wallet-modal-theme-light .wallet-modal-send-balance {
1240
+ color: #6b7280;
1241
+ }
1242
+
1243
+ /* Address Input */
1244
+ .wallet-modal-send-address-input {
1245
+ width: 100%;
1246
+ padding: 14px 16px;
1247
+ border-radius: 12px;
1248
+ border: 1px solid;
1249
+ background: transparent;
1250
+ font-size: 14px;
1251
+ font-family: 'GeistMono', 'SF Mono', monospace;
1252
+ outline: none;
1253
+ transition: all 0.2s;
1254
+ box-sizing: border-box;
1255
+ }
1256
+
1257
+ .wallet-modal-theme-dark .wallet-modal-send-address-input {
1258
+ border-color: #3a3a3a;
1259
+ background: #2a2a2a;
1260
+ color: #ffffff;
1261
+ }
1262
+
1263
+ .wallet-modal-theme-light .wallet-modal-send-address-input {
1264
+ border-color: #e5e7eb;
1265
+ background: #f9fafb;
1266
+ color: #111827;
1267
+ }
1268
+
1269
+ .wallet-modal-send-address-input.error {
1270
+ border-color: #ef4444;
1271
+ }
1272
+
1273
+ .wallet-modal-send-address-input:focus {
1274
+ border-color: #9333ea;
1275
+ }
1276
+
1277
+ .wallet-modal-theme-dark .wallet-modal-send-address-input:focus {
1278
+ border-color: #a855f7;
1279
+ }
1280
+
1281
+ .wallet-modal-theme-light .wallet-modal-send-address-input:focus {
1282
+ border-color: #9333ea;
1283
+ }
1284
+
1285
+ .wallet-modal-send-address-input::placeholder {
1286
+ opacity: 0.5;
1287
+ }
1288
+
1289
+ /* Error Messages */
1290
+ .wallet-modal-send-error {
1291
+ font-size: 12px;
1292
+ color: #ef4444;
1293
+ margin-top: 4px;
1294
+ text-align: left;
1295
+ }
1296
+
1297
+ /* Preview Transaction Button */
1298
+ .wallet-modal-send-preview-btn {
1299
+ width: 100%;
1300
+ padding: 14px 24px;
1301
+ border-radius: 12px;
1302
+ border: none;
1303
+ font-size: 16px;
1304
+ font-weight: 600;
1305
+ cursor: pointer;
1306
+ transition: all 0.2s;
1307
+ display: flex;
1308
+ align-items: center;
1309
+ justify-content: center;
1310
+ gap: 8px;
1311
+ margin-top: 8px;
1312
+ }
1313
+
1314
+ .wallet-modal-send-preview-btn.disabled {
1315
+ opacity: 0.5;
1316
+ cursor: not-allowed;
1317
+ }
1318
+
1319
+ .wallet-modal-theme-dark .wallet-modal-send-preview-btn {
1320
+ background: var(--abstraxn-primary);
1321
+ color: var(--abstraxn-primary-text);
1322
+ }
1323
+
1324
+ .wallet-modal-theme-light .wallet-modal-send-preview-btn {
1325
+ background: var(--abstraxn-primary);
1326
+ color: var(--abstraxn-primary-text);
1327
+ }
1328
+
1329
+ .wallet-modal-theme-dark .wallet-modal-send-preview-btn:hover:not(.disabled) {
1330
+ background: var(--abstraxn-primary-hover);
1331
+ transform: translateY(-1px);
1332
+ }
1333
+
1334
+ .wallet-modal-theme-light .wallet-modal-send-preview-btn:hover:not(.disabled) {
1335
+ background: var(--abstraxn-primary-hover);
1336
+ transform: translateY(-1px);
1337
+ }
1338
+
1339
+ /* Preview Modal */
1340
+ .wallet-modal-preview-content {
1341
+ padding: 20px 0;
1342
+ display: flex;
1343
+ flex-direction: column;
1344
+ gap: 24px;
1345
+ }
1346
+
1347
+ .wallet-modal-preview-section {
1348
+ display: flex;
1349
+ flex-direction: column;
1350
+ gap: 16px;
1351
+ padding: 20px;
1352
+ border-radius: 12px;
1353
+ border: 1px solid;
1354
+ }
1355
+
1356
+ .wallet-modal-theme-dark .wallet-modal-preview-section {
1357
+ background: #2a2a2a;
1358
+ border-color: #3a3a3a;
1359
+ }
1360
+
1361
+ .wallet-modal-theme-light .wallet-modal-preview-section {
1362
+ background: #f9fafb;
1363
+ border-color: #e5e7eb;
1364
+ }
1365
+
1366
+ .wallet-modal-preview-item {
1367
+ display: flex;
1368
+ flex-direction: column;
1369
+ gap: 4px;
1370
+ }
1371
+
1372
+ .wallet-modal-preview-label {
1373
+ font-size: 12px;
1374
+ opacity: 0.7;
1375
+ text-align: left;
1376
+ }
1377
+
1378
+ .wallet-modal-preview-value {
1379
+ font-size: 14px;
1380
+ font-weight: 500;
1381
+ word-break: break-all;
1382
+ text-align: left;
1383
+ }
1384
+
1385
+ .wallet-modal-theme-dark .wallet-modal-preview-label,
1386
+ .wallet-modal-theme-dark .wallet-modal-preview-value {
1387
+ color: #ffffff;
1388
+ }
1389
+
1390
+ .wallet-modal-theme-light .wallet-modal-preview-label,
1391
+ .wallet-modal-theme-light .wallet-modal-preview-value {
1392
+ color: #111827;
1393
+ }
1394
+
1395
+ .wallet-modal-preview-actions {
1396
+ display: flex;
1397
+ flex-direction: column;
1398
+ gap: 12px;
1399
+ }
1400
+
1401
+ .wallet-modal-preview-btn {
1402
+ width: 100%;
1403
+ padding: 14px 24px;
1404
+ border-radius: 12px;
1405
+ border: none;
1406
+ font-size: 16px;
1407
+ font-weight: 600;
1408
+ cursor: pointer;
1409
+ transition: all 0.2s;
1410
+ display: flex;
1411
+ align-items: center;
1412
+ justify-content: center;
1413
+ gap: 8px;
1414
+ }
1415
+
1416
+ .wallet-modal-preview-btn:disabled {
1417
+ opacity: 0.5;
1418
+ cursor: not-allowed;
1419
+ }
1420
+
1421
+ .wallet-modal-preview-btn-primary {
1422
+ background: var(--abstraxn-primary);
1423
+ color: var(--abstraxn-primary-text);
1424
+ }
1425
+
1426
+ .wallet-modal-preview-btn-primary:hover:not(:disabled) {
1427
+ background: var(--abstraxn-primary-hover);
1428
+ transform: translateY(-1px);
1429
+ }
1430
+
1431
+ .wallet-modal-preview-btn-secondary {
1432
+ background: transparent;
1433
+ border: 1px solid;
1434
+ }
1435
+
1436
+ .wallet-modal-theme-dark .wallet-modal-preview-btn-secondary {
1437
+ border-color: #3a3a3a;
1438
+ color: #ffffff;
1439
+ }
1440
+
1441
+ .wallet-modal-theme-light .wallet-modal-preview-btn-secondary {
1442
+ border-color: #e5e7eb;
1443
+ color: #111827;
1444
+ }
1445
+
1446
+ .wallet-modal-theme-dark .wallet-modal-preview-btn-secondary:hover:not(:disabled) {
1447
+ background: #3a3a3a;
1448
+ }
1449
+
1450
+ .wallet-modal-theme-light .wallet-modal-preview-btn-secondary:hover:not(:disabled) {
1451
+ background: #f3f4f6;
1452
+ }
1453
+
1454
+ /* Success Modal */
1455
+ .wallet-modal-success-content {
1456
+ padding: 40px 20px;
1457
+ display: flex;
1458
+ flex-direction: column;
1459
+ align-items: center;
1460
+ gap: 20px;
1461
+ text-align: center;
1462
+ }
1463
+
1464
+ .wallet-modal-success-icon {
1465
+ width: 64px;
1466
+ height: 64px;
1467
+ display: flex;
1468
+ align-items: center;
1469
+ justify-content: center;
1470
+ }
1471
+
1472
+ .wallet-modal-content .wallet-modal-success-title {
1473
+ font-size: 24px;
1474
+ font-weight: 500;
1475
+ margin: 0;
1476
+ }
1477
+
1478
+ .wallet-modal-content.wallet-modal-theme-dark .wallet-modal-success-title {
1479
+ color: #ffffff;
1480
+ }
1481
+
1482
+ .wallet-modal-content.wallet-modal-theme-light .wallet-modal-success-title {
1483
+ color: #111827;
1484
+ }
1485
+
1486
+ .wallet-modal-success-message {
1487
+ font-size: 14px;
1488
+ opacity: 0.7;
1489
+ margin: 0;
1490
+ }
1491
+
1492
+ .wallet-modal-theme-dark .wallet-modal-success-message {
1493
+ color: #9ca3af;
1494
+ }
1495
+
1496
+ .wallet-modal-theme-light .wallet-modal-success-message {
1497
+ color: #6b7280;
1498
+ }
1499
+
1500
+ .wallet-modal-success-link {
1501
+ font-size: 14px;
1502
+ text-decoration: none;
1503
+ padding: 8px 16px;
1504
+ border-radius: 8px;
1505
+ transition: all 0.2s;
1506
+ }
1507
+
1508
+ .wallet-modal-theme-dark .wallet-modal-success-link {
1509
+ color: #a855f7;
1510
+ background: rgba(147, 51, 234, 0.1);
1511
+ }
1512
+
1513
+ .wallet-modal-theme-light .wallet-modal-success-link {
1514
+ color: #9333ea;
1515
+ background: rgba(147, 51, 234, 0.1);
1516
+ }
1517
+
1518
+ .wallet-modal-success-link:hover {
1519
+ background: rgba(147, 51, 234, 0.2);
1520
+ }
1521
+
1522
+ .wallet-modal-success-btn {
1523
+ width: 100%;
1524
+ padding: 14px 24px;
1525
+ border-radius: 12px;
1526
+ border: none;
1527
+ font-size: 16px;
1528
+ font-weight: 600;
1529
+ cursor: pointer;
1530
+ transition: all 0.2s;
1531
+ background: var(--abstraxn-primary);
1532
+ color: var(--abstraxn-primary-text);
1533
+ }
1534
+
1535
+ .wallet-modal-success-btn:hover {
1536
+ background: var(--abstraxn-primary-hover);
1537
+ transform: translateY(-1px);
1538
+ }
1539
+
1540
+ .wallet-modal-action-btn-primary {
1541
+ padding: 14px 24px;
1542
+ border-radius: 12px;
1543
+ border: none;
1544
+ font-size: 15px;
1545
+ font-weight: 600;
1546
+ cursor: pointer;
1547
+ transition: all 0.2s;
1548
+ background: var(--abstraxn-primary);
1549
+ color: var(--abstraxn-primary-text);
1550
+ }
1551
+
1552
+ .wallet-modal-action-btn-primary:hover {
1553
+ transform: translateY(-2px);
1554
+ background: var(--abstraxn-primary-hover);
1555
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
1556
+ }
1557
+
1558
+ /* Manage Modal */
1559
+ .wallet-modal-manage-content {
1560
+ display: flex;
1561
+ flex-direction: column;
1562
+ gap: 32px;
1563
+ }
1564
+
1565
+ .wallet-modal-manage-section {
1566
+ display: flex;
1567
+ flex-direction: column;
1568
+ gap: 20px;
1569
+ }
1570
+
1571
+ .wallet-modal-content .wallet-modal-manage-section-title {
1572
+ font-size: 16px;
1573
+ font-weight: 500;
1574
+ margin: 0;
1575
+ text-align: left;
1576
+ letter-spacing: -0.01em;
1577
+ }
1578
+
1579
+ .wallet-modal-content.wallet-modal-theme-dark .wallet-modal-manage-section-title {
1580
+ color: #ffffff;
1581
+ }
1582
+
1583
+ .wallet-modal-content.wallet-modal-theme-light .wallet-modal-manage-section-title {
1584
+ color: #111827;
1585
+ }
1586
+
1587
+ .wallet-modal-manage-item {
1588
+ display: flex;
1589
+ flex-direction: column;
1590
+ gap: 8px;
1591
+ padding: 16px 0;
1592
+ border-bottom: 1px solid;
1593
+ }
1594
+
1595
+ .wallet-modal-theme-dark .wallet-modal-manage-item {
1596
+ border-color: #3a3a3a;
1597
+ }
1598
+
1599
+ .wallet-modal-theme-light .wallet-modal-manage-item {
1600
+ border-color: #e5e7eb;
1601
+ }
1602
+
1603
+ .wallet-modal-manage-item:last-child {
1604
+ border-bottom: none;
1605
+ }
1606
+
1607
+ .wallet-modal-manage-label {
1608
+ font-size: 13px;
1609
+ font-weight: 500;
1610
+ text-align: left;
1611
+ letter-spacing: 0.01em;
1612
+ }
1613
+
1614
+ .wallet-modal-theme-dark .wallet-modal-manage-label {
1615
+ color: #9ca3af;
1616
+ }
1617
+
1618
+ .wallet-modal-theme-light .wallet-modal-manage-label {
1619
+ color: #6b7280;
1620
+ }
1621
+
1622
+ .wallet-modal-manage-value {
1623
+ font-size: 15px;
1624
+ font-weight: 500;
1625
+ display: flex;
1626
+ align-items: center;
1627
+ justify-content: space-between;
1628
+ gap: 12px;
1629
+ text-align: left;
1630
+ word-break: break-word;
1631
+ }
1632
+
1633
+ .wallet-modal-theme-dark .wallet-modal-manage-value {
1634
+ color: #ffffff;
1635
+ }
1636
+
1637
+ .wallet-modal-theme-light .wallet-modal-manage-value {
1638
+ color: #111827;
1639
+ }
1640
+
1641
+ .wallet-modal-manage-value > span:not(.wallet-modal-manage-address-text) {
1642
+ flex: 1;
1643
+ text-align: left;
1644
+ min-width: 0;
1645
+ }
1646
+
1647
+ .wallet-modal-manage-address-text {
1648
+ flex: 1;
1649
+ font-family: 'GeistMono', 'SF Mono', 'Monaco', 'Roboto Mono', monospace;
1650
+ font-size: 14px;
1651
+ word-break: break-all;
1652
+ min-width: 0;
1653
+ }
1654
+
1655
+ .wallet-modal-manage-copy-btn {
1656
+ display: flex;
1657
+ align-items: center;
1658
+ gap: 6px;
1659
+ background: transparent;
1660
+ border: 1px solid;
1661
+ cursor: pointer;
1662
+ padding: 6px 12px;
1663
+ border-radius: 8px;
1664
+ transition: all 0.2s;
1665
+ font-size: 13px;
1666
+ font-weight: 500;
1667
+ flex-shrink: 0;
1668
+ white-space: nowrap;
1669
+ }
1670
+
1671
+ .wallet-modal-theme-dark .wallet-modal-manage-copy-btn {
1672
+ color: #9ca3af;
1673
+ border-color: #3a3a3a;
1674
+ }
1675
+
1676
+ .wallet-modal-theme-light .wallet-modal-manage-copy-btn {
1677
+ color: #6b7280;
1678
+ border-color: #e5e7eb;
1679
+ }
1680
+
1681
+ .wallet-modal-theme-dark .wallet-modal-manage-copy-btn:hover {
1682
+ background: #2a2a2a;
1683
+ border-color: #4a4a4a;
1684
+ color: #ffffff;
1685
+ }
1686
+
1687
+ .wallet-modal-theme-light .wallet-modal-manage-copy-btn:hover {
1688
+ background: #f3f4f6;
1689
+ border-color: #d1d5db;
1690
+ color: #111827;
1691
+ }
1692
+
1693
+ .wallet-modal-manage-copy-btn.copied {
1694
+ background: #10b981;
1695
+ border-color: #10b981;
1696
+ color: #ffffff;
1697
+ }
1698
+
1699
+ .wallet-modal-manage-copy-btn svg {
1700
+ flex-shrink: 0;
1701
+ }
1702
+
1703
+ /* Responsive */
1704
+ @media (max-width: 480px) {
1705
+ .wallet-modal-content {
1706
+ width: 100%;
1707
+ max-width: 100%;
1708
+ border-radius: 16px 16px 0 0;
1709
+ max-height: 95vh;
1710
+ padding: 20px;
1711
+ }
1712
+
1713
+ .wallet-modal-overlay {
1714
+ align-items: flex-end;
1715
+ }
1716
+
1717
+ .wallet-modal-qr-container {
1718
+ padding: 16px;
1719
+ }
1720
+
1721
+ .wallet-modal-address-display {
1722
+ flex-direction: column;
1723
+ align-items: stretch;
1724
+ }
1725
+
1726
+ .wallet-modal-copy-btn {
1727
+ width: 100%;
1728
+ justify-content: center;
1729
+ }
1730
+ }
1731
+
1732
+ /* Export & Backup Section */
1733
+ .wallet-modal-manage-action-item {
1734
+ display: flex;
1735
+ align-items: center;
1736
+ gap: 12px;
1737
+ padding: 16px;
1738
+ border-radius: 12px;
1739
+ border: 1px solid;
1740
+ cursor: pointer;
1741
+ transition: all 0.2s;
1742
+ width: 100%;
1743
+ text-align: left;
1744
+ background: transparent;
1745
+ }
1746
+
1747
+ .wallet-modal-theme-dark .wallet-modal-manage-action-item {
1748
+ background: #2a2a2a;
1749
+ border-color: #3a3a3a;
1750
+ color: #ffffff;
1751
+ }
1752
+
1753
+ .wallet-modal-theme-light .wallet-modal-manage-action-item {
1754
+ background: #f9fafb;
1755
+ border-color: #e5e7eb;
1756
+ color: #111827;
1757
+ }
1758
+
1759
+ .wallet-modal-theme-dark .wallet-modal-manage-action-item:hover {
1760
+ background: #3a3a3a;
1761
+ border-color: #4a4a4a;
1762
+ transform: translateY(-1px);
1763
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
1764
+ }
1765
+
1766
+ .wallet-modal-theme-light .wallet-modal-manage-action-item:hover {
1767
+ background: #f3f4f6;
1768
+ border-color: #d1d5db;
1769
+ transform: translateY(-1px);
1770
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
1771
+ }
1772
+
1773
+ .wallet-modal-manage-action-icon {
1774
+ flex-shrink: 0;
1775
+ display: flex;
1776
+ align-items: center;
1777
+ justify-content: center;
1778
+ width: 40px;
1779
+ height: 40px;
1780
+ border-radius: 10px;
1781
+ transition: all 0.2s;
1782
+ }
1783
+
1784
+ .wallet-modal-theme-dark .wallet-modal-manage-action-icon {
1785
+ color: #9ca3af;
1786
+ background: rgba(147, 51, 234, 0.1);
1787
+ }
1788
+
1789
+ .wallet-modal-theme-light .wallet-modal-manage-action-icon {
1790
+ color: #6b7280;
1791
+ background: rgba(147, 51, 234, 0.05);
1792
+ }
1793
+
1794
+ .wallet-modal-theme-dark .wallet-modal-manage-action-item:hover .wallet-modal-manage-action-icon {
1795
+ background: rgba(147, 51, 234, 0.2);
1796
+ color: #a855f7;
1797
+ }
1798
+
1799
+ .wallet-modal-theme-light .wallet-modal-manage-action-item:hover .wallet-modal-manage-action-icon {
1800
+ background: rgba(147, 51, 234, 0.1);
1801
+ color: #9333ea;
1802
+ }
1803
+
1804
+ .wallet-modal-manage-action-label {
1805
+ flex: 1;
1806
+ font-size: 15px;
1807
+ font-weight: 500;
1808
+ }
1809
+
1810
+ .wallet-modal-theme-dark .wallet-modal-manage-action-label {
1811
+ color: #ffffff;
1812
+ }
1813
+
1814
+ .wallet-modal-theme-light .wallet-modal-manage-action-label {
1815
+ color: #111827;
1816
+ }
1817
+
1818
+ .wallet-modal-manage-action-arrow {
1819
+ flex-shrink: 0;
1820
+ transition: transform 0.2s;
1821
+ }
1822
+
1823
+ .wallet-modal-theme-dark .wallet-modal-manage-action-arrow {
1824
+ color: #9ca3af;
1825
+ }
1826
+
1827
+ .wallet-modal-theme-light .wallet-modal-manage-action-arrow {
1828
+ color: #6b7280;
1829
+ }
1830
+
1831
+ .wallet-modal-manage-action-item:hover .wallet-modal-manage-action-arrow {
1832
+ transform: translateX(2px);
1833
+ }
1834
+
1835
+ .wallet-modal-theme-dark .wallet-modal-manage-action-item:hover .wallet-modal-manage-action-arrow {
1836
+ color: #ffffff;
1837
+ }
1838
+
1839
+ .wallet-modal-theme-light .wallet-modal-manage-action-item:hover .wallet-modal-manage-action-arrow {
1840
+ color: #111827;
1841
+ }
1842
+
1843
+ /* Chain Selector Section */
1844
+ .wallet-modal-chain-selector-section {
1845
+ width: 100%;
1846
+ margin-top: 16px;
1847
+ margin-bottom: 16px;
1848
+ }
1849
+
1850
+ /* Balance Display */
1851
+
1852
+ /* Export Warning Modal */
1853
+ .wallet-modal-export-warning-content {
1854
+ display: flex;
1855
+ flex-direction: column;
1856
+ align-items: flex-start;
1857
+ gap: 20px;
1858
+ text-align: left;
1859
+ width: 100%;
1860
+ min-width: 0;
1861
+ box-sizing: border-box;
1862
+ }
1863
+
1864
+ .wallet-modal-export-warning-illustration {
1865
+ display: flex;
1866
+ align-items: center;
1867
+ justify-content: center;
1868
+ width: 120px;
1869
+ height: 120px;
1870
+ border-radius: 50%;
1871
+ margin-bottom: 8px;
1872
+ align-self: center;
1873
+ }
1874
+
1875
+ .wallet-modal-theme-dark .wallet-modal-export-warning-illustration {
1876
+ background: rgba(59, 130, 246, 0.1);
1877
+ }
1878
+
1879
+ .wallet-modal-theme-light .wallet-modal-export-warning-illustration {
1880
+ background: rgba(59, 130, 246, 0.1);
1881
+ }
1882
+
1883
+ .wallet-modal-export-warning-icon-bg {
1884
+ display: flex;
1885
+ align-items: center;
1886
+ justify-content: center;
1887
+ width: 80px;
1888
+ height: 80px;
1889
+ border-radius: 50%;
1890
+ background: rgba(59, 130, 246, 0.2);
1891
+ }
1892
+
1893
+ .wallet-modal-theme-dark .wallet-modal-export-warning-icon-bg {
1894
+ color: #3b82f6;
1895
+ }
1896
+
1897
+ .wallet-modal-theme-light .wallet-modal-export-warning-icon-bg {
1898
+ color: #2563eb;
1899
+ }
1900
+
1901
+ .wallet-modal-export-warning-badge {
1902
+ display: inline-block;
1903
+ padding: 4px 12px;
1904
+ border-radius: 12px;
1905
+ font-size: 12px;
1906
+ font-weight: 500;
1907
+ align-self: center;
1908
+ }
1909
+
1910
+ .wallet-modal-theme-dark .wallet-modal-export-warning-badge {
1911
+ background: #2a2a2a;
1912
+ color: #9ca3af;
1913
+ }
1914
+
1915
+ .wallet-modal-theme-light .wallet-modal-export-warning-badge {
1916
+ background: #f3f4f6;
1917
+ color: #6b7280;
1918
+ }
1919
+
1920
+ .wallet-modal-export-warning-heading {
1921
+ font-size: 18px;
1922
+ font-weight: 600;
1923
+ margin: 0;
1924
+ line-height: 1.5;
1925
+ text-align: left;
1926
+ width: 100%;
1927
+ min-width: 0;
1928
+ word-wrap: break-word;
1929
+ overflow-wrap: break-word;
1930
+ }
1931
+
1932
+ .wallet-modal-theme-dark .wallet-modal-export-warning-heading {
1933
+ color: #ffffff;
1934
+ }
1935
+
1936
+ .wallet-modal-theme-light .wallet-modal-export-warning-heading {
1937
+ color: #111827;
1938
+ }
1939
+
1940
+ .wallet-modal-export-warning-info-cards {
1941
+ display: flex;
1942
+ flex-direction: column;
1943
+ gap: 12px;
1944
+ width: 100%;
1945
+ margin-top: 8px;
1946
+ }
1947
+
1948
+ .wallet-modal-export-warning-info-card {
1949
+ display: flex;
1950
+ align-items: flex-start;
1951
+ gap: 12px;
1952
+ padding: 16px;
1953
+ border-radius: 12px;
1954
+ text-align: left;
1955
+ width: 100%;
1956
+ min-width: 0;
1957
+ box-sizing: border-box;
1958
+ }
1959
+
1960
+ .wallet-modal-theme-dark .wallet-modal-export-warning-info-card {
1961
+ background: #2a2a2a;
1962
+ color: #ffffff;
1963
+ }
1964
+
1965
+ .wallet-modal-theme-light .wallet-modal-export-warning-info-card {
1966
+ background: #f9fafb;
1967
+ color: #111827;
1968
+ }
1969
+
1970
+ .wallet-modal-export-warning-info-card svg {
1971
+ flex-shrink: 0;
1972
+ margin-top: 2px;
1973
+ }
1974
+
1975
+ .wallet-modal-theme-dark .wallet-modal-export-warning-info-card svg {
1976
+ color: #9ca3af;
1977
+ }
1978
+
1979
+ .wallet-modal-theme-light .wallet-modal-export-warning-info-card svg {
1980
+ color: #6b7280;
1981
+ }
1982
+
1983
+ .wallet-modal-export-warning-info-card span {
1984
+ font-size: 14px;
1985
+ line-height: 1.5;
1986
+ flex: 1;
1987
+ min-width: 0;
1988
+ word-wrap: break-word;
1989
+ overflow-wrap: break-word;
1990
+ }
1991
+
1992
+ .wallet-modal-export-warning-checkbox {
1993
+ display: flex;
1994
+ align-items: flex-start;
1995
+ gap: 12px;
1996
+ cursor: pointer;
1997
+ width: 100%;
1998
+ min-width: 0;
1999
+ padding: 16px;
2000
+ border-radius: 12px;
2001
+ transition: all 0.2s;
2002
+ box-sizing: border-box;
2003
+ }
2004
+
2005
+ .wallet-modal-theme-dark .wallet-modal-export-warning-checkbox {
2006
+ background: #2a2a2a;
2007
+ }
2008
+
2009
+ .wallet-modal-theme-light .wallet-modal-export-warning-checkbox {
2010
+ background: #f9fafb;
2011
+ }
2012
+
2013
+ .wallet-modal-export-warning-checkbox-input {
2014
+ width: 20px;
2015
+ height: 20px;
2016
+ margin-top: 2px;
2017
+ cursor: pointer;
2018
+ flex-shrink: 0;
2019
+ appearance: none;
2020
+ -webkit-appearance: none;
2021
+ -moz-appearance: none;
2022
+ border: 2px solid;
2023
+ border-radius: 6px;
2024
+ position: relative;
2025
+ transition: all 0.2s;
2026
+ }
2027
+
2028
+ .wallet-modal-theme-dark .wallet-modal-export-warning-checkbox-input {
2029
+ border-color: #4a4a4a;
2030
+ background: #2a2a2a;
2031
+ }
2032
+
2033
+ .wallet-modal-theme-light .wallet-modal-export-warning-checkbox-input {
2034
+ border-color: #d1d5db;
2035
+ background: #ffffff;
2036
+ }
2037
+
2038
+ .wallet-modal-export-warning-checkbox-input:checked {
2039
+ background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
2040
+ border-color: #9333ea;
2041
+ }
2042
+
2043
+ .wallet-modal-theme-dark .wallet-modal-export-warning-checkbox-input:checked {
2044
+ background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
2045
+ border-color: #a855f7;
2046
+ }
2047
+
2048
+ .wallet-modal-export-warning-checkbox-input:checked::after {
2049
+ content: '';
2050
+ position: absolute;
2051
+ left: 6px;
2052
+ top: 2px;
2053
+ width: 5px;
2054
+ height: 10px;
2055
+ border: solid white;
2056
+ border-width: 0 2px 2px 0;
2057
+ transform: rotate(45deg);
2058
+ }
2059
+
2060
+ .wallet-modal-export-warning-checkbox-input:hover {
2061
+ border-color: #9333ea;
2062
+ }
2063
+
2064
+ .wallet-modal-theme-dark .wallet-modal-export-warning-checkbox-input:hover {
2065
+ border-color: #a855f7;
2066
+ }
2067
+
2068
+ .wallet-modal-export-warning-checkbox span {
2069
+ font-size: 14px;
2070
+ line-height: 1.5;
2071
+ flex: 1;
2072
+ min-width: 0;
2073
+ word-wrap: break-word;
2074
+ overflow-wrap: break-word;
2075
+ }
2076
+
2077
+ .wallet-modal-theme-dark .wallet-modal-export-warning-checkbox span {
2078
+ color: #ffffff;
2079
+ }
2080
+
2081
+ .wallet-modal-theme-light .wallet-modal-export-warning-checkbox span {
2082
+ color: #111827;
2083
+ }
2084
+
2085
+ .wallet-modal-export-warning-reveal {
2086
+ width: 100%;
2087
+ min-width: 0;
2088
+ padding: 14px 24px;
2089
+ border-radius: 12px;
2090
+ border: none;
2091
+ font-size: 16px;
2092
+ font-weight: 600;
2093
+ cursor: pointer;
2094
+ transition: all 0.2s;
2095
+ background: var(--abstraxn-primary);
2096
+ color: var(--abstraxn-primary-text);
2097
+ box-sizing: border-box;
2098
+ display: flex;
2099
+ align-items: center;
2100
+ justify-content: center;
2101
+ gap: 8px;
2102
+ }
2103
+
2104
+ .wallet-modal-theme-dark .wallet-modal-export-warning-reveal:not(.disabled) {
2105
+ background: var(--abstraxn-primary);
2106
+ }
2107
+
2108
+ .wallet-modal-export-warning-reveal:hover:not(.disabled) {
2109
+ transform: translateY(-2px);
2110
+ }
2111
+
2112
+ .wallet-modal-theme-dark .wallet-modal-export-warning-reveal:hover:not(.disabled) {
2113
+ background: var(--abstraxn-primary-hover);
2114
+ }
2115
+
2116
+ .wallet-modal-theme-light .wallet-modal-export-warning-reveal:hover:not(.disabled) {
2117
+ background: var(--abstraxn-primary-hover);
2118
+ }
2119
+
2120
+ .wallet-modal-loading-spinner {
2121
+ animation: spin 1s linear infinite;
2122
+ width: 16px;
2123
+ height: 16px;
2124
+ }
2125
+
2126
+ @keyframes spin {
2127
+ from {
2128
+ transform: rotate(0deg);
2129
+ }
2130
+ to {
2131
+ transform: rotate(360deg);
2132
+ }
2133
+ }
2134
+
2135
+ .wallet-modal-export-warning-reveal.disabled {
2136
+ opacity: 0.5;
2137
+ cursor: not-allowed;
2138
+ background: #9ca3af;
2139
+ }
2140
+
2141
+ .wallet-modal-theme-dark .wallet-modal-export-warning-reveal.disabled {
2142
+ background: #3a3a3a;
2143
+ color: #6b7280;
2144
+ }
2145
+
2146
+ .wallet-modal-theme-light .wallet-modal-export-warning-reveal.disabled {
2147
+ background: #e5e7eb;
2148
+ color: #9ca3af;
2149
+ }
2150
+
2151
+ /* Export Key Modal */
2152
+ .wallet-modal-export-key {
2153
+ max-width: 480px;
2154
+ }
2155
+
2156
+ .wallet-modal-export-header {
2157
+ display: flex;
2158
+ align-items: center;
2159
+ justify-content: space-between;
2160
+ margin-bottom: 24px;
2161
+ }
2162
+
2163
+ .wallet-modal-content .wallet-modal-export-title {
2164
+ font-size: 20px;
2165
+ font-weight: 500;
2166
+ margin: 0;
2167
+ flex: 1;
2168
+ text-align: center;
2169
+ }
2170
+
2171
+ .wallet-modal-content.wallet-modal-theme-dark .wallet-modal-export-title {
2172
+ color: #ffffff;
2173
+ }
2174
+
2175
+ .wallet-modal-content.wallet-modal-theme-light .wallet-modal-export-title {
2176
+ color: #111827;
2177
+ }
2178
+
2179
+ .wallet-modal-export-content {
2180
+ display: flex;
2181
+ flex-direction: column;
2182
+ gap: 20px;
2183
+ }
2184
+
2185
+ .wallet-modal-export-key-display {
2186
+ padding: 16px;
2187
+ border-radius: 12px;
2188
+ font-family: 'GeistMono', 'SF Mono', 'Monaco', 'Roboto Mono', monospace;
2189
+ font-size: 13px;
2190
+ line-height: 1.6;
2191
+ word-break: break-all;
2192
+ text-align: left;
2193
+ position: relative;
2194
+ transition: filter 0.3s ease;
2195
+ user-select: none;
2196
+ }
2197
+
2198
+ .wallet-modal-export-key-display.blurred {
2199
+ filter: blur(8px);
2200
+ -webkit-filter: blur(8px);
2201
+ user-select: none;
2202
+ -webkit-user-select: none;
2203
+ -moz-user-select: none;
2204
+ -ms-user-select: none;
2205
+ }
2206
+
2207
+ .wallet-modal-export-key-display:not(.blurred) {
2208
+ user-select: text;
2209
+ -webkit-user-select: text;
2210
+ -moz-user-select: text;
2211
+ -ms-user-select: text;
2212
+ }
2213
+
2214
+ .wallet-modal-theme-dark .wallet-modal-export-key-display {
2215
+ background: #2a2a2a;
2216
+ color: #ffffff;
2217
+ border: 1px solid #3a3a3a;
2218
+ }
2219
+
2220
+ .wallet-modal-theme-light .wallet-modal-export-key-display {
2221
+ background: #f9fafb;
2222
+ color: #111827;
2223
+ border: 1px solid #e5e7eb;
2224
+ }
2225
+
2226
+ .wallet-modal-export-key-hint {
2227
+ font-size: 13px;
2228
+ text-align: center;
2229
+ margin: -12px 0 0 0;
2230
+ padding: 0;
2231
+ }
2232
+
2233
+ .wallet-modal-theme-dark .wallet-modal-export-key-hint {
2234
+ color: #9ca3af;
2235
+ }
2236
+
2237
+ .wallet-modal-theme-light .wallet-modal-export-key-hint {
2238
+ color: #6b7280;
2239
+ }
2240
+
2241
+ .wallet-modal-export-copy-btn {
2242
+ display: flex;
2243
+ align-items: center;
2244
+ justify-content: center;
2245
+ gap: 8px;
2246
+ width: 100%;
2247
+ padding: 12px 24px;
2248
+ border-radius: 12px;
2249
+ border: 1px solid;
2250
+ font-size: 15px;
2251
+ font-weight: 500;
2252
+ cursor: pointer;
2253
+ transition: all 0.2s;
2254
+ background: transparent;
2255
+ }
2256
+
2257
+ .wallet-modal-export-copy-btn:disabled {
2258
+ opacity: 0.5;
2259
+ cursor: not-allowed;
2260
+ }
2261
+
2262
+ .wallet-modal-theme-dark .wallet-modal-export-copy-btn {
2263
+ color: #ffffff;
2264
+ border-color: #3a3a3a;
2265
+ }
2266
+
2267
+ .wallet-modal-theme-light .wallet-modal-export-copy-btn {
2268
+ color: #111827;
2269
+ border-color: #e5e7eb;
2270
+ }
2271
+
2272
+ .wallet-modal-theme-dark .wallet-modal-export-copy-btn:hover {
2273
+ background: #2a2a2a;
2274
+ border-color: #4a4a4a;
2275
+ }
2276
+
2277
+ .wallet-modal-theme-light .wallet-modal-export-copy-btn:hover {
2278
+ background: #f3f4f6;
2279
+ border-color: #d1d5db;
2280
+ }
2281
+
2282
+ .wallet-modal-export-copy-btn svg {
2283
+ flex-shrink: 0;
2284
+ }
2285
+
2286
+ .wallet-modal-export-done-btn {
2287
+ width: 100%;
2288
+ padding: 14px 24px;
2289
+ border-radius: 12px;
2290
+ border: none;
2291
+ font-size: 16px;
2292
+ font-weight: 600;
2293
+ cursor: pointer;
2294
+ transition: all 0.2s;
2295
+ color: var(--abstraxn-primary-text);
2296
+ }
2297
+
2298
+ .wallet-modal-theme-dark .wallet-modal-export-done-btn {
2299
+ background: var(--abstraxn-primary);
2300
+ }
2301
+
2302
+ .wallet-modal-theme-light .wallet-modal-export-done-btn {
2303
+ background: var(--abstraxn-primary);
2304
+ }
2305
+
2306
+ .wallet-modal-export-done-btn:hover {
2307
+ transform: translateY(-2px);
2308
+ }
2309
+
2310
+ .wallet-modal-theme-dark .wallet-modal-export-done-btn:hover {
2311
+ background: var(--abstraxn-primary-hover);
2312
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
2313
+ }
2314
+
2315
+ .wallet-modal-theme-light .wallet-modal-export-done-btn:hover {
2316
+ background: var(--abstraxn-primary-hover);
2317
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
2318
+ }
2319
+